Permalink
Browse files

Make dragonfly-s3_data_store gem dependency optional

  • Loading branch information...
veger authored and bricesanchez committed Nov 18, 2018
1 parent fa27636 commit 575c8be280e1bafc746ff626151010d427b65b58
Showing with 2 additions and 3 deletions.
  1. +1 −2 dragonfly/lib/refinery/dragonfly/configuration.rb
  2. +1 −1 dragonfly/refinerycms-dragonfly.gemspec
@@ -57,7 +57,7 @@ module Dragonfly
self.verify_urls = true
# s3 Data Store Config
# When using s3 as data store, make sure to add the dragonfly-s3_data_store gem to your project
self.s3_datastore = false
self.s3_bucket_name = ENV['S3_BUCKET']
self.s3_access_key_id = ENV['S3_KEY']
@@ -84,4 +84,3 @@ def self.url_format(url_segment='dragonfly')
end
end
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- spec/*`.split("\n")
s.add_dependency 'dragonfly', '~> 1.1'
s.add_dependency 'dragonfly-s3_data_store'
s.add_development_dependency 'dragonfly-s3_data_store'
s.add_dependency 'refinerycms-core', ['~> 4.0', '>= 4.0.2']
s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]

0 comments on commit 575c8be

Please sign in to comment.