2010-06-11 18:54:06 +00:00
$LOAD_PATH << File . join ( File . dirname ( __FILE__ ) , 'lib' )
2010-12-15 22:34:19 +00:00
require 'shoulda/matchers/version'
2008-10-07 15:03:35 +00:00
2008-09-14 15:53:40 +00:00
Gem :: Specification . new do | s |
2019-06-09 18:13:39 +00:00
s . name = 'shoulda-matchers'
2011-11-12 01:13:03 +00:00
s . version = Shoulda :: Matchers :: VERSION . dup
2019-06-09 18:13:39 +00:00
s . authors = [
'Tammer Saleh' ,
'Joe Ferris' ,
'Ryan McGeary' ,
'Dan Croak' ,
'Matt Jankowski' ,
'Stafford Brunk' ,
'Elliot Winkler' ,
]
2019-06-09 18:25:13 +00:00
s . date = Time . now . strftime ( '%Y-%m-%d' )
2019-06-09 18:13:39 +00:00
s . email = 'support@thoughtbot.com'
s . homepage = 'https://matchers.shoulda.io/'
s . summary = 'Simple one-liner tests for common Rails functionality'
s . license = 'MIT'
s . description = 'Shoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rails functionality that, if written by hand, would be much longer, more complex, and error-prone.'
2018-10-03 04:24:51 +00:00
s . metadata = {
'bug_tracker_uri' = > 'https://github.com/thoughtbot/shoulda-matchers/issues' ,
2020-08-27 08:47:49 +00:00
'changelog_uri' = > 'https://github.com/thoughtbot/shoulda-matchers/blob/master/CHANGELOG.md' ,
2018-10-03 04:24:51 +00:00
'documentation_uri' = > 'https://matchers.shoulda.io/docs' ,
'homepage_uri' = > 'https://matchers.shoulda.io' ,
2019-06-09 18:13:39 +00:00
'source_code_uri' = > 'https://github.com/thoughtbot/shoulda-matchers' ,
2018-10-03 04:24:51 +00:00
}
2008-09-14 15:53:40 +00:00
2020-10-10 12:00:28 +00:00
s . files = Dir [ '{docs,lib}/**/*' , 'README.md' , 'LICENSE' , 'shoulda-matchers.gemspec' ]
2019-06-09 18:13:39 +00:00
s . require_paths = [ 'lib' ]
2008-09-14 15:53:40 +00:00
2019-06-09 18:13:39 +00:00
s . required_ruby_version = '>= 2.4.0'
2017-07-12 14:30:12 +00:00
s . add_dependency ( 'activesupport' , '>= 4.2.0' )
2008-09-14 15:53:40 +00:00
end