From b4eeed15f86d1334fbbae1c0dc2f0b81593003fe Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Wed, 11 Jan 2017 14:49:29 +0100 Subject: [PATCH] Test newer rubies --- .gitignore | 1 + .travis.yml | 3 ++- Gemfile | 2 +- json.gemspec | Bin 4886 -> 5908 bytes json_pure.gemspec | 42 +++++++++++++++++++++--------------------- 5 files changed, 25 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 5ef62afbd..69b608db7 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ Gemfile.lock .DS_Store */**/Makefile */**/*.o +.byebug_history diff --git a/.travis.yml b/.travis.yml index 7dc5f281b..50ec92f0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ rvm: - 2.0.0 - 2.1 - 2.2 - - 2.3.1 + - 2.3.3 + - 2.4.0 - ree - ruby-head matrix: diff --git a/Gemfile b/Gemfile index 71fac4735..8e394dba7 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,4 @@ source 'https://rubygems.org' gemspec :name => 'json' gemspec :name => 'json_pure' -gemspec :name => 'json-java' +#gemspec :name => 'json-java' diff --git a/json.gemspec b/json.gemspec index 03427c4904d1c1ab9626e49c494ad2610e3d6fe6..59d31eb3a72d675c7f17876c75eadeba82294c09 100644 GIT binary patch literal 5908 zcmeHLUvJws5Z`k?1>s_7Gt_kK^-mTo-MS{tGOWoEXMGt0ftDzni6p8d<=R29&%QfK zvL)G)nD+%qobZ0UJKi1dj`xfVe;5*;_%aa5{DfpC93JD^!84*wHaj8rS|(&nkLhco zve}wMVz#02l^G#@gn!I=!WA=8;eWnNLaJup)etFDnzxdREe8h|JU%&@rrZ~y@R<=Z zp$Y#=0!hB&4*RDLE=R9}*FQP{nmBlfX0b7jn|d@w6(?OPN_{(B_{3n62b@XCW*z z3#oGA$4Dx{67o^8DC-XdOK5?Lue*-;De*y}lwM zP9u(|vF0NT2{-6H@CQ$*m05)10> zkUbUz!UkUtuD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qVfto+?(DuTN)!>34Wj0)*FZwjjrGRg<7Po-&Eu_-i834?<5{7Ql1Yh6& z_U7j5a)yr(+h{+0EbKZ$yNw?3GoUHckCFN$w_LP3LfIp)mfhW6+#>D6<#cv^dxMV< zrVPGqhH*#Tr&ke$jQE-^ZJ~$5Wm;KfHyI+`V!;-grDjYYInR*Nh@g0$$1&uF@;_bf zA+~`S@r+BSaAS)t0LWFqwdHI<^%D&}vbLywjmoI+QRm5TVq7AMe;ryh`MvVX_1eY2 zu0?iiAf&M@Ny;dDU@JB@I^5>&UpJQjA&k9)tYk3WG(`{^W*>Z2CHk+yyyuYnBJ(xS z8P_WjLclyNc?L<(2fTGj(@Z(@ALUP1kvtMhKw;c{Qxxo{6`$tPij-f=Sb2oaTu!*) zPdT8#U1HJpI_fVgk{!#t3;?#JSO}rKI`3jSZM_E>WWZe_R5BMTW%yLDV@S8-xmZL{ zsZ&-3SA!cWOcv{|g&`!dE;<&&K6-#g>|*kD$eqi(m)Qeh}`9&JCfFfvVem zD9smqopnj-7i2c+Ty>hL>qua>v@UbC!tiakh2rO4C)66~l2*F})m-P@qTDoS+Xk*J z1y_{Ws?93fsghjO>8gf~V`w>!>PpeYJoIw?YbV~d-+Q^QyxdbS_eUSstJK7M+==(N z6aUWM<4(NCog8})^n;h{HI-K>uTEZ-PJ9}9)%9xI>(`7K)9V|@>{Zusd-ZkPUWJj{ z>vYHTZrnD$;Wp2L6~pPH$|K!VPu*r$*`Sdk5ae3xY9MqF{D@BI;qwDh3qn!Q zlLZl9@kC{KHvrE#EWtOrdGYPXpEOK(uV2FDguCXrKXBroUWVZ?0y|i@_Mg`T1P{yA kJTbhr&3}-%3-wBo5eTVeRp;DY-g&kzV80x&)Bu0~1*%|(xBvhE diff --git a/json_pure.gemspec b/json_pure.gemspec index 0dd12d5f3..46a062587 100644 --- a/json_pure.gemspec +++ b/json_pure.gemspec @@ -2,36 +2,36 @@ # stub: json_pure 1.8.5 ruby lib Gem::Specification.new do |s| - s.name = "json_pure" + s.name = "json_pure".freeze s.version = "1.8.5" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.require_paths = ["lib"] - s.authors = ["Florian Frank"] - s.date = "2016-06-21" - s.description = "This is a JSON implementation in pure Ruby." - s.email = "flori@ping.de" - s.extra_rdoc_files = ["README.md"] - s.files = ["./tests/test_json.rb", "./tests/test_json_addition.rb", "./tests/test_json_encoding.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_generate.rb", "./tests/test_json_generic_object.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_unicode.rb", ".gitignore", ".travis.yml", "CHANGES", "Gemfile", "README-json-jruby.markdown", "README.md", "Rakefile", "TODO", "VERSION", "data/example.json", "data/index.html", "data/prototype.js", "diagrams/.keep", "ext/json/ext/fbuffer/fbuffer.h", "ext/json/ext/generator/depend", "ext/json/ext/generator/extconf.rb", "ext/json/ext/generator/generator.c", "ext/json/ext/generator/generator.h", "ext/json/ext/parser/depend", "ext/json/ext/parser/extconf.rb", "ext/json/ext/parser/parser.c", "ext/json/ext/parser/parser.h", "ext/json/ext/parser/parser.rl", "ext/json/extconf.rb", "install.rb", "java/src/json/ext/ByteListTranscoder.java", "java/src/json/ext/Generator.java", "java/src/json/ext/GeneratorMethods.java", "java/src/json/ext/GeneratorService.java", "java/src/json/ext/GeneratorState.java", "java/src/json/ext/OptionsReader.java", "java/src/json/ext/Parser.java", "java/src/json/ext/Parser.rl", "java/src/json/ext/ParserService.java", "java/src/json/ext/RuntimeInfo.java", "java/src/json/ext/StringDecoder.java", "java/src/json/ext/StringEncoder.java", "java/src/json/ext/Utils.java", "json-java.gemspec", "json.gemspec", "json_pure.gemspec", "lib/json.rb", "lib/json/add/bigdecimal.rb", "lib/json/add/complex.rb", "lib/json/add/core.rb", "lib/json/add/date.rb", "lib/json/add/date_time.rb", "lib/json/add/exception.rb", "lib/json/add/ostruct.rb", "lib/json/add/range.rb", "lib/json/add/rational.rb", "lib/json/add/regexp.rb", "lib/json/add/struct.rb", "lib/json/add/symbol.rb", "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", "lib/json/ext/.keep", "lib/json/generic_object.rb", "lib/json/pure.rb", "lib/json/pure/generator.rb", "lib/json/pure/parser.rb", "lib/json/version.rb", "tests/fixtures/fail1.json", "tests/fixtures/fail10.json", "tests/fixtures/fail11.json", "tests/fixtures/fail12.json", "tests/fixtures/fail13.json", "tests/fixtures/fail14.json", "tests/fixtures/fail18.json", "tests/fixtures/fail19.json", "tests/fixtures/fail2.json", "tests/fixtures/fail20.json", "tests/fixtures/fail21.json", "tests/fixtures/fail22.json", "tests/fixtures/fail23.json", "tests/fixtures/fail24.json", "tests/fixtures/fail25.json", "tests/fixtures/fail27.json", "tests/fixtures/fail28.json", "tests/fixtures/fail3.json", "tests/fixtures/fail4.json", "tests/fixtures/fail5.json", "tests/fixtures/fail6.json", "tests/fixtures/fail7.json", "tests/fixtures/fail8.json", "tests/fixtures/fail9.json", "tests/fixtures/pass1.json", "tests/fixtures/pass15.json", "tests/fixtures/pass16.json", "tests/fixtures/pass17.json", "tests/fixtures/pass2.json", "tests/fixtures/pass26.json", "tests/fixtures/pass3.json", "tests/setup_variant.rb", "tests/test_json.rb", "tests/test_json_addition.rb", "tests/test_json_encoding.rb", "tests/test_json_fixtures.rb", "tests/test_json_generate.rb", "tests/test_json_generic_object.rb", "tests/test_json_string_matching.rb", "tests/test_json_unicode.rb", "tools/diff.sh", "tools/fuzz.rb", "tools/server.rb"] - s.homepage = "http://flori.github.com/json" - s.licenses = ["Ruby"] - s.rdoc_options = ["--title", "JSON implemention for ruby", "--main", "README.md"] - s.rubygems_version = "2.5.1" - s.summary = "JSON Implementation for Ruby" - s.test_files = ["./tests/test_json.rb", "./tests/test_json_addition.rb", "./tests/test_json_encoding.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_generate.rb", "./tests/test_json_generic_object.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_unicode.rb"] + s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= + s.require_paths = ["lib".freeze] + s.authors = ["Florian Frank".freeze] + s.date = "2017-01-11" + s.description = "This is a JSON implementation in pure Ruby.".freeze + s.email = "flori@ping.de".freeze + s.extra_rdoc_files = ["README.md".freeze] + s.files = ["./tests/test_json.rb".freeze, "./tests/test_json_addition.rb".freeze, "./tests/test_json_encoding.rb".freeze, "./tests/test_json_fixtures.rb".freeze, "./tests/test_json_generate.rb".freeze, "./tests/test_json_generic_object.rb".freeze, "./tests/test_json_string_matching.rb".freeze, "./tests/test_json_unicode.rb".freeze, ".gitignore".freeze, ".travis.yml".freeze, "CHANGES".freeze, "Gemfile".freeze, "README-json-jruby.markdown".freeze, "README.md".freeze, "Rakefile".freeze, "TODO".freeze, "VERSION".freeze, "data/example.json".freeze, "data/index.html".freeze, "data/prototype.js".freeze, "diagrams/.keep".freeze, "ext/json/ext/fbuffer/fbuffer.h".freeze, "ext/json/ext/generator/depend".freeze, "ext/json/ext/generator/extconf.rb".freeze, "ext/json/ext/generator/generator.c".freeze, "ext/json/ext/generator/generator.h".freeze, "ext/json/ext/parser/depend".freeze, "ext/json/ext/parser/extconf.rb".freeze, "ext/json/ext/parser/parser.c".freeze, "ext/json/ext/parser/parser.h".freeze, "ext/json/ext/parser/parser.rl".freeze, "ext/json/extconf.rb".freeze, "install.rb".freeze, "java/src/json/ext/ByteListTranscoder.java".freeze, "java/src/json/ext/Generator.java".freeze, "java/src/json/ext/GeneratorMethods.java".freeze, "java/src/json/ext/GeneratorService.java".freeze, "java/src/json/ext/GeneratorState.java".freeze, "java/src/json/ext/OptionsReader.java".freeze, "java/src/json/ext/Parser.java".freeze, "java/src/json/ext/Parser.rl".freeze, "java/src/json/ext/ParserService.java".freeze, "java/src/json/ext/RuntimeInfo.java".freeze, "java/src/json/ext/StringDecoder.java".freeze, "java/src/json/ext/StringEncoder.java".freeze, "java/src/json/ext/Utils.java".freeze, "json-java.gemspec".freeze, "json.gemspec".freeze, "json_pure.gemspec".freeze, "lib/json.rb".freeze, "lib/json/add/bigdecimal.rb".freeze, "lib/json/add/complex.rb".freeze, "lib/json/add/core.rb".freeze, "lib/json/add/date.rb".freeze, "lib/json/add/date_time.rb".freeze, "lib/json/add/exception.rb".freeze, "lib/json/add/ostruct.rb".freeze, "lib/json/add/range.rb".freeze, "lib/json/add/rational.rb".freeze, "lib/json/add/regexp.rb".freeze, "lib/json/add/struct.rb".freeze, "lib/json/add/symbol.rb".freeze, "lib/json/add/time.rb".freeze, "lib/json/common.rb".freeze, "lib/json/ext.rb".freeze, "lib/json/ext/.keep".freeze, "lib/json/generic_object.rb".freeze, "lib/json/pure.rb".freeze, "lib/json/pure/generator.rb".freeze, "lib/json/pure/parser.rb".freeze, "lib/json/version.rb".freeze, "tests/fixtures/fail1.json".freeze, "tests/fixtures/fail10.json".freeze, "tests/fixtures/fail11.json".freeze, "tests/fixtures/fail12.json".freeze, "tests/fixtures/fail13.json".freeze, "tests/fixtures/fail14.json".freeze, "tests/fixtures/fail18.json".freeze, "tests/fixtures/fail19.json".freeze, "tests/fixtures/fail2.json".freeze, "tests/fixtures/fail20.json".freeze, "tests/fixtures/fail21.json".freeze, "tests/fixtures/fail22.json".freeze, "tests/fixtures/fail23.json".freeze, "tests/fixtures/fail24.json".freeze, "tests/fixtures/fail25.json".freeze, "tests/fixtures/fail27.json".freeze, "tests/fixtures/fail28.json".freeze, "tests/fixtures/fail3.json".freeze, "tests/fixtures/fail4.json".freeze, "tests/fixtures/fail5.json".freeze, "tests/fixtures/fail6.json".freeze, "tests/fixtures/fail7.json".freeze, "tests/fixtures/fail8.json".freeze, "tests/fixtures/fail9.json".freeze, "tests/fixtures/pass1.json".freeze, "tests/fixtures/pass15.json".freeze, "tests/fixtures/pass16.json".freeze, "tests/fixtures/pass17.json".freeze, "tests/fixtures/pass2.json".freeze, "tests/fixtures/pass26.json".freeze, "tests/fixtures/pass3.json".freeze, "tests/setup_variant.rb".freeze, "tests/test_json.rb".freeze, "tests/test_json_addition.rb".freeze, "tests/test_json_encoding.rb".freeze, "tests/test_json_fixtures.rb".freeze, "tests/test_json_generate.rb".freeze, "tests/test_json_generic_object.rb".freeze, "tests/test_json_string_matching.rb".freeze, "tests/test_json_unicode.rb".freeze, "tools/diff.sh".freeze, "tools/fuzz.rb".freeze, "tools/server.rb".freeze] + s.homepage = "http://flori.github.com/json".freeze + s.licenses = ["Ruby".freeze] + s.rdoc_options = ["--title".freeze, "JSON implemention for ruby".freeze, "--main".freeze, "README.md".freeze] + s.rubygems_version = "2.6.8".freeze + s.summary = "JSON Implementation for Ruby".freeze + s.test_files = ["./tests/test_json.rb".freeze, "./tests/test_json_addition.rb".freeze, "./tests/test_json_encoding.rb".freeze, "./tests/test_json_fixtures.rb".freeze, "./tests/test_json_generate.rb".freeze, "./tests/test_json_generic_object.rb".freeze, "./tests/test_json_string_matching.rb".freeze, "./tests/test_json_unicode.rb".freeze] if s.respond_to? :specification_version then s.specification_version = 4 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, ["~> 2.0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, ["~> 2.0"]) else - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, ["~> 2.0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, ["~> 2.0"]) end else - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, ["~> 2.0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, ["~> 2.0"]) end end