Skip to content

Commit

Permalink
Generate rack-test.gemspec from Thorfile. (rack#166)
Browse files Browse the repository at this point in the history
* Add license.
* Update Home Page
  • Loading branch information
junaruga authored and Alex Damian Negru committed Apr 5, 2021
1 parent 950136d commit 55c4bb0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Thorfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module GemHelpers
s.version = Rack::Test::VERSION
s.author = "Bryan Helmkamp"
s.email = "bryan@brynary.com"
s.homepage = "http://github.com/brynary/rack-test"
s.license = "MIT"
s.homepage = "http://github.com/rack-test/rack-test"
s.summary = "Simple testing API built on Rack"
s.description = <<-EOS.strip
Rack::Test is a small, simple testing API for Rack apps. It can be used on its
Expand Down Expand Up @@ -111,4 +112,4 @@ class Release < Thor
def gem
sh "gem push pkg/#{read_gemspec.file_name}"
end
end
end
21 changes: 13 additions & 8 deletions rack-test.gemspec
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# -*- encoding: utf-8 -*-
# stub: rack-test 0.6.3 ruby lib

Gem::Specification.new do |s|
s.name = "rack-test"
s.version = "0.6.3"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Bryan Helmkamp"]
s.license = 'MIT'
s.date = "2015-01-09"
s.date = "2017-05-08"
s.description = "Rack::Test is a small, simple testing API for Rack apps. It can be used on its\nown or as a reusable starting point for Web frameworks and testing libraries\nto build on. Most of its initial functionality is an extraction of Merb 1.0's\nrequest helpers feature."
s.email = "bryan@brynary.com"
s.license = 'MIT'
s.extra_rdoc_files = [
"README.rdoc",
"MIT-LICENSE.txt"
]
s.files = [
".document",
".gitignore",
".travis.yml",
"Gemfile",
"Gemfile.lock",
"Gemfile.rack-1.x",
"History.txt",
"MIT-LICENSE.txt",
"README.rdoc",
Expand All @@ -37,6 +38,8 @@ Gem::Specification.new do |s|
"spec/fixtures/config.ru",
"spec/fixtures/fake_app.rb",
"spec/fixtures/foo.txt",
"spec/rack/test/cookie_jar_spec.rb",
"spec/rack/test/cookie_object_spec.rb",
"spec/rack/test/cookie_spec.rb",
"spec/rack/test/digest_auth_spec.rb",
"spec/rack/test/multipart_spec.rb",
Expand All @@ -47,13 +50,15 @@ Gem::Specification.new do |s|
"spec/support/matchers/body.rb",
"spec/support/matchers/challenge.rb"
]
s.homepage = "http://github.com/brynary/rack-test"
s.require_paths = ["lib"]
s.homepage = "http://github.com/rack-test/rack-test"
s.licenses = ["MIT"]
s.rubyforge_project = "rack-test"
s.rubygems_version = "1.8.23"
s.rubygems_version = "2.4.5.2"
s.summary = "Simple testing API built on Rack"
s.test_files = [
"spec/fixtures/fake_app.rb",
"spec/rack/test/cookie_jar_spec.rb",
"spec/rack/test/cookie_object_spec.rb",
"spec/rack/test/cookie_spec.rb",
"spec/rack/test/digest_auth_spec.rb",
"spec/rack/test/multipart_spec.rb",
Expand All @@ -66,7 +71,7 @@ Gem::Specification.new do |s|
]

if s.respond_to? :specification_version then
s.specification_version = 3
s.specification_version = 4

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rack>, [">= 1.0"])
Expand Down

0 comments on commit 55c4bb0

Please sign in to comment.