| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
change :validate_utf8=false to still emit utf8
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
validate_utf8=true raises on bad input
validate_utf8=false now does not raise, but still produces valid
UTF-8 clean JSON by replacing characters.
the previous behavior of emitting bad JSON that was not UTF-8 clean
when validate_utf8 was false is dropped (and this was behavior only
of the C extension and not the ffi extension since the ffi layer must
do some scrubbing of its own).
|
|\
| |
| | |
emit token that failed utf-8 validation
|
| | |
|
| |
| |
| |
| |
| | |
adding support for UTF-8 encoding issues and making it backcompat with
1.8.7 is too painful for words, goodbye...
|
|/
|
|
| |
plus code cleanup of the c-extension
|
| |
|
| |
|
| |
|
|\
| |
| | |
support encoding StringIOs
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
add :unique_key_checking flag to parser
|
| | |
|
|/
|
|
|
| |
can be used to error out if keys are duplicated in input rather than
silently replacing.
|
|\
| |
| | |
add copyright notices
|
|/ |
|
|\
| |
| | |
add DLopen extension
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
jruby can't load this
|
| |
| |
| |
| |
| | |
run through multiple different possible library names and extensions,
favoring the libyajl2 gem versions first.
|