Skip to content

Commit

Permalink
Add support for Rails 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego committed Apr 8, 2014
1 parent 9118534 commit 69c1342
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -4,18 +4,23 @@ rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1
bundler_args: --without development
gemfile:
- gemfiles/rails_3_0.gemfile
- gemfiles/rails_3_1.gemfile
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_0.gemfile
- Gemfile
- gemfiles/rails_head.gemfile
matrix:
allow_failures:
- gemfile: gemfiles/rails_head.gemfile
exclude:
- rvm: ree
gemfile: gemfiles/rails_4_0.gemfile
- rvm: 1.9.2
gemfile: gemfiles/rails_4_0.gemfile
- rvm: ree
gemfile: Gemfile
- rvm: 1.9.2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# ActiveAttr 0.8.3 (April 8, 2014) #

* ActiveAttr now supports Rails 4.1.0

# ActiveAttr 0.8.2 (June 16, 2013) #

* #108 Fix grammar in HaveAttributeMatcher#description (Matt Hodan)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Expand Up @@ -2,9 +2,9 @@ source "https://rubygems.org"

gemspec :development_group => :test

gem "activemodel", "~> 4.0.0"
gem "activesupport", "~> 4.0.0"
gem "actionpack", "~> 4.0.0", :group => :test
gem "activemodel", "~> 4.1.0"
gem "activesupport", "~> 4.1.0"
gem "actionpack", "~> 4.1.0", :group => :test
gem "protected_attributes", :group => :test

group :development do
Expand Down
4 changes: 2 additions & 2 deletions active_attr.gemspec
Expand Up @@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = ActiveAttr::VERSION

gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 4.1"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 4.1"
gem.add_runtime_dependency "activemodel", ">= 3.0.2", "< 4.2"
gem.add_runtime_dependency "activesupport", ">= 3.0.2", "< 4.2"

gem.add_development_dependency "bundler", "~> 1.0"
gem.add_development_dependency "factory_girl", ">= 2.2", "< 5.0"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_4_0.gemfile
@@ -0,0 +1,8 @@
source "https://rubygems.org"

gemspec :development_group => :test, :path => ".."

gem "activemodel", "~> 4.0.0"
gem "activesupport", "~> 4.0.0"
gem "actionpack", "~> 4.0.0", :group => :test
gem "protected_attributes", :group => :test
@@ -1,6 +1,5 @@
require "spec_helper"
require "active_attr/typecasting/string_typecaster"
require "active_support/basic_object"

module ActiveAttr
module Typecasting
Expand Down

0 comments on commit 69c1342

Please sign in to comment.