Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump version to 2.3.1v2.3.1 | Hiroshi SHIBATA | 2020-07-01 | 3 | -2/+24 |
| | |||||
* | Merge pull request #387 from keithrbennett/add-load-file-methods | Hiroshi SHIBATA | 2020-07-01 | 2 | -0/+66 |
|\ | | | | | Add `load_file` and `load_file!` methods, with tests. Fixes issue #386. | ||||
| * | Add `load_file` and `load_file!` methods, with tests. Fixes issue #386. | Keith Bennett | 2020-06-30 | 2 | -0/+66 |
|/ | |||||
* | Merge pull request #429 from flori/remove-generate-task-for-gemspec | Hiroshi SHIBATA | 2020-06-30 | 2 | -49/+2 |
|\ | | | | | Remove generate task for gemspec | ||||
| * | Removed gemspec task from default task on Rakefileremove-generate-task-for-gemspec | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+1 |
| | | |||||
| * | Use VERSION file instead of hard-coded value | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+1 |
| | | |||||
| * | Removed explicitly date field in gemspec, it will assign by rubygems.org | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+0 |
| | | |||||
| * | Removed task for json_pure.gemspec | Hiroshi SHIBATA | 2020-06-30 | 2 | -46/+0 |
| | | |||||
* | | Merge pull request #426 from marcandre/indent | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+1 |
|\ \ | | | | | | | Trivial whitespace fix | ||||
| * | | Fix alignment | Marc-Andre Lafortune | 2020-06-30 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #428 from marcandre/change_fix | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+4 |
|\ \ \ | | | | | | | | | Make changes more precise [#424] | ||||
| * | | | Make changes more precise [#424] | Marc-Andre Lafortune | 2020-06-30 | 1 | -1/+4 |
|/ / / | |||||
* | | | Merge pull request #424 from marcandre/update_changes | Hiroshi SHIBATA | 2020-06-30 | 1 | -0/+8 |
|\ \ \ | |/ / |/| | | Update Changes for 2.3.0 [Fixes #397] | ||||
| * | | Update Changes for 2.3.0 [Fixes #397] | Marc-Andre Lafortune | 2020-06-30 | 1 | -0/+8 |
| | | | |||||
* | | | Merge pull request #423 from marcandre/typo | Hiroshi SHIBATA | 2020-06-30 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Small typo fix | ||||
| * | | Typo fix | Marc-Andre Lafortune | 2020-06-30 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #422 from BurdetteLamar/master | Hiroshi SHIBATA | 2020-06-29 | 1 | -0/+12 |
|\ \ | | | | | | | Added :call-seq: to RDoc for some methods | ||||
| * | | Added :call-seq: to RDOc for some methods | BurdetteLamar | 2020-06-28 | 1 | -0/+12 |
|/ / | |||||
* | | Merge pull request #413 from BurdetteLamar/master | Hiroshi SHIBATA | 2020-06-28 | 2 | -154/+691 |
|\ \ | |/ |/| | Rdoc enhancements | ||||
| * | RDoc enhancements | BurdetteLamar | 2020-06-25 | 1 | -17/+1 |
| | | |||||
| * | RDoc enhancements | BurdetteLamar | 2020-06-25 | 2 | -22/+22 |
| | | |||||
| * | RDoc enhancements | BurdetteLamar | 2020-06-25 | 2 | -28/+3 |
| | | |||||
| * | Rdoc enhancements | BurdetteLamar | 2020-05-06 | 2 | -154/+732 |
| | | |||||
* | | Merge pull request #420 from marcandre/performance_345 | Hiroshi SHIBATA | 2020-06-26 | 2 | -67/+69 |
|\ \ | | | | | | | Use frozen string for hash key | ||||
| * | | Use frozen string for hash key | Watson | 2020-06-25 | 2 | -67/+69 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When use non-frozen string for hash key with `rb_hash_aset()`, it will duplicate and freeze it internally. To avoid duplicate and freeze, this patch will give a frozen string in `rb_hash_aset()`. ``` Warming up -------------------------------------- json 14.000 i/100ms Calculating ------------------------------------- json 148.844 (± 1.3%) i/s - 756.000 in 5.079969s ``` ``` Warming up -------------------------------------- json 16.000 i/100ms Calculating ------------------------------------- json 165.608 (± 1.8%) i/s - 832.000 in 5.025367s ``` ``` require 'json' require 'securerandom' require 'benchmark/ips' obj = [] 1000.times do |i| obj << { "id": i, "uuid": SecureRandom.uuid, "created_at": Time.now } end json = obj.to_json Benchmark.ips do |x| x.report "json" do |iter| count = 0 while count < iter JSON.parse(json) count += 1 end end end ``` | ||||
* | | | Merge pull request #418 from nobu/sync-ruby | Hiroshi SHIBATA | 2020-06-25 | 3 | -4/+5 |
|\ \ \ | | | | | | | | | Sync ruby | ||||
| * | | | Removed nonsense `rubygems_version` in input gemspec files | Nobuyoshi Nakada | 2020-06-25 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it is ignored and set at building packages automatically, it is just nonsense to set in gemspec file for input. ruby/ruby@9a78e24f7d269c9688a0fa50c82751b5ec8d512a | ||||
| * | | | ext/json/parser/prereq.mk: remove type-limit warning if char is unsigned | Yusuke Endoh | 2020-06-25 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ragel generates a code `0 <= (*p)` where `*p` is char. As char is unsigned by default on arm and RISC-V, it is warned by gcc: ``` compiling parser.c parser.c: In function ‘JSON_parse_string’: parser.c:1566:2: warning: comparison is always true due to limited range of data type [-Wtype-limits] if ( 0 <= (*p) && (*p) <= 31 ) ^ parser.c:1596:2: warning: comparison is always true due to limited range of data type [-Wtype-limits] if ( 0 <= (*p) && (*p) <= 31 ) ^ ``` This change removes the warning by substituting the condition with `0 <= (signed char)(*p)`. ruby/ruby@8bd27c547c3260ce72dc5edbab248bb858c84cf2 | ||||
| * | | | ext/json/parser/prereq.mk: Add a "automatically generated" header | Yusuke Endoh | 2020-06-25 | 2 | -1/+2 |
|/ / / | | | | | | | | | | | | | | | | | | | to parser.c. ruby/ruby@5717e55e9a7790c938afa694a9bf558c0e54bb83 ruby/ruby@70e3fda2eb45c841e5fb4574273d20f8df5455e5 | ||||
* | | | Merge pull request #415 from marcandre/cleanup | Hiroshi SHIBATA | 2020-06-25 | 4 | -19/+20 |
|\ \ \ | | | | | | | | | Cleanup gemspec | ||||
| * | | | Fix rake task description | Marc-Andre Lafortune | 2020-06-25 | 1 | -1/+1 |
| | | | | |||||
| * | | | Accept test-unit v3.x too | Marc-Andre Lafortune | 2020-06-25 | 4 | -7/+7 |
| | | | | |||||
| * | | | Update gemspec. | Marc-Andre Lafortune | 2020-06-25 | 1 | -11/+9 |
| | | | | | | | | | | | | | | | | This fixes required_ruby_version | ||||
| * | | | Add comment that gemspec is generated automatically | Marc-Andre Lafortune | 2020-06-25 | 1 | -1/+4 |
| |/ / | |||||
* | | | Merge pull request #416 from marcandre/red_green_please | Hiroshi SHIBATA | 2020-06-25 | 1 | -1/+6 |
|\ \ \ | | | | | | | | | fixtures/ are not being tested... | ||||
| * | | | Fix test that wasn't testing anything | Marc-Andre Lafortune | 2020-06-25 | 1 | -1/+6 |
| |/ / | |||||
* | | | Merge pull request #371 from kares/jruby-baseline | Hiroshi SHIBATA | 2020-06-25 | 1 | -6/+5 |
|\ \ \ | |/ / |/| | | baseline changes to help (JRuby) development | ||||
| * | | [build] make test_xxx work standalone + avoid bundle exec | kares | 2019-01-12 | 1 | -6/+5 |
| | | | |||||
| * | | [build] let's build with Java 1.6 | kares | 2019-01-12 | 1 | -1/+1 |
| | | | | | | | | | | | | JRuby 1.7 was Java6+ compatible (9.2 is Java8+) | ||||
| * | | [build] no need to clean on rake test_pure (similar to test_ext) | kares | 2019-01-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #191 from jkanywhere/spell-fixes | Hiroshi SHIBATA | 2020-06-25 | 2 | -2/+2 |
|\ \ \ | |_|/ |/| | | Spelling and grammar fixes for comments. | ||||
| * | | Spelling and grammar fixes for comments. | Josh Kline | 2013-12-28 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #402 from eregon/patch-1 | Hiroshi SHIBATA | 2020-03-19 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Test with TruffleRuby in CI | ||||
| * | | | Add truffleruby in allow_failures as requested | Benoit Daloze | 2020-03-19 | 1 | -0/+1 |
| | | | | |||||
| * | | | Test with TruffleRuby in CI | Benoit Daloze | 2020-01-16 | 1 | -0/+1 |
|/ / / | |||||
* | | | Merge pull request #347 from zverok/enhance-docs | SHIBATA Hiroshi | 2020-01-06 | 2 | -18/+61 |
|\ \ \ | | | | | | | | | Enhance generic JSON and #generate docs | ||||
| * | | | Fix examples syntax | zverok | 2019-12-29 | 1 | -2/+2 |
| | | | | |||||
| * | | | Enchance generic JSON and #generate docs | zverok | 2019-12-29 | 2 | -18/+61 |
| | | | | |||||
* | | | | Merge pull request #379 from noraj/patch-1 | SHIBATA Hiroshi | 2020-01-06 | 1 | -0/+8 |
|\ \ \ \ | |/ / / |/| | | | add metadata for rubygems.org | ||||
| * | | | add metadata | noraj | 2020-01-03 | 1 | -0/+8 |
|/ / / |