feedium 0.1.7 → 0.1.8

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: 87bb2ca448ee83469233e386786cd2eb0ca79769
4
- data.tar.gz: 8cf645f6f608dae97d64d09d484316d831a2bbb7
3
+ metadata.gz: 88e09c4e19588e353222c2e1acf629fa23a296dd
4
+ data.tar.gz: 74cd929cc1d75047ee71656cc1980cde167a6c20
5
5
  SHA512:
6
- metadata.gz: 6a3db6240adb8c5dfc7e0df4bebc0f6a3c1845b6981aee11be381ad7471bdd2a943f5dec61e7eea00cf5ff1e8ef1422edb5bfbbf7e2ae2c173c4afeb3f55f5e7
7
- data.tar.gz: b5a2b8fefe268e6be2d6104c6abdf0e654125879ec27d15210a839fccb0b628f10e704b204f46b345e7a46a3bec620bdbc903daf494cdc3c12da370becb93cbd
6
+ metadata.gz: b539844393655def8253380f6f5d0bab699a80d3a3bd2763eb004212d29d2402b7b0e8284f1518f56bb8ecb044c601fd94aab932c8782b01ad939fa7bc9cc6a8
7
+ data.tar.gz: 06d966f060970c067ee085273f5d7e38edfeaa359f6889df08f8a7a82c2c20501dbf73374dfd46b3cd6473f8a6c0dc53aee835d5cc2f96032f523d71a672e3b7
data/examples/parse.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
  require File.join(dir, 'feedium')
3
3
 
4
- # puts Feedium.parse('http://mangastream.com/rss')
5
- puts Feedium.find('http://www.gazzettadelsud.it/feed.jsp')
4
+ puts Feedium.parse('http://mangastream.com/rss')
@@ -36,6 +36,8 @@ class Feedium::Request
36
36
  })
37
37
  rescue Net::ReadTimeout => e
38
38
  raise Feedium::RequestError.new(e.message == 'Net::ReadTimeout' ? '598 Network Read Timeout Error' : e.message)
39
+ rescue Net::OpenTimeout => e
40
+ raise Feedium::RequestError.new(e.message)
39
41
  rescue OpenURI::HTTPError => e
40
42
  raise Feedium::RequestError.new(e.message)
41
43
  rescue Errno::ECONNREFUSED => e
@@ -1,3 +1,3 @@
1
1
  module Feedium
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
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.7
4
+ version: 0.1.8
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-21 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler