Permalink
Browse files

add license to gemspec (and consequently the gem)

- Fixes #515
  • Loading branch information...
1 parent c149f58 commit 33e835ae687962446dfde534d2aef97935b53477 @dchelimsky dchelimsky committed Dec 2, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 rspec-core.gemspec
View
@@ -6,7 +6,8 @@ Gem::Specification.new do |s|
s.name = "rspec-core"
s.version = RSpec::Core::Version::STRING
s.platform = Gem::Platform::RUBY
- s.authors = ["Chad Humphries", "David Chelimsky", "Steven Baker"]
+ s.license = "MIT"
+ s.authors = ["Steven Baker", "David Chelimsky", "Chad Humphries"]
s.email = "rspec-users@rubyforge.org"
s.homepage = "http://github.com/rspec/rspec-core"
s.summary = "rspec-core-#{RSpec::Core::Version::STRING}"
@@ -15,11 +16,11 @@ 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.bindir = 'exe'
s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
- 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 33e835a

Please sign in to comment.