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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3d38e5f21dc0dec7d7ceecf37aa9c66414a6282
4
- data.tar.gz: 7c74e7bfb8c5e05b1d22b8773af983c6b9ddbb71
3
+ metadata.gz: b9470835c8f1623ea6f22a98b2f25a2868a66085
4
+ data.tar.gz: b3ab3b27196623c756a5e3d74905c1106b272deb
5
5
  SHA512:
6
- metadata.gz: 125263cf9a4447e8459e5b43374a209ff0afd489ad94b52180e90ca7fd2cf4f4b15293fcf58c302f45a37ebb2b77987a32862456641698bb79f0245893649d57
7
- data.tar.gz: 1298797fab13d0097f27858cb8a5e5e2ff9ded8fd120b985c445c4ab0c40c0adc1b7fc084814d3b6d94479358f3da964c39acf024ff50017782519512ef95039
6
+ metadata.gz: 9fcc583f96663cbfe9907d4049ff0aafe73cabc4a1dae3572d82cfda65839339ed7e710aec405f6e6a7e45a4f2b0012452de1cdb0117a06ab0cd7b5e0054d686
7
+ data.tar.gz: 94fd664bfb5515dc4d845485e86d971be197be3f3a01e50e7b17304396cbe02a800d18e859bf55a9231208ce98c54ea4378da70798719947defe6ebfbcae2d65
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Hoe.spec 'pluto-feedfetcher' do
18
18
  self.history_file = 'CHANGELOG.md'
19
19
 
20
20
  self.extra_deps = [
21
- ['pluto-models', '>= 1.5.2'],
21
+ ['pluto-models', '>= 1.5.3'],
22
22
  ['fetcher', '>= 0.4.5'],
23
23
  ]
24
24
 
@@ -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
@@ -4,7 +4,7 @@ module PlutoFeedFetcher
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- PATCH = 2
7
+ PATCH = 3
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
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.2
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-26 00:00:00.000000000 Z
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.2
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.2
26
+ version: 1.5.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fetcher
29
29
  requirement: !ruby/object:Gem::Requirement