Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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 |
|/ / / | |||||
* | | | Merge pull request #349 from zverok/nodoc | SHIBATA Hiroshi | 2019-12-29 | 1 | -0/+70 |
|\ \ \ | | | | | | | | | Add :nodoc: for GeneratorMethods | ||||
| * | | | Add :nodoc: for GeneratorMethods | zverok | 2018-03-08 | 1 | -0/+70 |
| | | | | |||||
* | | | | Merge pull request #398 from flori/update-gemspec | SHIBATA Hiroshi | 2019-12-29 | 3 | -40/+4 |
|\ \ \ \ | | | | | | | | | | | Update gemspec | ||||
| * | | | | Added instruction to Relase section | Hiroshi SHIBATA | 2019-12-29 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Removed gemspec_ext from gemspec task because it always add control char to ↵ | Hiroshi SHIBATA | 2019-12-29 | 2 | -41/+2 |
| | | | | | | | | | | | | | | | | | | | | gemspec. | ||||
| * | | | | Gem::Specification#date is set automatically by RubyGems.org. | Hiroshi SHIBATA | 2019-12-29 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Restore json.gemspec from 619a85865db3714b989cbc8bc097af631cad9a9f | Hiroshi SHIBATA | 2019-12-29 | 1 | -0/+0 |
|/ / / / | |||||
* | | | | Merge pull request #384 from jeremyevans/json-generate-doc-fix | SHIBATA Hiroshi | 2019-12-29 | 1 | -8/+0 |
|\ \ \ \ | | | | | | | | | | | Remove invalid JSON.generate description from JSON module rdoc | ||||
| * | | | | Remove invalid JSON.generate description from JSON module rdoc | Jeremy Evans | 2019-08-25 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This text used to be true in older versions of json, but has not been true for a number of years (since json version 2 I think). | ||||
* | | | | | Merge pull request #396 from flori/update-requirement | SHIBATA Hiroshi | 2019-12-23 | 2 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | keyword argument is provided after Ruby 2.0+ | ||||
| * | | | | | keyword argument is provided after Ruby 2.0+ | Hiroshi SHIBATA | 2019-12-23 | 2 | -1/+1 |
| | | | | | | |||||
* | | | | | | Add procedure of releasing a gem | NARUSE, Yui | 2019-12-22 | 1 | -0/+13 |
|/ / / / / | |||||
* | | | | | v2.3.0v2.3.0 | NARUSE, Yui | 2019-12-12 | 2 | -2/+2 |
| | | | | | |||||
* | | | | | Add some more recent jruby | Florian Frank | 2019-12-10 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Make tests green on jruby | Florian Frank | 2019-12-10 | 3 | -1/+2 |
| | | | | | |||||
* | | | | | Update travis config | Florian Frank | 2019-12-10 | 1 | -3/+1 |
| | | | | | |||||
* | | | | | Ignore log files | Florian Frank | 2019-12-10 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Merge pull request #391 from headius/prep_2.3.0 | Florian Frank | 2019-12-10 | 4 | -10/+13 |
|\ \ \ \ \ | | | | | | | | | | | | | Bump versions for 2.3.0. | ||||
| * | | | | | Bump versions for 2.3.0. | Charles Oliver Nutter | 2019-12-09 | 4 | -10/+13 |
|/ / / / / |