Skip to content

Commit

Permalink
Require ruby version 2.0 or better
Browse files Browse the repository at this point in the history
  • Loading branch information
flori committed Jan 11, 2017
1 parent f8e2aa6 commit 2bcacc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.email = "[email protected]"
s.homepage = "http://flori.github.com/#{PKG_NAME}"
s.license = 'Ruby'
s.required_ruby_version = '~>2.0'
end

desc 'Creates a json_pure.gemspec file'
Expand Down Expand Up @@ -132,6 +133,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.email = "[email protected]"
s.homepage = "http://flori.github.com/#{PKG_NAME}"
s.license = 'Ruby'
s.required_ruby_version = '~>2.0'
end

desc 'Creates a json.gemspec file'
Expand Down
Binary file modified json.gemspec
Binary file not shown.
1 change: 1 addition & 0 deletions json_pure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ 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("~> 2.0".freeze)
s.rubygems_version = "2.6.8".freeze
s.summary = "JSON Implementation for Ruby".freeze
s.test_files = ["./tests/test_json.rb".freeze, "./tests/test_json_addition.rb".freeze, "./tests/test_json_encoding.rb".freeze, "./tests/test_json_fixtures.rb".freeze, "./tests/test_json_generate.rb".freeze, "./tests/test_json_generic_object.rb".freeze, "./tests/test_json_string_matching.rb".freeze, "./tests/test_json_unicode.rb".freeze]
Expand Down

0 comments on commit 2bcacc1

Please sign in to comment.