Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup gemspec #473

Merged
merged 2 commits into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ when 'ext', nil
when 'pure'
gemspec :name => 'json_pure'
end

gem "rake"
gem "test-unit"
6 changes: 1 addition & 5 deletions json-java.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec = Gem::Specification.new do |s|

s.platform = 'java'

s.files = Dir["{docs,lib,tests}/**/*", "LICENSE"]
s.files = Dir["lib/**/*", "LICENSE"]

s.homepage = "http://flori.github.com/json"
s.metadata = {
Expand All @@ -25,10 +25,6 @@ spec = Gem::Specification.new do |s|
}

s.required_ruby_version = Gem::Requirement.new(">= 2.3")
s.test_files = ["tests/test_helper.rb"]

s.add_development_dependency "rake"
s.add_development_dependency "test-unit"
end

if $0 == __FILE__
Expand Down
8 changes: 1 addition & 7 deletions json.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--title", "JSON implementation for Ruby", "--main", "README.md"]
s.files = [
"CHANGES.md",
"Gemfile",
"LICENSE",
"README.md",
"VERSION",
Expand Down Expand Up @@ -48,13 +47,12 @@ Gem::Specification.new do |s|
"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",
] + Dir["tests/**/*"]
]
s.homepage = "http://flori.github.com/json"
s.metadata = {
'bug_tracker_uri' => 'https://github.com/flori/json/issues',
Expand All @@ -66,8 +64,4 @@ Gem::Specification.new do |s|
}

s.required_ruby_version = Gem::Requirement.new(">= 2.3")
s.test_files = ["tests/test_helper.rb"]

s.add_development_dependency "rake"
s.add_development_dependency "test-unit"
end
8 changes: 1 addition & 7 deletions json_pure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--title".freeze, "JSON implementation for ruby".freeze, "--main".freeze, "README.md".freeze]
s.files = [
"CHANGES.md".freeze,
"Gemfile".freeze,
"LICENSE".freeze,
"README.md".freeze,
"VERSION".freeze,
Expand All @@ -36,13 +35,12 @@ Gem::Specification.new do |s|
"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,
] + Dir["tests/**/*"]
]
s.homepage = "http://flori.github.com/json".freeze
s.metadata = {
'bug_tracker_uri' => 'https://github.com/flori/json/issues',
Expand All @@ -54,8 +52,4 @@ Gem::Specification.new do |s|
}

s.required_ruby_version = Gem::Requirement.new(">= 2.3".freeze)
s.test_files = ["./tests/test_helper.rb".freeze]

s.add_development_dependency "rake"
s.add_development_dependency "test-unit"
end