Created
January 6, 2010 22:17
-
-
Save dalibor/270733 to your computer and use it in GitHub Desktop.
Gemspec file template
This file contains 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
# | |
# Reference: http://rubygems.rubyforge.org/rdoc/Gem/Specification.html | |
# | |
# Another reference, which displays all of the defaults and shows useful | |
# examples: http://docs.rubygems.org/read/chapter/20 | |
# | |
Gem::Specification.new do |s| | |
# This gem’s name. Required. | |
s.name = 'my-gem' | |
# This gem’s version. Required. | |
s.version = '0.1.0' | |
# The date this gem was created. Required. Default = `Time.now` | |
#s.date = '2009-11-15' | |
# A short summary of this gem’s description. Displayed in `gem list -d`. Required. | |
s.summary = "My project ..." | |
# A long description of this gem | |
#s.description = <<-EOF | |
# Foo Bar | |
#EOF | |
# The list of authors who wrote this gem | |
#s.authors = %w( remi ) | |
# Singular accessor for authors | |
#s.author = 'remi' | |
# The URL of this gem’s home page | |
#s.homepage = 'http://github.com/remi/my-gem' | |
# A contact email for this gem | |
#s.email = 'remi@remitaylor.com' | |
# The path in the gem for executable scripts. Default = 'bin' | |
#s.bindir = 'bin' | |
# Executables included in the gem | |
#s.executables = [] | |
# Extra files to add to RDoc | |
#s.extra_rdoc_files = [] | |
# Files included in this gem. You cannot append to this accessor, you must assign to it. | |
# Only add files you can require to this list, not directories, etc. | |
# Directories are automatically stripped from this list when building a gem, other non-files cause an error. | |
s.files = Dir['lib/**/*.rb'] + Dir['bin/*'] | |
# The target platform for the gem. Required. Default = Gem::Platform::Ruby | |
#s.platform = nil | |
# List of "require" paths from the root of the gem. Required. Default = ['lib'] | |
#s.require_paths = ['lib'] | |
# Lists the gems that must be installed for this gem to work. Default = [] | |
#s.add_dependency 'name', '>= 0.1.0' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add the
.rb
extension to the file so we can have syntax highlight