Skip to content

Commit

Permalink
locked activemodel instead of gcloud gem
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdeepsingh committed Jul 13, 2016
1 parent 6177d8b commit 327b44d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions carrierwave-google-storage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency 'gcloud', '~> 0.11.0'
spec.add_dependency 'carrierwave', '~> 0.7'

if RUBY_VERSION >= "2.2.2"
spec.add_dependency 'gcloud', '~> 0.11.0'
spec.add_dependency 'activemodel', '>= 3.2.0'
else
spec.add_dependency 'gcloud', '~> 0.8.2'
spec.add_dependency 'activemodel', ">= 3.2.0", "< 4.0.0"
end

spec.add_development_dependency "bundler", "~> 1.12"
Expand Down

0 comments on commit 327b44d

Please sign in to comment.