pluto 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -18
- data/Rakefile +3 -3
- data/lib/pluto/cli/main.rb +3 -3
- data/lib/pluto/cli/sysinfo.rb +3 -2
- data/lib/pluto/cli/updater.rb +2 -10
- data/lib/pluto/cli/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a1333bbf4d46791b54f5b77b96d86dbaffcf3a4
|
4
|
+
data.tar.gz: 09d431c970583c027818e707f0f9a24791276fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c08d13ddf9fe2255d639353319687e3d8cc50df12b8d74dee0a162811775acc744929025bbb861f3606234c532e08baa333650cbd2ffd681a429bc3ae73420b9
|
7
|
+
data.tar.gz: 4ea0263e98596344b7a66d5c7c9d47e659f79b656c4a474d021c0af826ef8360239a4c56091f67c9c09a487ca1e559ade1115ecb9534d630f34fdf9f8d53701f
|
data/README.md
CHANGED
@@ -140,24 +140,6 @@ Just install the gem:
|
|
140
140
|
$ gem install pluto
|
141
141
|
|
142
142
|
|
143
|
-
|
144
|
-
## Alternatives
|
145
|
-
|
146
|
-
### Ruby
|
147
|
-
|
148
|
-
`planet.rb` by Akira Yamada [(Site)](http://planet.rubyforge.org)
|
149
|
-
|
150
|
-
`planet.rb` by Pablo Astigarraga [(Site)](https://github.com/pote/planet.rb) - used with jekyll/octopress site generator
|
151
|
-
|
152
|
-
Planet Mars by Sam Ruby [(Site)](https://github.com/rubys/mars) - first draft of cleaned up Planet Planet code; last change in 2008
|
153
|
-
|
154
|
-
### Python
|
155
|
-
|
156
|
-
Planet Planet by Scott James Remnant and Jeff Waugh [(Site)](http://www.planetplanet.org) - uses Mark Pilgrim's universal feed parser (RDF, RSS and Atom) and Tomas Styblo's templating engine; last release version 2.0 in 2006
|
157
|
-
|
158
|
-
Planet Venus by Sam Ruby [(Site)](https://github.com/rubys/venus) - cleaned up Planet Planet code; last change in 2010
|
159
|
-
|
160
|
-
|
161
143
|
## License
|
162
144
|
|
163
145
|
The `pluto` scripts are dedicated to the public domain.
|
data/Rakefile
CHANGED
@@ -18,10 +18,10 @@ Hoe.spec 'pluto' do
|
|
18
18
|
self.history_file = 'HISTORY.md'
|
19
19
|
|
20
20
|
self.extra_deps = [
|
21
|
-
['pluto-models', '>= 1.
|
22
|
-
['pluto-update', '>= 1.
|
21
|
+
['pluto-models', '>= 1.4.0'],
|
22
|
+
['pluto-update', '>= 1.6.0'],
|
23
23
|
['pluto-merge', '>= 1.1.0'],
|
24
|
-
['pluto-tasks', '>= 1.5.
|
24
|
+
['pluto-tasks', '>= 1.5.2'],
|
25
25
|
['gli', '>= 2.12.2'],
|
26
26
|
['sqlite3'],
|
27
27
|
]
|
data/lib/pluto/cli/main.rb
CHANGED
@@ -6,7 +6,7 @@ require 'gli'
|
|
6
6
|
include GLI::App
|
7
7
|
|
8
8
|
program_desc 'another planet generator (lets you build web pages from published web feeds)'
|
9
|
-
version
|
9
|
+
version PlutoCli::VERSION
|
10
10
|
|
11
11
|
|
12
12
|
## some setup code
|
@@ -380,8 +380,8 @@ pre do |g,c,o,args|
|
|
380
380
|
opts.merge_gli_options!( g )
|
381
381
|
opts.merge_gli_options!( o )
|
382
382
|
|
383
|
-
puts
|
384
|
-
|
383
|
+
puts PlutoCli.banner
|
384
|
+
|
385
385
|
LogUtils::Logger.root.level = :debug if opts.verbose?
|
386
386
|
|
387
387
|
logger.debug " executing command #{c.name}"
|
data/lib/pluto/cli/sysinfo.rb
CHANGED
@@ -17,12 +17,13 @@ class SysInfo
|
|
17
17
|
def dump
|
18
18
|
puts <<EOS
|
19
19
|
|
20
|
-
#{
|
20
|
+
#{PlutoCli.banner}
|
21
21
|
|
22
22
|
Gems versions:
|
23
23
|
- pakman #{Pakman::VERSION}
|
24
24
|
- fetcher #{Fetcher::VERSION}
|
25
|
-
-
|
25
|
+
- feedparser #{FeedParser::VERSION}
|
26
|
+
- feedfilter #{FeedFilter::VERSION}
|
26
27
|
- textutils #{TextUtils::VERSION}
|
27
28
|
- logutils #{LogKernel::VERSION}
|
28
29
|
- props #{Props::VERSION}
|
data/lib/pluto/cli/updater.rb
CHANGED
@@ -1,13 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
|
4
|
-
####
|
5
|
-
##
|
6
|
-
## todo:
|
7
|
-
## check if Updater used by pluto-tasks???
|
8
|
-
### if NOT - move to pluto ( use commands/updater or something)
|
9
|
-
##
|
10
|
-
|
11
4
|
|
12
5
|
module Pluto
|
13
6
|
|
@@ -50,11 +43,10 @@ class Updater
|
|
50
43
|
|
51
44
|
###################
|
52
45
|
# step 1) update site subscriptions
|
53
|
-
site_updater = SiteUpdater.new
|
54
46
|
|
55
47
|
# pass along debug/verbose setting/switch
|
56
|
-
site_updater.debug = true if opts.verbose?
|
57
|
-
|
48
|
+
## site_updater.debug = true if opts.verbose?
|
49
|
+
Model::Site.deep_create_or_update_from_hash!( site_key, config )
|
58
50
|
|
59
51
|
##############################
|
60
52
|
# step 2) update feeds
|
data/lib/pluto/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.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: 2015-01-
|
11
|
+
date: 2015-01-18 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.
|
19
|
+
version: 1.4.0
|
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.
|
26
|
+
version: 1.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pluto-update
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.6.0
|
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: 1.
|
40
|
+
version: 1.6.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pluto-merge
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.5.
|
61
|
+
version: 1.5.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.5.
|
68
|
+
version: 1.5.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gli
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|