Skip to content

Commit

Permalink
Upgrade to imgix gem ~> 4
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Sep 7, 2020
1 parent 27c6d7d commit 9057b9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dato.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'activesupport', ['>= 4.2.7']
spec.add_runtime_dependency 'addressable'
spec.add_runtime_dependency 'thor'
spec.add_runtime_dependency 'imgix', ['>= 0.3.1']
spec.add_runtime_dependency 'imgix', ['~> 4']
spec.add_runtime_dependency 'toml'
spec.add_runtime_dependency 'cacert'
spec.add_runtime_dependency 'dotenv'
Expand Down
2 changes: 1 addition & 1 deletion lib/dato/local/field_type/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def video

def file
Imgix::Client.new(
host: @imgix_host,
domain: @imgix_host,
secure: true,
include_library_param: false
).path(path)
Expand Down
2 changes: 1 addition & 1 deletion lib/dato/local/field_type/upload_id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def initialize(

def file
Imgix::Client.new(
host: @imgix_host,
domain: @imgix_host,
secure: true,
include_library_param: false
).path(path)
Expand Down

0 comments on commit 9057b9d

Please sign in to comment.