local-fastimage 3.1.1 → 3.1.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: 2302e6975dcaf2683a11cab33506ba5ea5ba0a32c8c81c33e3c75ef99553eea4
4
- data.tar.gz: 2000d9b19e5421d398bea8ba1006e655b3cdeb32db81d88f8253d2b865285c52
3
+ metadata.gz: 1547c022ef7ecf63767023a8bd24bcb016e2c1bff24ccb7193d6b8f88f3339c9
4
+ data.tar.gz: f4bb71ea12774d813126d89211040f10e85d82c2e51befda28e28b9a00793339
5
5
  SHA512:
6
- metadata.gz: d8d4fe6b720fd3338284d56c812272ae6e884d7b38c027217ff0daf98709252a1d402648d9ea4d938b452330150811bfe3ab10e5d6bc85a8cb18e280daa08c5b
7
- data.tar.gz: a3f711fe62a0fff78b311eacebc9d66f668684b6d0c29dfb32cb91e1a4197af71275750d994da9c82f13740a8fa5ccae7f4bb188b1a032b007f5898568b8ddff
6
+ metadata.gz: 228a4a7378de4d7587ba305ffb6119ebef3c882ae62f129747599177bc17cd6d8b75a43bf94325b59961b0da2d333d7b68c564870e03ed12e07ce3533be6bac2
7
+ data.tar.gz: 8ad4d3bddf74a2fbccde5c9b33b199ab7b925e9d9412769196816d0cc4327f761d349f7b9bcf5fbc028c73cda86a04223bfc2e40c4fbc968ee2d7b09c815af19
@@ -1,3 +1,10 @@
1
+ # 3.1.2 - 2018-05-09
2
+
3
+ Bug fix
4
+
5
+ * Handle directories gracefully, i.e. the same way as we're dealing with missing
6
+ files.
7
+
1
8
  # 3.1.1 - 2018-05-02
2
9
 
3
10
  Bug fix
@@ -152,7 +152,7 @@ class FastImage
152
152
 
153
153
  raise SizeNotFound if @options[:raise_on_failure] && @property == :size && !@size
154
154
 
155
- rescue ImageFetchFailure, EOFError, Errno::ENOENT
155
+ rescue ImageFetchFailure, EOFError, Errno::ENOENT, Errno::EISDIR
156
156
  raise ImageFetchFailure if @options[:raise_on_failure]
157
157
  rescue UnknownImageType
158
158
  raise UnknownImageType if @options[:raise_on_failure]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FastImage
4
- VERSION = "3.1.1"
4
+ VERSION = "3.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: local-fastimage
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Sykes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-02 00:00:00.000000000 Z
12
+ date: 2018-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler