pluto-update 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cab5151cc7be3216603e278be99cf277f8272e3
4
- data.tar.gz: f263272dc082e8711c86b35b483d5c728ae3e84b
3
+ metadata.gz: f2c39c679b5e97b024fba66c5d5df0225830b862
4
+ data.tar.gz: 7e8c0bf4cc0202b10d213b51461f23cb38c9c117
5
5
  SHA512:
6
- metadata.gz: c9f15b1922b07931ced857ae9da048cce89d13fe3bde2fdec09600869752aaa9424fca3dd1e42d6f2ae159b59e797c8fc8cc5cdc6533bbab0d70cb0c0776855d
7
- data.tar.gz: 2d3a986e53d7d81a8817753ed9272056b0fe59cf7835af224237d9fc595de2be3fd0f4770b4b042ec03ddd16a4aa8b27577225f8ffc8c0e1fac17c6700a579e4
6
+ metadata.gz: 51cf3485b408140293d2c4285ab7e78f38c8765fb24bd11b8b66d029949051814adf0a1f1b794ce3dab9179b3b40970ed47efb04c8e7b1d9fbf717bd5edbeffa
7
+ data.tar.gz: 0ab85c28798d5791cba798aa1969766392fdda84ee784663e16f629a7ac954d7396f8bbf32f3874acf1aa1cb5204952ef9771ceb17995483206d4439f3279fe8
File without changes
data/Manifest.txt CHANGED
@@ -1,12 +1,12 @@
1
- HISTORY.md
2
- Manifest.txt
3
- README.md
4
- Rakefile
5
- lib/pluto/update.rb
6
- lib/pluto/update/feed_refresher.rb
7
- lib/pluto/update/site_fetcher.rb
8
- lib/pluto/update/site_refresher.rb
9
- lib/pluto/update/version.rb
10
- test/data/ruby.ini
11
- test/helper.rb
12
- test/test_refresh.rb
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/pluto/update.rb
6
+ lib/pluto/update/feed_refresher.rb
7
+ lib/pluto/update/site_fetcher.rb
8
+ lib/pluto/update/site_refresher.rb
9
+ lib/pluto/update/version.rb
10
+ test/data/ruby.ini
11
+ test/helper.rb
12
+ test/test_refresh.rb
data/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # pluto-update gem - planet feed 'n' subscription updater
2
2
 
