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 +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/image_info/image.rb +1 -2
- data/lib/image_info/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c6bf190e81dbfaa3bf1d1470674de72142aea997133fe8012be3e3d92b0260b
|
4
|
+
data.tar.gz: 0a81e57307a2636dddadd69839fd7fe0c7f4c9ce7dede2d92f7e0539e41bb938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8614adb1387885cfc238ccc4b2be121102582a9f026d4ab968204a489eaaedfa3436d3921573a0cc1785aed8dad5e6bb1fb524a70bcaa152f01cc60dfdf5db4
|
7
|
+
data.tar.gz: f2e91f9b98ca16146989ab14d578c899506ae62ea7ca7eb4f6fa4062c4a06ec1683ac91d5061cd329be3fdcce37238f347d6cd869052df5a457334fb2eba2a6b
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
data/lib/image_info/image.rb
CHANGED
@@ -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'
|
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
|
data/lib/image_info/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|