From 856edb80ce8a1ca3671b8d76100f189f2baafc53 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Mon, 4 Feb 2013 12:52:48 +0100 Subject: [PATCH] add license information to gemspecs This way we can get it when using rubygems.org api --- json-java.gemspec | 1 + json.gemspec | 1 + json_pure.gemspec | 1 + 3 files changed, 3 insertions(+) diff --git a/json-java.gemspec b/json-java.gemspec index 422efecf..79d8e3ad 100644 --- a/json-java.gemspec +++ b/json-java.gemspec @@ -11,6 +11,7 @@ spec = Gem::Specification.new do |s| s.homepage = "http://json-jruby.rubyforge.org/" s.platform = 'java' s.rubyforge_project = "json-jruby" + s.license = "Ruby" s.files = Dir["{docs,lib,tests}/**/*"] end diff --git a/json.gemspec b/json.gemspec index c5795f24..a4a6b4e9 100644 --- a/json.gemspec +++ b/json.gemspec @@ -18,6 +18,7 @@ Gem::Specification.new do |s| s.rubyforge_project = "json" s.rubygems_version = "1.8.24" s.summary = "JSON Implementation for Ruby" + s.license = "Ruby" s.test_files = ["./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json_generic_object.rb", "./tests/test_json.rb"] if s.respond_to? :specification_version then diff --git a/json_pure.gemspec b/json_pure.gemspec index 61ba7ce6..9a5008ef 100644 --- a/json_pure.gemspec +++ b/json_pure.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |s| s.rubyforge_project = "json" s.rubygems_version = "1.8.24" s.summary = "JSON Implementation for Ruby" + s.license = "Ruby" s.test_files = ["./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json_generic_object.rb", "./tests/test_json.rb"] if s.respond_to? :specification_version then