Created
February 16, 2012 21:36
-
-
Save eerohele/1848052 to your computer and use it in GitHub Desktop.
A template for a RubyGem specification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rake/gempackagetask' | |
# RubyGems versioning policy: http://docs.rubygems.org/read/chapter/7 | |
gemspec = Gem::Specification.new do |gs| | |
gs.name = 'name' | |
gs.summary = 'summary' | |
gs.description = File.read(File.join(File.dirname(__FILE__), 'README.md')) | |
gs.requirements = [ 'requirements' ] | |
gs.version = '0.0.1' | |
gs.author = 'Your Name' | |
gs.email = '[email protected]' | |
gs.homepage = 'http://www.example.com/' | |
gs.platform = Gem::Platform::RUBY | |
gs.files = Dir['**/**'] | |
gs.executables = [ 'exec_name' ] | |
gs.test_files = Dir['test/*_spec.rb'] | |
gs.has_rdoc = false | |
gs.required_ruby_version = '>=1.9' | |
end | |
Rake::GemPackageTask.new(gemspec).define |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment