Skip to content

Commit

Permalink
Merge pull request #4 from metaware/storage-gem
Browse files Browse the repository at this point in the history
rely on only google-cloud-storage gem, fixes: #3
  • Loading branch information
jasdeepsingh authored Jan 6, 2017
2 parents 0c6883f + ebb7d87 commit 6867021
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions carrierwave-google-storage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@ Gem::Specification.new do |spec|

spec.summary = %q{Use gcloud for Google Cloud Storage support in CarrierWave.}
spec.description = %q{A slimmer alternative to using Fog for Google Cloud Storage support in CarrierWave. Heavily inspired from carrierwave-aws}
spec.homepage = "https://github.com/metaware/carrierwave-google-cloud"
spec.homepage = "https://github.com/metaware/carrierwave-google-storage"
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency 'google-cloud', '~> 0.20.0'
spec.add_dependency 'google-cloud-storage', '~> 0.21.0'
spec.add_dependency 'carrierwave', '~> 0.11.2'
spec.add_dependency 'activemodel', ">= 3.2.0"
if RUBY_VERSION >= "2.2.2"
spec.add_dependency 'activemodel', ">= 3.2.0"
else
spec.add_dependency 'activemodel', "~> 4.2.7"
end

spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/carrierwave-google-storage.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'google-cloud'
require 'google-cloud-storage'
require 'carrierwave'
require 'carrierwave/google/storage/version'
require 'carrierwave/storage/gcloud'
Expand Down

0 comments on commit 6867021

Please sign in to comment.