imgix 4.0.2 → 4.0.3

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: b593ef71fdd4683f9af895b093f631c8ee57c0e5e1008dd82ece781d422d1b36
4
- data.tar.gz: eb75567f9424d0b898e7773fac412d0500d24350e4a6d73775babb739f01d971
3
+ metadata.gz: 6ab4780027f2b1f8835f0fe5ad177afbb1ee954f95bd4fa76e92986bb8a31264
4
+ data.tar.gz: 5c1c49734258dd0c3c99cffa3564d99e140cfede4a6a117a6d3433902a019413
5
5
  SHA512:
6
- metadata.gz: '0389f0633ffba93ba0e5eb3e69dbf7017462ade823648ce3c490451ea0c5bd6c30a9a6c95b8e03f3111eb27cd6bdc4b766eb279b7c9c95f9feae77c6751c6b39'
7
- data.tar.gz: c2033581fb3e629ff440c3aada007804872dc2d5a9f495006a47dded1ad532d043b9a83bc8e12ae3bc9ddb4874c3bc6802e5ac5f2677a8182cee4e6c43e6267e
6
+ metadata.gz: a12613119005a7e9cf84d054b25c459aa6e6cc34e3e9001c11b55e72c3f76ca1566bc4e6737e1891e1445513ae1eb0b8cc247497312937a1a875740b7064afbf
7
+ data.tar.gz: e9de151e47fa1c555d2199d21539dcb52c27b5879dcb8ece7c822fc96c81f4a7e204a47d73602e349d38728defc38256759d1fb8ad0267369be46d168e0e770e
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [4.0.3](https://github.com/imgix/imgix-rb/compare/4.0.2...4.0.3) - May 05, 2021
7
+
8
+ * fix: encode web proxy paths using url_encode ([#111](https://github.com/imgix/imgix-rb/pull/111))
9
+
6
10
  ## [4.0.2](https://github.com/imgix/imgix-rb/compare/4.0.1...4.0.2) - April 22, 2021
7
11
 
8
12
  * fix(path): correctly encode reserved chars ([#108](https://github.com/imgix/imgix-rb/pull/108))
data/lib/imgix/path.rb CHANGED
@@ -146,7 +146,7 @@ module Imgix
146
146
 
147
147
  # URL encode the entire path
148
148
  def encode_URI_Component(path)
149
- return "/" + CGI.escape(path)
149
+ return "/" + ERB::Util.url_encode(path)
150
150
  end
151
151
 
152
152
  # URL encode every character in the path, including
data/lib/imgix/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Imgix
4
- VERSION = "4.0.2"
4
+ VERSION = "4.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imgix
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Sutton
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2021-04-26 00:00:00.000000000 Z
16
+ date: 2021-05-05 00:00:00.000000000 Z
17
17
  dependencies: []
18
18
  description: Easily create and sign imgix URLs.
19
19
  email:
@@ -50,8 +50,8 @@ licenses:
50
50
  metadata:
51
51
  bug_tracker_uri: https://github.com/imgix/imgix-rb/issues
52
52
  changelog_uri: https://github.com/imgix/imgix-rb/blob/main/CHANGELOG.md
53
- documentation_uri: https://www.rubydoc.info/gems/imgix/4.0.2
54
- source_code_uri: https://github.com/imgix/imgix-rb/tree/4.0.2
53
+ documentation_uri: https://www.rubydoc.info/gems/imgix/4.0.3
54
+ source_code_uri: https://github.com/imgix/imgix-rb/tree/4.0.3
55
55
  post_install_message:
56
56
  rdoc_options: []
57
57
  require_paths:
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.2.3
70
+ rubygems_version: 3.1.4
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Official Ruby Gem for easily creating and signing imgix URLs.