json_pure.gemspec in json_pure-2.7.6 vs json_pure.gemspec in json_pure-2.8.0

- old
+ new

@@ -1,58 +1,41 @@ +# frozen_string_literal: true + version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line| /^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1 end rescue nil Gem::Specification.new do |s| - s.name = "json_pure".freeze + s.name = "json_pure" s.version = version - s.summary = "JSON Implementation for Ruby".freeze - s.description = "This is a JSON implementation in pure Ruby.".freeze - s.licenses = ["Ruby".freeze] - s.authors = ["Florian Frank".freeze] - s.email = "flori@ping.de".freeze + s.summary = "JSON Implementation for Ruby" + s.description = "This is a JSON implementation in pure Ruby." + s.licenses = ["Ruby"] + s.authors = ["Florian Frank"] + s.email = "flori@ping.de" - s.extra_rdoc_files = ["README.md".freeze] - s.rdoc_options = ["--title".freeze, "JSON implementation for ruby".freeze, "--main".freeze, "README.md".freeze] + s.extra_rdoc_files = ["README.md"] + s.rdoc_options = ["--title", "JSON implementation for ruby", "--main", "README.md"] s.files = [ - "CHANGES.md".freeze, - "COPYING".freeze, - "BSDL".freeze, - "LEGAL".freeze, - "README.md".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/set.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/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, + "CHANGES.md", + "COPYING", + "BSDL", + "LEGAL", + "README.md", + "json_pure.gemspec", + "lib/json/pure.rb", ] - s.homepage = "https://ruby.github.io/json".freeze + s.homepage = "https://ruby.github.io/json" s.metadata = { 'bug_tracker_uri' => 'https://github.com/ruby/json/issues', 'changelog_uri' => 'https://github.com/ruby/json/blob/master/CHANGES.md', 'documentation_uri' => 'https://ruby.github.io/json/doc/index.html', 'homepage_uri' => s.homepage, 'source_code_uri' => 'https://github.com/ruby/json', 'wiki_uri' => 'https://github.com/ruby/json/wiki' } - s.required_ruby_version = Gem::Requirement.new(">= 2.3".freeze) + s.add_dependency "json" + + s.required_ruby_version = Gem::Requirement.new(">= 2.7") end