-
Notifications
You must be signed in to change notification settings - Fork 99
/
memoist.gemspec
46 lines (40 loc) · 1.72 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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'memoist/version'
AUTHORS = [
['Joshua Peek', 'josh@joshpeek.com'],
['Tarmo Tänav', 'tarmo@itech.ee'],
['Jeremy Kemper', 'jeremy@bitsweat.net'],
['Eugene Pimenov', 'libc@mac.com'],
['Xavier Noria', 'fxn@hashref.com'],
['Niels Ganser', 'niels@herimedia.co'],
['Carl Lerche & Yehuda Katz', 'wycats@gmail.com'],
['jeem', 'jeem@hughesorama.com'],
['Jay Pignata', 'john.pignata@gmail.com'],
['Damien Mathieu', '42@dmathieu.com'],
['José Valim', 'jose.valim@gmail.com'],
['Matthew Rudy Jacobs', 'matthewrudyjacobs@gmail.com']
].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']
spec.required_ruby_version = '>= 1.9.2'
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