-
Notifications
You must be signed in to change notification settings - Fork 5
/
should_not.gemspec
32 lines (28 loc) · 1.2 KB
/
should_not.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'should_not/version'
Gem::Specification.new do |spec|
spec.name = "should_not"
spec.version = ShouldNot::VERSION
spec.authors = ["Mark Rushakoff"]
spec.email = ["[email protected]"]
spec.description = <<-DESC
You should_not start your specs with the string "should".
If every spec starts with "should", then it's redundant everywhere.
Instead, write in an active tone:
`it "should ignore nil elements"` - BAD
`it "ignores nil elements"` - GOOD
DESC
spec.summary = %q{Fail specs that start with should.}
spec.homepage = "https://github.com/should-not/should_not"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features|integration)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency "rspec", '~> 3.0'
end