Skip to content

Commit dd4408a

Browse files
committed
Merge branch 'activemodel'
[Fixes #798]
2 parents f4dd001 + 4549965 commit dd4408a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Bug fixes
1717
* Where possible, check against the version of ActiveRecord, rather than
1818
Rails. It is possible to use some of rspec-rails without all of Rails.
1919
(Darryl Pogue)
20+
* Explicitly depends on `activemodel`. This allows libraries that do not bring
21+
in all of `rails` to use `rspec-rails`. (John Firebaugh)
2022

2123
### 2.14.0 / 2013-07-06
2224
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)

rspec-rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
2222
s.require_path = "lib"
2323

2424
s.add_runtime_dependency(%q<activesupport>, [">= 3.0"])
25+
s.add_runtime_dependency(%q<activemodel>, [">= 3.0"])
2526
s.add_runtime_dependency(%q<actionpack>, [">= 3.0"])
2627
s.add_runtime_dependency(%q<railties>, [">= 3.0"])
2728
%w[core expectations mocks].each do |name|

0 commit comments

Comments
 (0)