3
- * home :: [github.com/feedreader/pluto.update](https://github.com/feedreader/pluto.update)
4
- * bugs :: [github.com/feedreader/pluto.update/issues](https://github.com/feedreader/pluto.update/issues)
3
+ * home :: [github.com/feedreader/pluto](https://github.com/feedreader/pluto)
4
+ * bugs :: [github.com/feedreader/pluto/issues](https://github.com/feedreader/pluto/issues)
5
5
  * gem :: [rubygems.org/gems/pluto-update](https://rubygems.org/gems/pluto-update)
6
6
  * rdoc :: [rubydoc.info/gems/pluto-update](http://rubydoc.info/gems/pluto-update)
7
- * forum :: [groups.google.com/group/feedreader](http://groups.google.com/group/feedreader)
7
+ * forum :: [groups.google.com/group/wwwmake](http://groups.google.com/group/wwwmake)
8
8
 
9
9
 
10
10
 
11
11
  ## Usage
12
12
 
13
- ### Planet Configuration Sample
13
+ ### Planet Configuration Sample
14
14
 
15
15
  `ruby.ini`:
16
16
 
@@ -26,11 +26,6 @@ title = Planet Ruby
26
26
  title = Ruby on Rails Blog
27
27
  link = http://weblog.rubyonrails.org
28
28
  feed = http://weblog.rubyonrails.org/feed/atom.xml
29
-
30
- [viennarb]
31
- title = vienna.rb Blog
32
- link = http://vienna-rb.at
33
- feed = http://vienna-rb.at/atom.xml
34
29
  ```
35
30
 
36
31
  For more samples, see [`nytimes.ini`](https://github.com/feedreader/planets/blob/master/nytimes.ini),
@@ -45,14 +40,14 @@ For more samples, see [`nytimes.ini`](https://github.com/feedreader/planets/blob
45
40
  #### Meetup
46
41
 
47
42
  ```
48
- meetup = vienna-rb
43
+ meetup = parisrb
49
44
  ```
50
45
 
51
46
  gets auto-completed to
52
47
 
53
48
  ```
54
- link = http://www.meetup.com/vienna-rb
55
- feed = http://www.meetup.com/vienna-rb/events/rss/vienna.rb/
49
+ link = http://www.meetup.com/parisrb
50
+ feed = http://www.meetup.com/parisrb/events/rss/parisrb/
56
51
  ```
57
52
 
58
53
  #### Google Groups
@@ -95,12 +90,15 @@ feed = http://rubygems.org/gems/jekyll/versions.atom
95
90
  ```
96
91
 
97
92
 
93
+
98
94
  ## License
99
95
 
96
+ ![](https://publicdomainworks.github.io/buttons/zero88x31.png)
97
+
100
98
  The `pluto-update` scripts are dedicated to the public domain.
101
99
  Use it as you please with no restrictions whatsoever.
102
100
 
103
101
  ## Questions? Comments?
104
102
 
105
- Send them along to the [Planet Pluto and Friends Forum/Mailing List](http://groups.google.com/group/feedreader).
103
+ Send them along to the [wwwmake Forum/Mailing List](http://groups.google.com/group/wwwmake).
106
104
  Thanks!
data/Rakefile CHANGED
@@ -8,26 +8,26 @@ Hoe.spec 'pluto-update' do
8
8
  self.summary = "pluto-update - planet feed 'n' subscription updater"
9
9
  self.description = summary
10
10
 
11
- self.urls = ['https://github.com/feedreader/pluto.update']
11
+ self.urls = ['https://github.com/feedreader/pluto']
12
12
 
13
13
  self.author = 'Gerald Bauer'
14
14
  self.email = 'feedreader@googlegroups.com'
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.4.0'],
22
- ['pluto-feedfetcher', '>= 0.1.0'],
23
- ['fetcher', '>= 0.4.4'],
21
+ ['pluto-models', '>= 1.5.2'],
22
+ ['pluto-feedfetcher', '>= 0.1.2'],
23
+ ['fetcher', '>= 0.4.5'],
24
24
  ['preproc', '>= 0.1.0'],
25
25
  ]
26
26
 
27
27
  self.licenses = ['Public Domain']
28
28
 
29
29
  self.spec_extras = {
30
- required_ruby_version: '>= 1.9.2'
30
+ required_ruby_version: '>= 2.2.2'
31
31
  }
32
32
 
33
33
  end
data/lib/pluto/update.rb CHANGED
@@ -42,4 +42,4 @@ end # module Pluto
42
42
 
43
43
 
44
44
  # say hello
45
- puts PlutoUpdate.banner if $DEBUG || (defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG)
45
+ puts PlutoUpdate.banner if $DEBUG || (defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG)
@@ -14,7 +14,7 @@ class FeedRefresher
14
14
  include Models
15
15
 
16
16
  def initialize
17
- ## @worker = FeedFetcherBasic.new ## -- simple fetch (strategy); no cache, no cond get etc.
17
+ ## @worker = FeedFetcherBasic.new ## -- simple fetch (strategy); no cache, no cond get etc.
18
18
  @worker = FeedFetcherCondGetWithCache.new
19
19
  end
20
20
 
@@ -66,10 +66,10 @@ class SiteFetcher
66
66
  http_server: response.header[ 'server' ],
67
67
  http_etag: nil,
68
68
  http_last_modified: nil,
69
- fetched: site_fetched
69
+ fetched: site_fetched
70
70
  }
71
- site_rec.update_attributes!( site_attribs )
72
-
71
+ site_rec.update!( site_attribs )
72
+
73
73
  ## add log error activity -- in future add to error log - better - why? why not?
74
74
  Activity.create!( text: "*** error: fetching site '#{site_key}' - HTTP status #{response.code} #{response.message}" )
75
75
 
@@ -94,7 +94,7 @@ class SiteFetcher
94
94
  puts "http header - last-modified: #{response.header['last-modified']} - #{response.header['last-modified'].class.name}"
95
95
  ## end
96
96
 
97
- site_rec.update_attributes!( site_attribs )
97
+ site_rec.update!( site_attribs )
98
98
 
99
99
 
100
100
  #################
@@ -57,4 +57,3 @@ private
57
57
  end # class SiteRefresher
58
58
 
59
59
  end # module Pluto
60
-
@@ -5,7 +5,7 @@ module PlutoUpdate
5
5
 
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
- PATCH = 0
8
+ PATCH = 1
9
9
  VERSION = [MAJOR,MINOR,PATCH].join('.')
10
10
 
11
11
  def self.version
@@ -22,4 +22,3 @@ module PlutoUpdate
22
22
  end
23
23
 
24
24
  end # module PlutoUpdate
25
-
data/test/data/ruby.ini CHANGED
@@ -1,5 +1,5 @@
1
1
  title = Planet Ruby
2
- source = https://github.com/feedreader/pluto.update/raw/master/test/data/ruby.ini
2
+ source = https://github.com/feedreader/pluto/raw/master/pluto-update/test/data/ruby.ini
3
3
 
4
4
  [rubylang]
5
5
  title = Ruby Lang News
@@ -11,8 +11,3 @@ source = https://github.com/feedreader/pluto.update/raw/master/test/data/ruby.in
11
11
  link = http://weblog.rubyonrails.org
12
12
  feed = http://weblog.rubyonrails.org/feed/atom.xml
13
13
 
14
- [viennarb]
15
- title = Vienna.rb News
16
- link = http://vienna-rb.at
17
- feed = http://vienna-rb.at/atom.xml
18
-
data/test/test_refresh.rb CHANGED
@@ -34,4 +34,3 @@ class TestRefresh < MiniTest::Test
34
34
  end
35
35
 
36
36
  end # class TestRefresh
37
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluto-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 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,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.0
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.4.0
26
+ version: 1.5.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pluto-feedfetcher
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.0
33
+ version: 0.1.2
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.1.0
40
+ version: 0.1.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fetcher
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.4
47
+ version: 0.4.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.4
54
+ version: 0.4.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: preproc
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,25 +86,24 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.13'
89
+ version: '3.16'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.13'
96
+ version: '3.16'
97
97
  description: pluto-update - planet feed 'n' subscription updater
98
98
  email: feedreader@googlegroups.com
99
99
  executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files:
102
- - HISTORY.md
102
+ - CHANGELOG.md
103
103
  - Manifest.txt
104
104
  - README.md
105
105
  files:
106
- - ".gemtest"
107
- - HISTORY.md
106
+ - CHANGELOG.md
108
107
  - Manifest.txt
109
108
  - README.md
110
109
  - Rakefile
@@ -116,7 +115,7 @@ files:
116
115
  - test/data/ruby.ini
117
116
  - test/helper.rb
118
117
  - test/test_refresh.rb
119
- homepage: https://github.com/feedreader/pluto.update
118
+ homepage: https://github.com/feedreader/pluto
120
119
  licenses:
121
120
  - Public Domain
122
121
  metadata: {}
@@ -130,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
129
  requirements:
131
130
  - - ">="
132
131
  - !ruby/object:Gem::Version
133
- version: 1.9.2
132
+ version: 2.2.2
134
133
  required_rubygems_version: !ruby/object:Gem::Requirement
135
134
  requirements:
136
135
  - - ">="
@@ -138,9 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
137
  version: '0'
139
138
  requirements: []
140
139
  rubyforge_project:
141
- rubygems_version: 2.4.2
140
+ rubygems_version: 2.5.2
142
141
  signing_key:
143
142
  specification_version: 4
144
143
  summary: pluto-update - planet feed 'n' subscription updater
145
- test_files:
146
- - test/test_refresh.rb
144
+ test_files: []
data/.gemtest DELETED
File without changes