docile/docile.gemspec

32 lines
1.2 KiB
Ruby
Raw Normal View History

2018-01-14 22:17:12 +00:00
$:.push File.expand_path("../lib", __FILE__)
require "docile/version"
2011-12-06 18:51:56 +00:00
Gem::Specification.new do |s|
2018-01-14 22:17:12 +00:00
s.name = "docile"
2011-12-06 18:51:56 +00:00
s.version = Docile::VERSION
2018-01-14 22:17:12 +00:00
s.author = "Marc Siegel"
s.email = "marc@usainnov.com"
s.homepage = "https://ms-ati.github.io/docile/"
s.summary = "Docile keeps your Ruby DSLs tame and well-behaved."
s.description = "Docile treats the methods of a given ruby object as a DSL " \
"(domain specific language) within a given block. \n\n" \
"Killer feature: you can also reference methods, instance " \
"variables, and local variables from the original (non-DSL) "\
"context within the block. \n\n" \
"Docile releases follow Semantic Versioning as defined at " \
"semver.org."
s.license = "MIT"
2011-12-06 18:51:56 +00:00
# Files included in the gem
2018-01-14 22:17:12 +00:00
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
s.require_paths = ["lib"]
2011-12-06 18:51:56 +00:00
# Specify oldest supported Ruby version
s.required_ruby_version = ">= 2.6.0"
s.add_development_dependency "rake", "~> 12.3.3"
s.add_development_dependency "rspec", "~> 3.9"
2011-12-06 18:51:56 +00:00
end