image_info 1.2.1 → 1.2.2

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: 63cbd58db2b8b628c7f528ff2ce9690f40a763a132c67ea937f98d597fb0257f
4
- data.tar.gz: 9ccc45c1deae3feeb427e562aeeea871fe05d481581ff5418694c0a4a186b532
3
+ metadata.gz: 3c6bf190e81dbfaa3bf1d1470674de72142aea997133fe8012be3e3d92b0260b
4
+ data.tar.gz: 0a81e57307a2636dddadd69839fd7fe0c7f4c9ce7dede2d92f7e0539e41bb938
5
5
  SHA512:
6
- metadata.gz: 2bf805588e3ef219b58cb55c0b683c47bec714399871d648fb1e8b194ce9a1038fb6760897445befb23b2594e5d6d1ea051c922cd752cbe3fe87ccdf926e135b
7
- data.tar.gz: 70f0f260038e3985bdc741cefc15fca9e585038a8115030f16656e3ae7608f7d6e99dd080de3d840a0dca6949f3c9785898b9faef7b61ad90d65666a472e5791
6
+ metadata.gz: d8614adb1387885cfc238ccc4b2be121102582a9f026d4ab968204a489eaaedfa3436d3921573a0cc1785aed8dad5e6bb1fb524a70bcaa152f01cc60dfdf5db4
7
+ data.tar.gz: f2e91f9b98ca16146989ab14d578c899506ae62ea7ca7eb4f6fa4062c4a06ec1683ac91d5061cd329be3fdcce37238f347d6cd869052df5a457334fb2eba2a6b
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.2] - 2020-10-06
10
+ ### Fixed
11
+
12
+ - Fix an issue when we tried to explicitely set the URI port number
13
+
9
14
  ## [1.2.1] - 2020-09-28
10
15
  ### Added
11
16
 
@@ -57,7 +62,8 @@ size and type has been found.
57
62
 
58
63
  - First release 🎆
59
64
 
60
- [Unreleased]: https://github.com/gottfrois/image_info/compare/v1.2.1...HEAD
65
+ [Unreleased]: https://github.com/gottfrois/image_info/compare/v1.2.2...HEAD
66
+ [1.2.2]: https://github.com/gottfrois/image_info/compare/v1.2.1...v1.2.2
61
67
  [1.2.1]: https://github.com/gottfrois/image_info/compare/v1.2.0...v1.2.1
62
68
  [1.2.0]: https://github.com/gottfrois/image_info/compare/v1.1.2...v1.2.0
63
69
  [1.1.2]: https://github.com/gottfrois/image_info/compare/v1.1.1...v1.1.2
@@ -7,8 +7,7 @@ module ImageInfo
7
7
 
8
8
  def initialize(uri)
9
9
  @uri = ::Addressable::URI.parse(uri.to_s)
10
- @uri.scheme = 'http' unless @uri.scheme
11
- @uri.port = 80 unless @uri.port
10
+ @uri.scheme = 'http' unless @uri.scheme
12
11
  @uri.normalize!
13
12
  rescue ::Addressable::URI::InvalidURIError
14
13
  @uri = NullUri.new
@@ -1,3 +1,3 @@
1
1
  module ImageInfo
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.2.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre-Louis Gottfrois
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-28 00:00:00.000000000 Z
11
+ date: 2020-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable