Permalink
Browse files

Add license to gemspec.

  • Loading branch information...
1 parent 141c8d8 commit 9ff742d08c798bd86482a99b0f4c4692660fa20e @oggy committed Jun 7, 2012
Showing with 19 additions and 18 deletions.
  1. +19 −18 looksee.gemspec
View
@@ -1,28 +1,29 @@
$:.unshift File.expand_path('lib', File.dirname(__FILE__))
require 'looksee/version'
-Gem::Specification.new do |s|
- s.name = 'looksee'
- s.version = Looksee::VERSION
- s.authors = ["George Ogata"]
- s.email = ["george.ogata@gmail.com"]
- s.date = Time.now.strftime('%Y-%m-%d')
- s.summary = "Supercharged method introspection in IRB."
- s.homepage = 'http://github.com/oggy/looksee'
+Gem::Specification.new do |gem|
+ gem.name = 'looksee'
+ gem.version = Looksee::VERSION
+ gem.authors = ["George Ogata"]
+ gem.email = ["george.ogata@gmail.com"]
+ gem.license = 'MIT'
+ gem.date = Time.now.strftime('%Y-%m-%d')
+ gem.summary = "Supercharged method introspection in IRB."
+ gem.homepage = 'http://github.com/oggy/looksee'
if RUBY_PLATFORM == 'java'
- s.platform = Gem::Platform::CURRENT
+ gem.platform = Gem::Platform::CURRENT
else
- s.extensions = ["ext/extconf.rb"]
+ gem.extensions = ["ext/extconf.rb"]
end
- s.extra_rdoc_files = ['CHANGELOG', 'LICENSE', 'README.markdown']
- s.files = Dir['lib/**/*', 'ext/**/{*.c,*.h,*.rb}', 'CHANGELOG', 'LICENSE', 'Rakefile', 'README.markdown']
- s.test_files = Dir["spec/**/*.rb"]
- s.require_path = 'lib'
+ gem.extra_rdoc_files = ['CHANGELOG', 'LICENSE', 'README.markdown']
+ gem.files = Dir['lib/**/*', 'ext/**/{*.c,*.h,*.rb}', 'CHANGELOG', 'LICENSE', 'Rakefile', 'README.markdown']
+ gem.test_files = Dir["spec/**/*.rb"]
+ gem.require_path = 'lib'
- s.specification_version = 3
- s.add_development_dependency 'ritual', '~> 0.4.1'
- s.add_development_dependency 'rspec', '2.5.0'
- s.add_development_dependency 'wirble'
+ gem.specification_version = 3
+ gem.add_development_dependency 'ritual', '~> 0.4.1'
+ gem.add_development_dependency 'rspec', '2.5.0'
+ gem.add_development_dependency 'wirble'
end

1 comment on commit 9ff742d

Please sign in to comment.