-
Notifications
You must be signed in to change notification settings - Fork 6
/
dumb_delegator.gemspec
31 lines (27 loc) · 1.29 KB
/
dumb_delegator.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require File.expand_path("../lib/dumb_delegator/version", __FILE__)
Gem::Specification.new do |gem|
gem.name = "dumb_delegator"
gem.version = DumbDelegator::VERSION
gem.required_ruby_version = ">= 2.4.0"
gem.authors = ["Andy Lindeman", "Steven Harman"]
gem.email = ["[email protected]", "[email protected]"]
gem.licenses = ["MIT"]
gem.summary = "Delegator class that delegates ALL the things"
gem.description = <<~EOD
Delegator and SimpleDelegator in Ruby's stdlib are useful, but they pull in most of Kernel.
This is not appropriate for many uses; for instance, delegation to Rails Models.
DumbDelegator, on the other hand, delegates nearly everything to the wrapped object.
EOD
gem.homepage = "https://github.com/stevenharman/dumb_delegator"
gem.metadata = {
"changelog_uri" => "https://github.com/stevenharman/dumb_delegator/blob/master/CHANGELOG.md",
"documentation_uri" => "https://rubydoc.info/gems/dumb_delegator",
"source_code_uri" => "https://github.com/stevenharman/dumb_delegator"
}
gem.files = `git ls-files`.split($\)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_development_dependency "pry"
gem.add_development_dependency "rake", "~> 13.0"
gem.add_development_dependency "rspec", "~> 3.9"
end