2021-05-10 12:26:41 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require_relative "lib/docile/version"
|
2011-12-06 13:51:56 -05:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2018-01-14 17:17:12 -05:00
|
|
|
s.name = "docile"
|
2011-12-06 13:51:56 -05:00
|
|
|
s.version = Docile::VERSION
|
2018-01-14 17:17:12 -05: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 13:51:56 -05:00
|
|
|
|
2021-05-10 12:26:41 -04:00
|
|
|
# Specify oldest supported Ruby version (2.5 to support JRuby 9.2.17.0)
|
|
|
|
s.required_ruby_version = ">= 2.5.0"
|
|
|
|
|
2014-06-15 15:14:37 -04:00
|
|
|
# Files included in the gem
|
2021-05-10 12:26:41 -04:00
|
|
|
s.files = `git ls-files -z`.split("\x0").reject do |f|
|
2018-01-14 17:17:12 -05:00
|
|
|
f.match(%r{^(test|spec|features)/})
|
|
|
|
end
|
|
|
|
s.require_paths = ["lib"]
|
2011-12-06 13:51:56 -05:00
|
|
|
end
|