2010-06-11 14:54:06 -04:00
$LOAD_PATH << File . join ( File . dirname ( __FILE__ ) , 'lib' )
2010-12-15 17:34:19 -05:00
require 'shoulda/matchers/version'
2008-10-07 11:03:35 -04:00
2008-09-14 11:53:40 -04:00
Gem :: Specification . new do | s |
2019-06-09 14:13:39 -04:00
s . name = 'shoulda-matchers'
2011-11-11 20:13:03 -05:00
s . version = Shoulda :: Matchers :: VERSION . dup
2019-06-09 14:13:39 -04:00
s . authors = [
'Tammer Saleh' ,
'Joe Ferris' ,
'Ryan McGeary' ,
'Dan Croak' ,
'Matt Jankowski' ,
'Stafford Brunk' ,
'Elliot Winkler' ,
]
2019-06-09 14:25:13 -04:00
s . date = Time . now . strftime ( '%Y-%m-%d' )
2019-06-09 14:13:39 -04: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 00:24:51 -04:00
s . metadata = {
'bug_tracker_uri' = > 'https://github.com/thoughtbot/shoulda-matchers/issues' ,
'changelog_uri' = > 'https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md' ,
'documentation_uri' = > 'https://matchers.shoulda.io/docs' ,
'homepage_uri' = > 'https://matchers.shoulda.io' ,
2019-06-09 14:13:39 -04:00
'source_code_uri' = > 'https://github.com/thoughtbot/shoulda-matchers' ,
2018-10-03 00:24:51 -04:00
}
2008-09-14 11:53:40 -04:00
2019-06-09 14:13:39 -04:00
s . files = Dir . chdir ( File . expand_path ( __dir__ ) ) do
2019-02-25 01:19:00 -05:00
` git ls-files -z -- {docs,lib,README.md,MIT-LICENSE,shoulda-matchers.gemspec} ` .
split ( " \x0 " )
end
2019-06-09 14:13:39 -04:00
s . require_paths = [ 'lib' ]
2008-09-14 11:53:40 -04:00
2019-06-09 14:13:39 -04:00
s . required_ruby_version = '>= 2.4.0'
2017-07-12 10:30:12 -04:00
s . add_dependency ( 'activesupport' , '>= 4.2.0' )
2008-09-14 11:53:40 -04:00
end