imgproxy 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5cf029889a3bba7a24d4c29ac636a66e67fc19b4669e7c62316a9b8b9644e24
4
- data.tar.gz: 4f6b8dd2f2f1157d18d5c18cc31a3101f30c6d9c604c489aeb95163f517fbf86
3
+ metadata.gz: 3db053d563e38971499a20bcd383713612299136a80b6509f7124826f1350558
4
+ data.tar.gz: '049f16f9fc61090577152846c0068353dbcb3eeaa241f54135bb181516296988'
5
5
  SHA512:
6
- metadata.gz: ecd54c4b40f1e1d293e5b7f5b6b5380ecbdcc4300918caf8a477cded1bfb8bc28e086fedccd0cfa65b9c98265b38141d436777c5ddb29babbb1e79e1867735bd
7
- data.tar.gz: cb2bc521f7273dffd3419ba74e7070487f4b4db9d6e15b9b8b6c1331a295e99c1539a202001592624dd31c104b9af3c6312c07a61ac6a090a6db35edb1dcb94e
6
+ metadata.gz: 527be1d77dcac57b5f7170e805f74e7e2f331bc832a7c3d9b136c80e17f7ade7031f67d072511200a63b99320d847af785868a4c5449e649fdcc7a4f6261339b
7
+ data.tar.gz: 378492ea2843c3f044a8c34c27a969dd952e1c20fc78eef355304352deb01faf9d050b178e54f9190bbe858444d0ba5ad3f56334b89ce0b7d8aec29acc5b4d13
@@ -17,7 +17,9 @@ module Imgproxy
17
17
  end
18
18
 
19
19
  def url(image)
20
- image.url(host: @host)
20
+ opts = {}
21
+ opts[:host] = @host if @host
22
+ image.url(opts)
21
23
  end
22
24
  end
23
25
  end
@@ -1,3 +1,3 @@
1
1
  module Imgproxy
2
- VERSION = "1.0.3".freeze
2
+ VERSION = "1.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imgproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Alexandrovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry-byebug