Created
April 18, 2013 19:20
-
-
Save obfusk/5415497 to your computer and use it in GitHub Desktop.
gemspec example
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 File.expand_path('../lib/foo/version', __FILE__) | |
Gem::Specification.new do |s| | |
s.name = 'foo' | |
s.summary = '...' | |
s.version = Foo::VERSION | |
s.date = Foo::DATE | |
s.authors = [ 'Felix C. Stegerman' ] | |
s.email = [ '[email protected]' ] | |
s.files = Dir[*%w{ | |
.yardopts README.md *.gemspec lib/**/*.coffee lib/**/*.css | |
lib/**/*.haml lib/**/*.js lib/**/*.png lib/**/*.rb lib/**/*.svg | |
}] | |
s.require_path = 'lib' | |
s.add_runtime_dependency 'bar' | |
s.add_runtime_dependency 'baz' | |
s.required_ruby_version = '>= 1.9.1' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment