1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/shoulda-matchers.gemspec
Derek Prior d9db850082 Fix route_matcher specs in Rails 4
The rails assertion that underlies the `route_matcher` matcher has
changed in Rails 4 to depend on the `message` method from MiniTest.
RSpec is smart enough to make that method available, but only for
controller and routing specs (and only in 2.13.1+).

I marked the `route_matcher` specs as controller specs and updated the
rspec-rails gem development dependency to 2.13.1 or later (but less than 3).
2013-08-16 16:17:26 -06:00

32 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"]
s.date = Time.now.strftime("%Y-%m-%d")
s.email = "support@thoughtbot.com"
s.homepage = "http://thoughtbot.com/community/"
s.summary = "Making tests easy on the fingers and eyes"
s.license = "MIT"
s.description = "Making tests easy on the fingers and eyes"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.required_ruby_version = '>= 1.9.2'
s.add_dependency('activesupport', '>= 3.0.0')
s.add_development_dependency('appraisal', '~> 0.4')
s.add_development_dependency('aruba')
s.add_development_dependency('bourne', '~> 1.3')
s.add_development_dependency('bundler', '~> 1.1')
s.add_development_dependency('cucumber', '~> 1.1')
s.add_development_dependency('rails', '~> 3.0')
s.add_development_dependency('rake', '>= 0.9.2')
s.add_development_dependency('rspec-rails', '>= 2.13.1', '< 3')
end