pkgsrc/devel/ruby-rspec-rails/Makefile
taca e3f33c8696 Update ruby-rspec-rails to 2.12.2.
### 2.12.2 / 2013-01-12
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)

Bug fixes

* Reverts earlier fix where anonymous controllers defined the `_routes` method
  to support testing of redirection and generation of URLs from other contexts.
  The implementation ended up breaking the ability to refer to non-anonymous
  routes in the context of the controller under test.

### 2.12.1 / 2013-01-07
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...master)

Bug fixes

* Operates correctly when ActiveRecord is only partially loaded (e.g., with
  older versions of Mongoid). (Eric Marden)
* `expect(subject).to have(...).errors_on` operates correctly for
  ActiveResource models where `valid?` does not accept an argument. (Yi Wen)
* Rails 4 support for routing specs. (Andy Lindeman)
* Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher.
  (Andy Lindeman)
* Anonymous controllers define `_routes` to support testing of redirection
  and generation of URLs from other contexts. (Andy Lindeman)
2013-01-14 06:12:41 +00:00

21 lines
696 B
Makefile

# $NetBSD: Makefile,v 1.10 2013/01/14 06:12:41 taca Exp $
DISTNAME= rspec-rails-2.12.2
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://relishapp.com/rspec
COMMENT= A test-double framework for rspec
LICENSE= mit
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+= ${RUBY_RAILTIES_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=2.12.0<2.13:../../devel/ruby-rspec-core
DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=2.12.0<2.13:../../devel/ruby-rspec-expectations
DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=2.12.0<2.13:../../devel/ruby-rspec-mocks
RUBY_RAILS_SUPPORTED=
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"