diff options
-rw-r--r-- | json_pure.gemspec | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/json_pure.gemspec b/json_pure.gemspec index 08413d6..57f8663 100644 --- a/json_pure.gemspec +++ b/json_pure.gemspec @@ -1,5 +1,6 @@ # -*- encoding: utf-8 -*- -# stub: json_pure 2.3.0 ruby lib +# This gemspec is generated automatically using `rake gemspec`. +# Do not modify directly. Gem::Specification.new do |s| s.name = "json_pure".freeze @@ -8,7 +9,7 @@ Gem::Specification.new do |s| 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 = "2019-12-11" + s.date = "2020-06-25" s.description = "This is a JSON implementation in pure Ruby.".freeze s.email = "flori@ping.de".freeze s.extra_rdoc_files = ["README.md".freeze] @@ -16,21 +17,18 @@ Gem::Specification.new do |s| 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.required_ruby_version = Gem::Requirement.new(">= 1.9".freeze) - s.rubygems_version = "3.0.3".freeze + s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze) + s.rubygems_version = "3.1.2".freeze s.summary = "JSON Implementation for Ruby".freeze s.test_files = ["./tests/test_helper.rb".freeze] if s.respond_to? :specification_version then s.specification_version = 4 + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<rake>.freeze, [">= 0"]) - s.add_development_dependency(%q<test-unit>.freeze, ["~> 2.0"]) - else - s.add_dependency(%q<rake>.freeze, [">= 0"]) - s.add_dependency(%q<test-unit>.freeze, ["~> 2.0"]) - end + if s.respond_to? :add_runtime_dependency then + s.add_development_dependency(%q<rake>.freeze, [">= 0"]) + s.add_development_dependency(%q<test-unit>.freeze, ["~> 2.0"]) else s.add_dependency(%q<rake>.freeze, [">= 0"]) s.add_dependency(%q<test-unit>.freeze, ["~> 2.0"]) |