Permalink
Browse files

add license to gemspec (and consequently the gem)

  • Loading branch information...
1 parent 50a4980 commit 8e60983806add0eea0f0767adc8e3a34ec3f6c79 @dchelimsky dchelimsky committed Dec 2, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 rspec-mocks.gemspec
View
@@ -6,7 +6,8 @@ Gem::Specification.new do |s|
s.name = "rspec-mocks"
s.version = RSpec::Mocks::Version::STRING
s.platform = Gem::Platform::RUBY
- s.authors = ["David Chelimsky", "Steven Baker"]
+ s.license = "MIT"
+ s.authors = ["Steven Baker", "David Chelimsky"]
s.email = "rspec-users@rubyforge.org"
s.homepage = "http://github.com/rspec/rspec-mocks"
s.summary = "rspec-mocks-#{RSpec::Mocks::Version::STRING}"
@@ -15,8 +16,9 @@ Gem::Specification.new do |s|
s.rubyforge_project = "rspec"
s.files = `git ls-files -- lib/*`.split("\n")
+ s.files += ["License.txt"]
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
- s.extra_rdoc_files = [ "README.md" ]
+ s.extra_rdoc_files = [ "README.md", "License.txt"]
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
end

0 comments on commit 8e60983

Please sign in to comment.