[前][次][番号順一覧][スレッド一覧]

ruby-changes:63115

From: Karol <ko1@a...>
Date: Fri, 25 Sep 2020 17:29:08 +0900 (JST)
Subject: [ruby-changes:63115] f8d43e5370 (master): unify json-java gemspec with the baseline

https://git.ruby-lang.org/ruby.git/commit/?id=f8d43e5370

From f8d43e53708206605130f60b52d1dadbc9502297 Mon Sep 17 00:00:00 2001
From: Karol Bucek <self@k...>
Date: Mon, 6 Jul 2020 13:32:09 +0200
Subject: unify json-java gemspec with the baseline


diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec
index cfa3c03..1be4292 100644
--- a/ext/json/json.gemspec
+++ b/ext/json/json.gemspec
@@ -4,13 +4,15 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/json/json.gemspec#L4
   s.name = "json"
   s.version = "2.3.1"
 
-  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
-  s.require_paths = ["lib"]
-  s.authors = ["Florian Frank"]
+  s.summary = "JSON Implementation for Ruby"
   s.description = "This is a JSON implementation as a Ruby extension in C."
+  s.licenses = ["Ruby"]
+  s.authors = ["Florian Frank"]
   s.email = "flori@p..."
+
   s.extensions = ["ext/json/ext/generator/extconf.rb", "ext/json/ext/parser/extconf.rb", "ext/json/extconf.rb"]
   s.extra_rdoc_files = ["README.md"]
+  s.rdoc_options = ["--title", "JSON implemention for Ruby", "--main", "README.md"]
   s.files = [
     ".gitignore",
     ".travis.yml",
@@ -128,10 +130,8 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/json/json.gemspec#L130
     'source_code_uri'   => 'https://github.com/flori/json',
     'wiki_uri'          => 'https://github.com/flori/json/wiki'
   }
-  s.licenses = ["Ruby"]
-  s.rdoc_options = ["--title", "JSON implemention for Ruby", "--main", "README.md"]
+
   s.required_ruby_version = Gem::Requirement.new(">= 2.0")
-  s.summary = "JSON Implementation for Ruby"
   s.test_files = ["tests/test_helper.rb"]
 
   s.add_development_dependency("rake", [">= 0"])
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]