rack.gemspec in rack-1.6.13 vs rack.gemspec in rack-2.0.0.alpha
- old
+ new
@@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = "rack"
- s.version = "1.6.13"
+ s.version = File.read('lib/rack.rb')[/RELEASE += +([\"\'])([\d][\w\.]+)\1/, 2]
s.platform = Gem::Platform::RUBY
s.summary = "a modular Ruby webserver interface"
s.license = "MIT"
s.description = <<-EOF
@@ -14,20 +14,24 @@
Also see http://rack.github.io/.
EOF
s.files = Dir['{bin/*,contrib/*,example/*,lib/**/*,test/**/*}'] +
- %w(COPYING KNOWN-ISSUES rack.gemspec Rakefile README.rdoc SPEC)
+ %w(COPYING rack.gemspec Rakefile README.rdoc SPEC)
s.bindir = 'bin'
s.executables << 'rackup'
s.require_path = 'lib'
- s.extra_rdoc_files = ['README.rdoc', 'KNOWN-ISSUES', 'HISTORY.md']
+ s.extra_rdoc_files = ['README.rdoc', 'HISTORY.md']
s.test_files = Dir['test/spec_*.rb']
s.author = 'Christian Neukirchen'
s.email = 'chneukirchen@gmail.com'
s.homepage = 'http://rack.github.io/'
- s.rubyforge_project = 'rack'
+ s.required_ruby_version = '>= 2.2.2'
- s.add_development_dependency 'bacon'
+ s.add_dependency 'json'
+
+ s.add_development_dependency 'minitest', "~> 5.0"
+ s.add_development_dependency 'minitest-sprint'
+ s.add_development_dependency 'concurrent-ruby'
s.add_development_dependency 'rake'
end