summaryrefslogtreecommitdiff
path: root/ext/ffi_yajl/ext/encoder
Commit message (Collapse)AuthorAgeFilesLines
* fixes for latest chefstyle ruleslcg/chefstyle5Lamont Granquist2018-07-031-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Switch from reek/rubocop to chefstyleTim Smith2017-06-201-12/+12
| | | | | | Reek doesn't work with modern Rake Signed-off-by: Tim Smith <tsmith@chef.io>
* replace Fixnum+Bignum with Integer?Lamont Granquist2016-07-221-0/+4
| | | | i think that's all we have to do?
* fix other possible superclass mismatchesLamont Granquist2015-07-091-4/+7
|
* fix superclass mismatch on rbx in c extLamont Granquist2015-07-091-1/+3
|
* remaining autofixable copsLamont Granquist2015-07-091-1/+1
|
* fix lots of copsLamont Granquist2015-07-091-0/+1
| | | | and add a few more to be ignored
* emit token that failed utf-8 validationLamont Granquist2015-04-211-174/+166
| | | | plus code cleanup of the c-extension
* add c ext sidelcg/stringio-encodingLamont Granquist2015-04-171-15/+17
|
* allow arbitrary Objects as keysLamont Granquist2014-11-241-1/+1
| | | | i fixed Hashes/Arrays/true/false/nil, but forgot Object.
* support calling #to_s on all types for keysLamont Granquist2014-11-221-28/+100
| | | | | | compatibility with JSON gem and yajl-ruby closes #14
* Update extconf.rbJason Potkanski2014-10-141-1/+1
| | | Add cygwin detection
* Making necessary C changes to only call to_json if it is presenttyler-ball2014-10-071-7/+13
|
* fix ruby 1.8.7 testsLamont Granquist2014-08-231-1/+11
|
* add datetime encodingLamont Granquist2014-08-231-3/+26
| | | | | | | | necessary for ohai json_gem spec complies with JSON gem format. this also arguably fixes issues with yajl-ruby where it does not encode date objects correctly.
* extconf.rb: remove "-Wl,--no-undefined" from ldflagsLennart Brinkmann2014-08-231-0/+3
| | | | | | | | Remove ldflag "-Wl,--no-undefined" if existent to allow for loading libyajl with dlopen. This fixes building the native extensions on systems like gentoo which set the ldflag "-Wl,--no-undefined" by default.
* fix for chef pretty printing issuesLamont Granquist2014-08-071-2/+4
|
* Revert "fix for chef pretty printing issues"Lamont Granquist2014-08-071-4/+2
| | | | This reverts commit 5d260103d3f11897e7873fb3fa796966896ff946.
* fix for chef pretty printing issuesLamont Granquist2014-08-071-2/+4
|
* avoid find_library adding -lyajlLamont Granquist2014-07-061-9/+6
|
* build with system libs if libyajl2-gem missing libsLamont Granquist2014-07-061-0/+31
| | | | | | | libyajl2-gem with USE_SYSTEM_LIBYAJL2=1 is just missing the libs and includes in the path, so if we can't find libyajl2 after setting up the libyajl2-gem, then go hunting for libyajl2 in the system and/or use the --with-yajl-include/dir/lib options
* include windows libyajldll.a to buildLamont Granquist2014-05-201-6/+10
| | | | - also remove CFLAGS+LDFLAGS overrides they won't help our builds
* dynamically link against libyajl2-gem at runtimeLamont Granquist2014-05-071-1/+1
| | | | - avoids all the RPATH bullshit at link time
* pass LDFLAGS to LDFLAGS as intendedLamont Granquist2014-05-061-1/+1
|
* add require rubygems to make 1.8.7 happyLamont Granquist2014-05-061-0/+1
|
* use the libyajl2 gemLamont Granquist2014-05-051-5/+4
|
* conversion to signed int was throwing a rangerror0.0.4Lamont Granquist2014-01-131-1/+1
|
* one last native type to ruby conversionLamont Granquist2014-01-121-1/+1
| | | | fixes rbx
* wrap yajl_gen c struct for rbxLamont Granquist2014-01-121-33/+60
|
* remove c-structs as VALUEsLamont Granquist2014-01-121-26/+25
| | | | rbx doesn't like this.
* convert symbols to strings when encoding0.0.2Lamont Granquist2014-01-111-1/+13
|
* ruby 1.8.7 fixLamont Granquist2013-12-211-1/+1
|
* finally all green againLamont Granquist2013-12-211-16/+61
|
* fix encoding of fixnums and floats as keysLamont Granquist2013-12-161-2/+10
|
* remove Object#to_json from C extLamont Granquist2013-12-161-12/+0
|
* fix precision issue by using yajl_gen_numberLamont Granquist2013-12-131-2/+4
| | | | yajl_gen_double disagrees with ruby's Float#to_s in incompatible ways
* fix bool typesLamont Granquist2013-12-041-2/+2
|
* NaN and Inifity in Bignum and Fixnum as wellLamont Granquist2013-12-041-3/+13
|
* fix NAN and Infinity handling for C extensionLamont Granquist2013-12-041-1/+8
|
* c-ext Object#to_json passes tests nowLamont Granquist2013-12-041-5/+7
|
* remove MakefileLamont Granquist2013-11-231-238/+0
|
* removing rake-compilerLamont Granquist2013-11-231-4/+4
|
* rake compile almost working with vendored libyajlLamont Granquist2013-11-231-0/+9
|
* passing ext + ffi nowLamont Granquist2013-11-181-6/+36
|
* somewhat working ext codeLamont Granquist2013-11-182-6/+71
|
* working on native C extLamont Granquist2013-11-183-0/+341