| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
this is kind of shitty code, but once 2.0 and 1.9 are dropped and we
can use #scrub then all the shitty code can go away...
|
| |
|
| |
|
|
|
|
|
|
| |
we had a bug where we'd inject utf-8 characters that we'd mangle and
then replace with even more utf-8 characters so that any normal attrs
would grow without bounds with lots of utf-8 '?' characters.
|
|
|
|
|
|
|
|
|
| |
the string we get back from ffi is tagged as ascii encoded by default,
so we must force encode it first.
then we don't want to convert from binary to utf-8 since that will wind
up mangling all the utf-8 characters, we want to convert from utf-8
to utf-8 while replacing invalid characters.
|
| |
|
|\
| |
| | |
Remove ruby 1.9.2 support
|
| | |
|
|\ \
| |/
|/| |
Use github-changelog-generator to generate CHANGELOG.md file
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
fix uninitialized constant errors
|
|/
|
|
|
| |
c extension needs stringio and date required first in order to find
those constants.
|
| |
|
| |
|
|\
| |
| | |
Lcg/more cops
|
| |
| |
| |
| | |
it breaks 1.9 through 2.1 when rubocop fixes it.
|
| | |
|
| |
| |
| |
| | |
but 30 cops disabled, lol...
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
fix superclass mismatch on rbx in c ext
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Lcg/rubocop
|
| | |
|
| | |
|
|/
|
|
| |
and add a few more to be ignored
|
|\
| |
| | |
Fix require in readme
|
|/
|
| |
closes #63
|
|\
| |
| | |
Suppress method redefined warnings
|
| |
| |
| |
| |
| |
| |
| | |
% FORCE_FFI_YAJL=ffi ruby -w -I lib -e 'require "ffi_yajl"'
lib/ffi_yajl/parser.rb:33: warning: method redefined; discarding old stack
lib/ffi_yajl/parser.rb:40: warning: method redefined; discarding old key_stack
...
|
|\ \
| | |
| | | |
Fix uninitialized instance variable when using ext
|
|/ / |
|
|\ \
| | |
| | | |
Fix superclass mismatch for class StringIO
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
% ruby -I lib -r ffi_yajl/ffi -r stringio -e ''
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': superclass mismatch for class StringIO (TypeError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
|\ \
| | |
| | | |
Suppress assigned but unused variable warning
|
| |/
| |
| |
| |
| |
| | |
% FORCE_FFI_YAJL=ffi ruby -w -I lib -e 'require "ffi_yajl"'
...
lib/ffi_yajl/ffi/encoder.rb:56: warning: assigned but unused variable - length
|
|\ \
| |/
|/| |
Suppress circular require warnings
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
% FORCE_FFI_YAJL=ffi ruby -w -I lib -e 'require "ffi_yajl"'
...
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55: warning: loading in progress, circular require considered harmful - lib/ffi_yajl/ffi.rb
from -e:1:in `<main>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl.rb:40:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl/ffi.rb:144:in `<top (required)>'
from lib/ffi_yajl/ffi.rb:145:in `<module:FFI_Yajl>'
from lib/ffi_yajl/ffi.rb:146:in `<class:Parser>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl/ffi/parser.rb:23:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
lib/ffi_yajl/ffi/encoder.rb:56: warning: assigned but unused variable - length
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55: warning: loading in progress, circular require considered harmful - lib/ffi_yajl/ffi.rb
from -e:1:in `<main>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl.rb:40:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl/ffi.rb:144:in `<top (required)>'
from lib/ffi_yajl/ffi.rb:150:in `<module:FFI_Yajl>'
from lib/ffi_yajl/ffi.rb:151:in `<class:Encoder>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from lib/ffi_yajl/ffi/encoder.rb:23:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
...
|
|\
| |
| | |
fix parse error in travis.yml
|
|/
|
| |
Having one space before "branches:" causes `YAML.load` to throw a syntax parse error.
|
| |
|
| |
|