2013-11-26 15:53:45 -05:00
|
|
|
$:.push File.expand_path('../lib', __FILE__)
|
|
|
|
require 'docile/version'
|
2011-12-06 13:51:56 -05:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2013-11-26 15:53:45 -05:00
|
|
|
s.name = 'docile'
|
2011-12-06 13:51:56 -05:00
|
|
|
s.version = Docile::VERSION
|
2013-11-26 15:53:45 -05:00
|
|
|
s.authors = ['Marc Siegel']
|
|
|
|
s.email = %w(msiegel@usainnov.com)
|
|
|
|
s.homepage = 'http://ms-ati.github.com/docile/'
|
|
|
|
s.summary = 'Docile keeps your Ruby DSLs tame and well-behaved'
|
|
|
|
s.description = 'Docile turns any Ruby object into a DSL. Especially useful with the Builder pattern.'
|
|
|
|
s.license = 'MIT'
|
2011-12-06 13:51:56 -05:00
|
|
|
|
2013-11-26 15:53:45 -05:00
|
|
|
s.rubyforge_project = 'docile'
|
2011-12-06 13:51:56 -05:00
|
|
|
|
|
|
|
s.files = `git ls-files`.split("\n")
|
|
|
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
|
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
2013-11-26 15:53:45 -05:00
|
|
|
s.require_paths = %w(lib)
|
2011-12-06 13:51:56 -05:00
|
|
|
|
2012-10-29 16:03:08 -04:00
|
|
|
# Running rspec tests from rake
|
2014-02-04 14:03:09 -05:00
|
|
|
s.add_development_dependency 'rake', '~> 10.1.1'
|
2014-02-04 13:54:06 -05:00
|
|
|
s.add_development_dependency 'rspec', '~> 2.14.0'
|
2014-02-04 14:11:09 -05:00
|
|
|
s.add_development_dependency 'mime-types', '~> 1.25.1'
|
2011-12-06 17:58:09 -05:00
|
|
|
|
|
|
|
# Github flavored markdown in YARD documentation
|
|
|
|
# http://blog.nikosd.com/2011/11/github-flavored-markdown-in-yard.html
|
2013-11-26 15:53:45 -05:00
|
|
|
s.add_development_dependency 'yard'
|
|
|
|
s.add_development_dependency 'redcarpet'
|
|
|
|
s.add_development_dependency 'github-markup'
|
2013-07-05 10:46:19 -04:00
|
|
|
|
|
|
|
# Coveralls test coverage tool
|
2013-11-26 15:53:45 -05:00
|
|
|
s.add_development_dependency 'coveralls'
|
2014-02-04 13:54:06 -05:00
|
|
|
|
2014-02-04 14:03:09 -05:00
|
|
|
if defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
|
2014-02-04 13:54:06 -05:00
|
|
|
s.add_development_dependency 'rubysl'
|
|
|
|
s.add_development_dependency 'rubinius-coverage'
|
|
|
|
end
|
2011-12-06 13:51:56 -05:00
|
|
|
end
|