pluto-feedfetcher 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/pluto/feedfetcher/cond_get_with_cache.rb +3 -3
- data/lib/pluto/feedfetcher/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9470835c8f1623ea6f22a98b2f25a2868a66085
|
4
|
+
data.tar.gz: b3ab3b27196623c756a5e3d74905c1106b272deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fcc583f96663cbfe9907d4049ff0aafe73cabc4a1dae3572d82cfda65839339ed7e710aec405f6e6a7e45a4f2b0012452de1cdb0117a06ab0cd7b5e0054d686
|
7
|
+
data.tar.gz: 94fd664bfb5515dc4d845485e86d971be197be3f3a01e50e7b17304396cbe02a800d18e859bf55a9231208ce98c54ea4378da70798719947defe6ebfbcae2d65
|
data/Rakefile
CHANGED
@@ -33,11 +33,11 @@ class FeedFetcherCondGetWithCache
|
|
33
33
|
|
34
34
|
begin
|
35
35
|
response = @worker.get( feed_url )
|
36
|
-
rescue SocketError => e
|
36
|
+
rescue SocketError, SystemCallError => e
|
37
37
|
## catch socket error for unknown domain names (e.g. pragdave.blogs.pragprog.com)
|
38
38
|
### will result in SocketError -- getaddrinfo: Name or service not known
|
39
|
-
logger.error "*** error: fetching feed '#{feed_key}' - #{e.to_s}"
|
40
|
-
Activity.create!( text: "*** error: fetching feed '#{feed_key}' - #{e.to_s}" )
|
39
|
+
logger.error "*** error: fetching feed '#{feed_key}' - [#{e.class.name}] #{e.to_s}"
|
40
|
+
Activity.create!( text: "*** error: fetching feed '#{feed_key}' - [#{e.class.name}] #{e.to_s}" )
|
41
41
|
|
42
42
|
### todo/fix: update feed rec in db
|
43
43
|
@worker.use_cache = false # fix/todo: restore old use_cache setting instead of false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluto-feedfetcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pluto-models
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.5.
|
19
|
+
version: 1.5.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.5.
|
26
|
+
version: 1.5.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fetcher
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|