fastimage 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fastimage.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 902efb5765c025c827bb5f757f9516a5c2fb023c0d6113d98107a8f83435f9f6
4
- data.tar.gz: 2394630697a1bfc4cddfa102eecab62bb46df3feca9b0a9996ca52ec365045b9
3
+ metadata.gz: 2d0945496f100e228621d0ef69bb88b24a5dc137e47f1a1c868c547ca1b8866f
4
+ data.tar.gz: 5b78353d899bbf42cc46942275ebdc3f6938f732ad5e9d07201bddb1d52b0d1b
5
5
  SHA512:
6
- metadata.gz: de2b26a82e0ddd6587dcbbbcda836d2edcef668939f9bf37df5910b5cf2dbcda9fb3668146d72d802cb45fde546cc16c44e62845c0e82194c3a6d83598d9ecbd
7
- data.tar.gz: 720f45a86ef6c3261f2d66606c1fff42157738e4b4353f549eb576212d54ec8f6f934c229f22b62d0757c2db6784b8b2dae13b33a4a80ce60b15ea092d259b69
6
+ metadata.gz: 17d0ff83ffda0c353cab93a7fa4733681be77f81d1d3dbd67eecab795454c2e25bd341c0c6113d4e287aabef59c7f13327359c2449c469415ecff4d03011b178
7
+ data.tar.gz: 6aee4ed8228cb834492c8df5a69c5e4eab869460e81999fcdd5f0ce75745d4bf62b228140de92b08d8a10a63c4b39c3892a37dcb85e64baa2ca10b99b9fba7c8
@@ -332,6 +332,7 @@ class FastImage
332
332
  end
333
333
 
334
334
  def fetch_using_read(readable)
335
+ readable.rewind if readable.respond_to?(:rewind)
335
336
  # Pathnames respond to read, but always return the first
336
337
  # chunk of the file unlike an IO (even though the
337
338
  # docuementation for it refers to IO). Need to supply
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastimage
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Sykes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-09 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fakeweb-fi