feedium 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 693d68af4b2a4ee667dab9489976653329120312
4
- data.tar.gz: 7b14b3eb1a4d6a5a31c580b1498bba468f3b6266
3
+ metadata.gz: a623533c3b3481c071ddc840d3cc1de3a9394ecc
4
+ data.tar.gz: c868ef117f2d8d2efa6de0246c0897a8d24fb973
5
5
  SHA512:
6
- metadata.gz: 3eadf2234c5338aa378fabc9093c0abc4d288f51ddac0c75dc7ebebb192ec5cb6236f878d04299b72ed54022354693ed8f7b05223a951158bb68adb5da79a41d
7
- data.tar.gz: 51b06aac9be896223673341f95354207deecb85130ba4656f64acbac06b1f627dfdd5778e4e11147a3afe5f1419073b55d49c2d661bbc866bb722687217ee4a9
6
+ metadata.gz: 750503cb57adcd45da96ae582026b649e3793b6cdf92801f2994ebb5863855a1d62d6153c53f337e3b65b62bf6cf586ca3775962d78ec0ffdf828d69774c6cf8
7
+ data.tar.gz: ace8902a68177ce88e91c1a5eace6ba886d6a468d55edc6a16da8511f04ed739de017a87893398097614e0ff7b59d86e343685eb5a29fa7b84629acd4a667cc7
@@ -33,7 +33,7 @@ class Feedium::Request
33
33
  'User-Agent' => 'Feedium'
34
34
  })
35
35
  rescue Net::ReadTimeout => e
36
- raise Feedium::RequestError.new(e.message)
36
+ raise Feedium::RequestError.new(e.message == 'Net::ReadTimeout' ? '598 Network Read Timeout Error' : e.message)
37
37
  rescue OpenURI::HTTPError => e
38
38
  raise Feedium::RequestError.new(e.message)
39
39
  rescue Errno::ECONNREFUSED => e
@@ -1,3 +1,3 @@
1
1
  module Feedium
2
- VERSION = "0.1.5"
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler