mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
5455d69af6
Based on: https://github.com/ruby/setup-ruby Re: #60 Some notes on the initial Github Actions config: 1. Set min ruby version to 2.5 in order to support JRuby, which as of 9.2.17.0 has a RUBY_VERSION of 2.5. 2. For CodeCov exclude JRuby and TruffleRuby, to avoid errors sending the results in Github Actions on those jobs rather than debugging them further. 3. Plan is to next remove Travis CI, and then to convert the CodeCov config to use the Github Action for CodeCov (thanks @taichi-ishitani for this suggestion!)
31 lines
1.3 KiB
Ruby
31 lines
1.3 KiB
Ruby
$:.push File.expand_path("../lib", __FILE__)
|
|
require "docile/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "docile"
|
|
s.version = Docile::VERSION
|
|
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"
|
|
|
|
# Files included in the gem
|
|
s.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
f.match(%r{^(test|spec|features)/})
|
|
end
|
|
s.require_paths = ["lib"]
|
|
|
|
# Specify oldest supported Ruby version (2.5 to support JRuby 9.2.17.0)
|
|
s.required_ruby_version = ">= 2.5.0"
|
|
|
|
s.add_development_dependency "rake", "~> 12.3.3"
|
|
s.add_development_dependency "rspec", "~> 3.9"
|
|
end
|