url_fetcher 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/url_fetcher.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9991d0da25a1994e5e1d046ce3f267473ca50158
4
- data.tar.gz: b908958f96b23b0777be7b4db2017a124f2837e0
3
+ metadata.gz: 2dbde7a27d7e7441e8d696b19abd92a5620d16b5
4
+ data.tar.gz: c529f146d8d639c192628be85e572483101e74be
5
5
  SHA512:
6
- metadata.gz: 4fd94a1f0dfbb1240e3e5ddc4184ca09c3e408a717c099c13b385b3f15387dac8c4eca17970053ccf281a1f872335dc939c2c84e1adfce4e7264496bfdad0db3
7
- data.tar.gz: 426266e185736573cb24e2b6ac5c0787e3e2458b58c155857b263b7b6ff2a195a8decbc65bb7da0d7e92f54a67ee928c140c8105f085342ebf7476e96eb7be1f
6
+ metadata.gz: 73b5811701f57cb071bfca879d84f5fcf04f55033133bf9080312127648dc6c6b3c4ee118ef1dbfffe411644a80a518d33fedceb2bdbe9708ca771513e53790c
7
+ data.tar.gz: 09f1118945a849e0fda4e58bd1946fa70546e6bba8af63d4e51ab7e3419ff5a6b7aa47080adef7c5631c09edb72685bbdf2199beb7a507375e12d174a29b7dee
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
data/lib/url_fetcher.rb CHANGED
@@ -35,7 +35,7 @@ class UrlFetcher
35
35
  end
36
36
 
37
37
  def close
38
- body.close unless body.closed?
38
+ body.close if body && !body.closed?
39
39
  end
40
40
 
41
41
  def closed?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url_fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - weheartit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable