-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtry_to.gemspec
28 lines (22 loc) · 961 Bytes
/
try_to.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'try_to/version'
Gem::Specification.new do |spec|
spec.name = 'try_to'
spec.version = TryTo::VERSION
spec.authors = ['Michael Kohl']
spec.email = ['[email protected]']
spec.summary = "An alternative approach to Rails' Object#try"
spec.description = 'Try methods without exceptions'
spec.homepage = 'https://github.com/citizen428/try_to'
spec.license = 'MIT'
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/citizen428/try_to/issues',
'source_code_uri' => 'https://github.com/citizen428/try_to'
}
spec.files = `git ls-files -z *.md LICENSE.txt lib`.split("\0")
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '>= 2.2.33'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake', '>= 12.3.3'
end