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'
|
2020-11-03 00:56:49 -05:00
|
|
|
s.description = <<~DESC.tr("\n", ' ').squeeze(' ')
|
|
|
|
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.
|
|
|
|
DESC
|
|
|
|
|
|
|
|
s.metadata = {
|
2018-10-03 00:24:51 -04:00
|
|
|
'bug_tracker_uri' => 'https://github.com/thoughtbot/shoulda-matchers/issues',
|
2022-01-18 19:13:52 -05:00
|
|
|
'changelog_uri' => 'https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md',
|
2018-10-03 00:24:51 -04:00
|
|
|
'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
|
|
|
|
2020-11-03 00:56:49 -05:00
|
|
|
s.files = Dir['{docs,lib}/**/*', 'README.md', 'LICENSE',
|
|
|
|
'shoulda-matchers.gemspec']
|
2019-06-09 14:13:39 -04:00
|
|
|
s.require_paths = ['lib']
|
2008-09-14 11:53:40 -04:00
|
|
|
|
2021-03-04 18:42:47 -05:00
|
|
|
s.required_ruby_version = '>= 2.6.0'
|
2021-04-17 16:13:09 -04:00
|
|
|
s.add_dependency('activesupport', '>= 5.2.0')
|
2008-09-14 11:53:40 -04:00
|
|
|
end
|