Skip to content

Commit 5d046d9

Browse files
committed
Use master as default activemodel version
1 parent 888bcfb commit 5d046d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ source "https://rubygems.org"
33
gemspec
44

55
active_model_opts =
6-
case ENV['ACTIVE_MODEL_VERSION']
6+
case version = ENV['ACTIVE_MODEL_VERSION'] || "master"
77
when 'master' then { github: 'rails/rails' }
88
when 'default' then '~> 3'
9-
else "~> #{ENV['ACTIVE_MODEL_VERSION']}"
9+
else "~> #{version}"
1010
end
1111

1212
gem 'activemodel', active_model_opts

0 commit comments

Comments
 (0)