pluto-feedfetcher 0.1.1 → 0.1.2

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: 2400c2cabca1baec24873c06c7a45ca3af9d381a
4
- data.tar.gz: '09dda2a27accb6953fbd197424bd1b360099982a'
3
+ metadata.gz: a3d38e5f21dc0dec7d7ceecf37aa9c66414a6282
4
+ data.tar.gz: 7c74e7bfb8c5e05b1d22b8773af983c6b9ddbb71
5
5
  SHA512:
6
- metadata.gz: 5bfcad496fc5f6c3008f520e19c3bb22d3db32b615a647ce56545ba26e29158b574409b29e80e5c3627082b833e58a3a7d682ab0810ef58171dd2382344cc630
7
- data.tar.gz: 8e61e9f1b671398dbe73ed6c543d2b1adacc4706b47821437cdeacea3f53d2f76e7f6545149c392fc13d5697308d2f796c8da182954e13b74fc9c6650ee33ca1
6
+ metadata.gz: 125263cf9a4447e8459e5b43374a209ff0afd489ad94b52180e90ca7fd2cf4f4b15293fcf58c302f45a37ebb2b77987a32862456641698bb79f0245893649d57
7
+ data.tar.gz: 1298797fab13d0097f27858cb8a5e5e2ff9ded8fd120b985c445c4ab0c40c0adc1b7fc084814d3b6d94479358f3da964c39acf024ff50017782519512ef95039
File without changes
data/Manifest.txt CHANGED
@@ -1,8 +1,8 @@
1
- HISTORY.md
2
- Manifest.txt
3
- README.md
4
- Rakefile
5
- lib/pluto/feedfetcher.rb
6
- lib/pluto/feedfetcher/basic.rb
7
- lib/pluto/feedfetcher/cond_get_with_cache.rb
8
- lib/pluto/feedfetcher/version.rb
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/pluto/feedfetcher.rb
6
+ lib/pluto/feedfetcher/basic.rb
7
+ lib/pluto/feedfetcher/cond_get_with_cache.rb
8
+ lib/pluto/feedfetcher/version.rb
data/Rakefile CHANGED
@@ -15,17 +15,17 @@ Hoe.spec 'pluto-feedfetcher' do
15
15
 
16
16
  # switch extension to .markdown for gihub formatting
17
17
  self.readme_file = 'README.md'
18
- self.history_file = 'HISTORY.md'
18
+ self.history_file = 'CHANGELOG.md'
19
19
 
20
20
  self.extra_deps = [
21
- ['pluto-models', '>= 1.3.2'],
22
- ['fetcher', '>= 0.4.4'],
21
+ ['pluto-models', '>= 1.5.2'],
22
+ ['fetcher', '>= 0.4.5'],
23
23
  ]
24
24
 
25
25
  self.licenses = ['Public Domain']
26
26
 
27
27
  self.spec_extras = {
28
- required_ruby_version: '>= 1.9.2'
28
+ required_ruby_version: '>= 2.2.2'
29
29
  }
30
30
 
31
31
  end
@@ -67,7 +67,7 @@ class FeedFetcherCondGetWithCache
67
67
  md5: nil,
68
68
  fetched: feed_fetched
69
69
  }
70
- feed_rec.update_attributes!( feed_attribs )
70
+ feed_rec.update!( feed_attribs )
71
71
 
72
72
  ## add log error activity -- in future add to error log - better - why? why not?
73
73
  Activity.create!( text: "*** error: fetching feed '#{feed_key}' - HTTP status #{response.code} #{response.message}" )
@@ -162,7 +162,7 @@ class FeedFetcherCondGetWithCache
162
162
  # in the future check for different charset than utf-8 ?? possible?? how to deal with non-utf8 charsets??
163
163
 
164
164
  begin
165
- feed_rec.update_attributes!( feed_attribs )
165
+ feed_rec.update!( feed_attribs )
166
166
  rescue Exception => e
167
167
  # log db error; and continue
168
168
  logger.error "*** error: updating feed database record '#{feed_key}' - #{e.to_s}"
@@ -4,7 +4,7 @@ module PlutoFeedFetcher
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- PATCH = 1
7
+ PATCH = 2
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-26 00:00:00.000000000 Z
11
+ date: 2020-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pluto-models
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.2
19
+ version: 1.5.2
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.3.2
26
+ version: 1.5.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fetcher
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.4.4
33
+ version: 0.4.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.4.4
40
+ version: 0.4.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,11 +72,11 @@ email: wwwmake@googlegroups.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files:
75
- - HISTORY.md
75
+ - CHANGELOG.md
76
76
  - Manifest.txt
77
77
  - README.md
78
78
  files:
79
- - HISTORY.md
79
+ - CHANGELOG.md
80
80
  - Manifest.txt
81
81
  - README.md
82
82
  - Rakefile
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - ">="
100
100
  - !ruby/object:Gem::Version
101
- version: 1.9.2
101
+ version: 2.2.2
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - ">="