mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
2410164308
* Update references to `master` on documentation The master branch has been renamed to main, but the docs still reference it as master. * Update the changelog URI The changelog URI should be pointed to the main branch, where it is updated. The master branch is archived and has not been updated since version 5.0.0. * Update the main branch on Github Actions config Since shoulda-matchers 5.1.0, the main branch of the repository is `main`.
41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
|
|
require 'shoulda/matchers/version'
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = 'shoulda-matchers'
|
|
s.version = Shoulda::Matchers::VERSION.dup
|
|
s.authors = [
|
|
'Tammer Saleh',
|
|
'Joe Ferris',
|
|
'Ryan McGeary',
|
|
'Dan Croak',
|
|
'Matt Jankowski',
|
|
'Stafford Brunk',
|
|
'Elliot Winkler',
|
|
]
|
|
s.date = Time.now.strftime('%Y-%m-%d')
|
|
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 = <<~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 = {
|
|
'bug_tracker_uri' => 'https://github.com/thoughtbot/shoulda-matchers/issues',
|
|
'changelog_uri' => 'https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md',
|
|
'documentation_uri' => 'https://matchers.shoulda.io/docs',
|
|
'homepage_uri' => 'https://matchers.shoulda.io',
|
|
'source_code_uri' => 'https://github.com/thoughtbot/shoulda-matchers',
|
|
}
|
|
|
|
s.files = Dir['{docs,lib}/**/*', 'README.md', 'LICENSE',
|
|
'shoulda-matchers.gemspec']
|
|
s.require_paths = ['lib']
|
|
|
|
s.required_ruby_version = '>= 2.6.0'
|
|
s.add_dependency('activesupport', '>= 5.2.0')
|
|
end
|