-
Notifications
You must be signed in to change notification settings - Fork 0
/
dememoize.gemspec
43 lines (38 loc) · 1.67 KB
/
dememoize.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
32
33
34
35
36
37
38
39
40
41
42
43
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dememoize/version"
Gem::Specification.new do |spec|
# rubocop:disable Layout/HashAlignment
spec.name = "dememoize"
spec.version = Dememoize::VERSION
spec.authors = ["Harry Lascelles"]
spec.email = ["[email protected]"]
spec.summary = "A gem to clean up memoization"
spec.description = <<~MSG
A gem to clean up memoization. This is useful for testing, where you want to
ensure that a method is called again after a change to the object.
MSG
spec.homepage = "https://github.com/hlascelles/dememoize"
spec.license = "MIT"
spec.metadata = {
"homepage_uri" => "https://github.com/hlascelles/dememoize",
"documentation_uri" => "https://github.com/hlascelles/dememoize",
"changelog_uri" => "https://github.com/hlascelles/dememoize/blob/master/CHANGELOG.md",
"source_code_uri" => "https://github.com/hlascelles/dememoize/",
"bug_tracker_uri" => "https://github.com/hlascelles/dememoize/issues",
"rubygems_mfa_required" => "true",
}
spec.files = Dir["{lib}/**/*"] + ["README.md"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5"
spec.add_development_dependency "fasterer"
spec.add_development_dependency "pry-byebug"
spec.add_development_dependency "rake"
spec.add_development_dependency "reek"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-rake"
spec.add_development_dependency "rubocop-rspec"
# rubocop:enable Layout/HashAlignment
end