planet 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/planet +10 -10
- data/lib/planet/blog.rb +1 -1
- data/lib/planet/parsers.rb +1 -0
- data/lib/planet/version.rb +1 -1
- metadata +54 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1f4989634ecdb5454e840c0b88c0c129421193c
|
4
|
+
data.tar.gz: f473dbb805e8e7bdc5aff4322c039bef7083e762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77850b377fdf5b87cafa6db8d8d3028d2af975fe7fe094a3d10c348b54a56a052e3e56d2c5232cfe9b26b8500e0e62f4d6a2784550560a38e598916d08516817
|
7
|
+
data.tar.gz: 4520ba82e6a3e2448589faa2a9c88499a429615c10322ec29759067b98a5983f00ef869c6a04d4498d54490781d20854ac87c276e9943867eac791cc92934f65
|
data/bin/planet
CHANGED
@@ -97,7 +97,7 @@ command :update_templates do |c|
|
|
97
97
|
File.delete(author) if File.exists?(author)
|
98
98
|
File.delete(header) if File.exists?(header)
|
99
99
|
|
100
|
-
response = `#{$0} -
|
100
|
+
response = `#{$0} -c #{global_options[:config]} create_templates`
|
101
101
|
puts response
|
102
102
|
end
|
103
103
|
end
|
@@ -153,7 +153,7 @@ __END__
|
|
153
153
|
title: "{{ post_title }}"
|
154
154
|
kind: article
|
155
155
|
created_at: {{ post_date }}
|
156
|
-
author: {{ author }}
|
156
|
+
author: "{{ author }}"
|
157
157
|
categories: {{ blog_categories }}
|
158
158
|
tags: {{ blog_tags }}
|
159
159
|
layout: post
|
@@ -170,15 +170,15 @@ planet:
|
|
170
170
|
|
171
171
|
blogs:
|
172
172
|
# Bare minimum to get it working
|
173
|
-
- author: "
|
174
|
-
feed: "http://
|
175
|
-
image: "http://
|
173
|
+
- author: "Sample: RSS Specifications"
|
174
|
+
feed: "http://www.rss-specifications.com/blog-feed.xml"
|
175
|
+
image: "http://www.rss-specifications.com/rss-spec-rss.gif"
|
176
176
|
|
177
|
-
- author: "
|
178
|
-
feed: "http://
|
179
|
-
image: "http://
|
177
|
+
- author: "Anonimus Author"
|
178
|
+
feed: "http://www.feedforall.com/sample.xml"
|
179
|
+
image: "http://www.feedforall.com/ffalogo48x48.gif"
|
180
180
|
# Other fields:
|
181
181
|
twitter: "poteland"
|
182
182
|
categories: "programming"
|
183
|
-
tags: "
|
184
|
-
url: "http://
|
183
|
+
tags: "test rss feed"
|
184
|
+
url: "http://www.feedforall.com/sample-feeds.htm" # => only required for people that don\'t have a \'url\' field on their RSS/Atom field'
|
data/lib/planet/blog.rb
CHANGED
@@ -47,7 +47,7 @@ class Planet
|
|
47
47
|
# parser instances should mimick Feedzirra interface
|
48
48
|
parser.fetch_and_parse(self.feed,
|
49
49
|
:on_success => lambda { |url, feed| on_fetch_success(feed) },
|
50
|
-
:on_failure => lambda { |url,
|
50
|
+
:on_failure => lambda { |url, response| puts "\t=> Failed to fetch #{url.inspect} the server returned: #{response}" })
|
51
51
|
end
|
52
52
|
|
53
53
|
def on_fetch_success(feed)
|
data/lib/planet/parsers.rb
CHANGED
data/lib/planet/version.rb
CHANGED
metadata
CHANGED
@@ -1,100 +1,137 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: planet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PoTe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.12'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.12.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.12'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.12.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: feedjira
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.3'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: 1.3.1
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.3'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
52
|
+
version: 1.3.1
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: mustache
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.99'
|
45
60
|
- - ">="
|
46
61
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
62
|
+
version: 0.99.6
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.99'
|
52
70
|
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
72
|
+
version: 0.99.6
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: box
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.1'
|
59
80
|
- - ">="
|
60
81
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
82
|
+
version: 0.1.1
|
62
83
|
type: :runtime
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.1'
|
66
90
|
- - ">="
|
67
91
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
92
|
+
version: 0.1.1
|
69
93
|
- !ruby/object:Gem::Dependency
|
70
94
|
name: stringex
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|
72
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '2.5'
|
73
100
|
- - ">="
|
74
101
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
102
|
+
version: 2.5.2
|
76
103
|
type: :runtime
|
77
104
|
prerelease: false
|
78
105
|
version_requirements: !ruby/object:Gem::Requirement
|
79
106
|
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '2.5'
|
80
110
|
- - ">="
|
81
111
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
112
|
+
version: 2.5.2
|
83
113
|
- !ruby/object:Gem::Dependency
|
84
114
|
name: sanitize
|
85
115
|
requirement: !ruby/object:Gem::Requirement
|
86
116
|
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '3.0'
|
87
120
|
- - ">="
|
88
121
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
122
|
+
version: 3.0.0
|
90
123
|
type: :runtime
|
91
124
|
prerelease: false
|
92
125
|
version_requirements: !ruby/object:Gem::Requirement
|
93
126
|
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '3.0'
|
94
130
|
- - ">="
|
95
131
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
description:
|
132
|
+
version: 3.0.0
|
133
|
+
description: |2
|
134
|
+
A feed aggregator implementation intended to be used with Octopress/Jekyll
|
98
135
|
email: pote@tardis.com.uy
|
99
136
|
executables:
|
100
137
|
- planet
|
@@ -130,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
167
|
version: '0'
|
131
168
|
requirements: []
|
132
169
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
170
|
+
rubygems_version: 2.4.8
|
134
171
|
signing_key:
|
135
172
|
specification_version: 4
|
136
|
-
summary:
|
173
|
+
summary: Feed aggregator for Octopress/Jekyll
|
137
174
|
test_files: []
|