-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaybe2.gemspec
37 lines (31 loc) · 1.37 KB
/
maybe2.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'maybe/version'
Gem::Specification.new do |spec|
spec.name = 'maybe2'
spec.version = Maybe::VERSION
spec.authors = ['Oldrich Vetesnik']
spec.email = ['oldrich.vetesnik@gmail.com']
spec.summary = 'Yet another Maybe monad implementation.'
spec.description = 'Be able to chain method calls without raising ' \
'a NoMethodError if there is a nil somewhere along ' \
'the way.'
spec.homepage = 'https://github.com/ollie/maybe2'
spec.license = 'MIT'
# rubocop:disable Metrics/LineLength
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
# System
spec.add_development_dependency 'bundler', '~> 1.10'
# Test
spec.add_development_dependency 'rspec', '~> 3.4'
spec.add_development_dependency 'simplecov', '~> 0.11'
# Code style, debugging, docs
spec.add_development_dependency 'rubocop', '~> 0.35'
spec.add_development_dependency 'pry', '~> 0.10'
spec.add_development_dependency 'yard', '~> 0.8'
spec.add_development_dependency 'rake', '~> 10.4'
end