forked from matthewrudy/memoist
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmemoist.gemspec
47 lines (41 loc) · 1.77 KB
/
memoist.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
44
45
46
47
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'memoist/version'
AUTHORS = [
['Joshua Peek', '[email protected]'],
['Tarmo Tänav', '[email protected]'],
['Jeremy Kemper', '[email protected]'],
['Eugene Pimenov', '[email protected]'],
['Xavier Noria', '[email protected]'],
['Niels Ganser', '[email protected]'],
['Carl Lerche & Yehuda Katz', '[email protected]'],
['jeem', '[email protected]'],
['Jay Pignata', '[email protected]'],
['Damien Mathieu', '[email protected]'],
['José Valim', '[email protected]'],
['Matthew Rudy Jacobs', '[email protected]']
].freeze
Gem::Specification.new do |spec|
spec.name = 'memoist'
spec.version = Memoist::VERSION
spec.authors = AUTHORS.map { |name, _email| name }
spec.email = AUTHORS.map { |_name, email| email }
spec.summary = 'memoize methods invocation'
spec.homepage = 'https://github.com/matthewrudy/memoist'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
# TODO: Upgrade this to 3.0.0 once we shift to Ruby 3
spec.required_ruby_version = '>= 2.7.5'
spec.add_development_dependency 'benchmark-ips'
spec.add_development_dependency 'bundler'
if RUBY_VERSION < '1.9.3'
spec.add_development_dependency 'rake', '~> 10.4'
else
spec.add_development_dependency 'rake'
end
spec.add_development_dependency 'minitest', '~> 5.10'
end