Carsten Zimmermann
bcd8173383
Fix regression with context-dependent validations in ActiveResource
...
As reported in #348 , model#valid? is called with one argument while
ActiveResource::Validations only defines #valid? without an optional
argument.
The interface of ActiveResouce::Validations#valid? is the same for
A'resource in Rails 3.2 and the one extracted into a gem.
Rails 3.2 version:
https://github.com/rails/rails/blob/3-2-stable/activeresource/lib/active_resource/validations.rb#L123
Gem version:
https://github.com/rails/activeresource/blob/master/lib/active_resource/validations.rb#L160
2013-09-11 14:26:40 -06:00
Matt Daubert
5815d38fa0
Add have_secure_password matcher
2013-09-05 19:51:04 -06:00
Derek Prior
2e4e76ccfb
Add Rails 4 Appraisal
...
Rails 4 includes strong parameters and removed attr_accessible
(protected attributes). I removed the strong_parameters development
dependency and added it to all non-4.0 appraisals. I also added the
'protected_attributes' gem to the 4.0 appraisal because the test suite
examples make heavy use of attr_accessible.
2013-08-16 15:32:06 -06:00
Derek Prior
cd61fb6085
Ruby 2.0 Support
...
* Add Ruby 2.0 support to the Appraisals
* Update travis to test 2.0.0 with the 3.2 gemfile. Clean up the travis
matrix to favor the include syntax over exclude.
* Edit gemfile.locks to point to relative paths.
2013-04-19 17:11:45 -04:00
Erik Michaels-Ober
dfcf777f47
Update 3.2.gemfile.lock
2012-12-03 08:32:44 -08:00
Erik Michaels-Ober
ac505cd16e
Update 3.1.gemfile.lock
2012-12-03 08:31:45 -08:00
Erik Michaels-Ober
181efb3ea4
Update 3.0.gemfile.lock
2012-12-03 08:30:46 -08:00
Gabe Berke-Williams
04ce17726d
Update appraisals to latest Rails versions.
2012-10-01 15:36:04 -04:00
Gabe Berke-Williams
aff28245e7
Test against Rails 3.2.
2012-04-20 14:35:57 -04:00
Gabe Berke-Williams
65cb82b2eb
Bump Rails versions for appraisal.
2012-04-13 09:59:10 -04:00
Blake Thomson
76600615dd
Remove uglifier and coffee-rails from the 3.1 gemfile, and modify spec_helper.rb to respect a BUNDLE_GEMFILE set on the command line.
2011-11-02 08:36:01 -07:00
Prem Sichanugrist
6785f596b4
Update Gem configuration for Ruby 1.9.3 and JRuby
2011-09-18 21:39:18 +07:00
Prem Sichanugrist
78b5e5f436
Update testing dependencies
2011-09-12 17:23:22 +07:00
Prem Sichanugrist
f1c8b80523
Go back and use bundle install --local
, but specify additional dependencies in Appraisal
file.
2011-05-30 16:14:06 -04:00
Prem Sichanugrist
44847c6a87
Add Appraisals to the project to handle testing against multiple Rails version
...
Note that we also bump RSpec to 2.6.1.beta1 because the incompatibility with Rails 3.1.0.rc1
2011-05-25 14:59:01 -04:00