-
Notifications
You must be signed in to change notification settings - Fork 8
/
spec-me-maybe.gemspec
31 lines (25 loc) · 982 Bytes
/
spec-me-maybe.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
# encoding: utf-8
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rspec/maybes/version'
Gem::Specification.new do |spec|
spec.name = 'spec-me-maybe'
spec.version = RSpec::Maybes::VERSION
spec.authors = ['David Celis']
spec.email = ['me@davidcel.is']
spec.summary = 'Adds the `maybe` syntax to RSpec.'
spec.description = <<-DESCRIPTION.gsub(/^\s{4}/, '')
Adds the `maybe` syntax to RSpec:
describe Thing do
it 'is maybe equal to another thing' do
maybe(Thing.new).will eq(another_thing) # Passes sometimes. Maybe.
end
end
DESCRIPTION
spec.homepage = 'https://github.com/davidcelis/spec-me-maybe'
spec.license = 'SPL'
spec.files = Dir['lib/**/*.rb']
spec.test_files = Dir['spec/**/*.rb']
spec.require_paths = ['lib']
spec.add_dependency 'rspec-expectations', '~> 3.1'
spec.add_development_dependency 'rspec', '~> 3.1'
end