automatic 13.6.0 → 13.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/automatic.gemspec +9 -10
- data/bin/automatic +2 -2
- data/doc/ChangeLog +10 -0
- data/doc/PLUGINS +41 -18
- data/doc/PLUGINS.ja +43 -19
- data/lib/automatic.rb +2 -2
- data/lib/automatic/feed_parser.rb +15 -1
- data/plugins/provide/fluentd.rb +37 -0
- data/plugins/subscription/g_guide.rb +11 -4
- data/plugins/subscription/link.rb +0 -1
- data/plugins/subscription/xml.rb +50 -0
- data/spec/lib/automatic_spec.rb +2 -2
- data/spec/plugins/provide/fluentd_spec.rb +48 -0
- data/spec/plugins/publish/fluentd_spec.rb +2 -2
- data/spec/plugins/subscription/g_guide_spec.rb +9 -3
- data/spec/plugins/subscription/xml_spec.rb +84 -0
- data/test/integration/test_add_pocket.yml +1 -0
- data/test/integration/test_fluentd.yml +3 -2
- data/test/integration/test_instapaper.yml +1 -0
- data/test/integration/test_one.yml +1 -0
- data/test/integration/test_pocket.yml +2 -0
- data/test/integration/test_rand.yml +1 -0
- data/test/integration/test_sanitize.yml +1 -0
- data/test/integration/test_text2feed.yml +1 -0
- data/test/integration/test_twitter_search.yml +1 -0
- data/test/integration/test_weather.yml +1 -0
- data/test/integration/test_xml2fluentd.yml +21 -0
- metadata +42 -98
- data/plugins/subscription/google_reader_star.rb +0 -66
- data/spec/plugins/subscription/google_reader_star_spec.rb +0 -74
- data/test/integration/test_googlestar.yml +0 -32
@@ -0,0 +1,50 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Name:: Automatic::Plugin::Subscription::Xml
|
3
|
+
# Author:: 774 <http://id774.net>
|
4
|
+
# Created:: Jul 12, 2013
|
5
|
+
# Updated:: Jul 12, 2013
|
6
|
+
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
|
7
|
+
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
|
+
|
9
|
+
module Automatic::Plugin
|
10
|
+
class SubscriptionXml
|
11
|
+
require 'open-uri'
|
12
|
+
require 'active_support'
|
13
|
+
require 'active_support/core_ext'
|
14
|
+
require 'rss'
|
15
|
+
|
16
|
+
def initialize(config, pipeline=[])
|
17
|
+
@config = config
|
18
|
+
@pipeline = pipeline
|
19
|
+
end
|
20
|
+
|
21
|
+
def run
|
22
|
+
@return_feeds = []
|
23
|
+
@config['urls'].each {|url|
|
24
|
+
retries = 0
|
25
|
+
begin
|
26
|
+
create_rss(URI.encode(url))
|
27
|
+
rescue
|
28
|
+
retries += 1
|
29
|
+
Automatic::Log.puts("error", "ErrorCount: #{retries}, Fault in parsing: #{url}")
|
30
|
+
sleep @config['interval'].to_i unless @config['interval'].nil?
|
31
|
+
retry if retries <= @config['retry'].to_i unless @config['retry'].nil?
|
32
|
+
end
|
33
|
+
}
|
34
|
+
@return_feeds
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
def create_rss(url)
|
39
|
+
Automatic::Log.puts("info", "Parsing: #{url}")
|
40
|
+
hash = Hash.from_xml(open(url).read)
|
41
|
+
json = hash.to_json
|
42
|
+
data = ActiveSupport::JSON.decode(json)
|
43
|
+
unless data.nil?
|
44
|
+
rss = Automatic::FeedParser.content_provide(url, data)
|
45
|
+
sleep @config['interval'].to_i unless @config['interval'].nil?
|
46
|
+
@return_feeds << rss
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
data/spec/lib/automatic_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Author:: kzgs
|
4
4
|
# 774 <http://id774.net>
|
5
5
|
# Created:: Mar 9, 2012
|
6
|
-
# Updated::
|
6
|
+
# Updated:: Jul 28, 2013
|
7
7
|
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
|
8
8
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
9
9
|
|
@@ -26,7 +26,7 @@ describe Automatic do
|
|
26
26
|
|
27
27
|
describe "#version" do
|
28
28
|
specify {
|
29
|
-
Automatic.const_get(:VERSION).should == "13.
|
29
|
+
Automatic.const_get(:VERSION).should == "13.7.0"
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Name:: Automatic::Plugin::Provide::Fluentd
|
3
|
+
# Author:: 774 <http://id774.net>
|
4
|
+
# Created:: Jul 12, 2013
|
5
|
+
# Updated:: Jul 12, 2013
|
6
|
+
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
|
7
|
+
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
|
+
|
9
|
+
require File.expand_path(File.dirname(__FILE__) + '../../../spec_helper')
|
10
|
+
|
11
|
+
require 'provide/fluentd'
|
12
|
+
|
13
|
+
describe Automatic::Plugin::ProvideFluentd do
|
14
|
+
context 'when feed' do
|
15
|
+
describe 'should forward the feeds' do
|
16
|
+
hash = {}
|
17
|
+
hash['test1'] = "test2"
|
18
|
+
hash['test3'] = "test4"
|
19
|
+
expect = hash
|
20
|
+
|
21
|
+
feeds = []
|
22
|
+
json = hash.to_json
|
23
|
+
data = ActiveSupport::JSON.decode(json)
|
24
|
+
url = "http://id774.net/test/xml/data"
|
25
|
+
rss = Automatic::FeedParser.content_provide(url, data)
|
26
|
+
feeds << rss
|
27
|
+
|
28
|
+
subject {
|
29
|
+
Automatic::Plugin::ProvideFluentd.new(
|
30
|
+
{
|
31
|
+
'host' => "localhost",
|
32
|
+
'port' => "10000",
|
33
|
+
'tag' => "automatic_spec.provide_fluentd"
|
34
|
+
},
|
35
|
+
feeds
|
36
|
+
)
|
37
|
+
}
|
38
|
+
|
39
|
+
its (:run) {
|
40
|
+
fluentd = mock("fluentd")
|
41
|
+
subject.run.should have(1).feed
|
42
|
+
subject.instance_variable_get(:@pipeline)[0].items[0].content_encoded.class == Hash
|
43
|
+
subject.instance_variable_get(:@pipeline)[0].items[0].content_encoded.should == expect
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|
@@ -17,8 +17,8 @@ describe Automatic::Plugin::PublishFluentd do
|
|
17
17
|
Automatic::Plugin::PublishFluentd.new(
|
18
18
|
{
|
19
19
|
'host' => "localhost",
|
20
|
-
'port' => "
|
21
|
-
'tag' => "
|
20
|
+
'port' => "10000",
|
21
|
+
'tag' => "automatic_spec.publish_fluent"
|
22
22
|
},
|
23
23
|
AutomaticSpec.generate_pipeline{
|
24
24
|
feed {
|
@@ -28,12 +28,12 @@ describe 'Automatic::Plugin::SubscriptionGGuide' do
|
|
28
28
|
config = { 'keyword' => 'anime' }
|
29
29
|
subject { g_guide(config) }
|
30
30
|
|
31
|
-
|
32
|
-
should == URI.encode(
|
31
|
+
it 'feed_url' do
|
32
|
+
subject.feed_url(config['keyword']).should == URI.encode(
|
33
33
|
Automatic::Plugin::SubscriptionGGuide::G_GUIDE_RSS +
|
34
34
|
"condition.keyword=#{config['keyword']}&" +
|
35
35
|
'stationPlatformId=0&')
|
36
|
-
|
36
|
+
end
|
37
37
|
end
|
38
38
|
describe 'station is 地上波' do
|
39
39
|
config = { 'station' => '地上波' }
|
@@ -72,5 +72,11 @@ describe 'Automatic::Plugin::SubscriptionGGuide' do
|
|
72
72
|
subject { g_guide(config) }
|
73
73
|
its(:run) { should have(1).feed }
|
74
74
|
end
|
75
|
+
|
76
|
+
describe 'config keyword ","' do
|
77
|
+
config = { 'keyword' => 'おじゃる丸,忍たま', 'station' => '地上波' }
|
78
|
+
subject { g_guide(config) }
|
79
|
+
its(:run) { should have(2).feed }
|
80
|
+
end
|
75
81
|
end
|
76
82
|
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Name:: Automatic::Plugin::Subscription::Xml
|
3
|
+
# Author:: 774 <http://id774.net>
|
4
|
+
# Created:: Jul 12, 2013
|
5
|
+
# Updated:: Jul 12, 2013
|
6
|
+
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
|
7
|
+
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
|
+
|
9
|
+
require File.expand_path(File.dirname(__FILE__) + '../../../spec_helper')
|
10
|
+
|
11
|
+
require 'subscription/xml'
|
12
|
+
|
13
|
+
describe Automatic::Plugin::SubscriptionXml do
|
14
|
+
context "with empty URLs" do
|
15
|
+
subject {
|
16
|
+
Automatic::Plugin::SubscriptionXml.new(
|
17
|
+
{ 'urls' => [] })
|
18
|
+
}
|
19
|
+
|
20
|
+
its(:run) { should be_empty }
|
21
|
+
end
|
22
|
+
|
23
|
+
context "with URLs whose invalid URL" do
|
24
|
+
subject {
|
25
|
+
Automatic::Plugin::SubscriptionXml.new(
|
26
|
+
{ 'urls' => ["invalid_url"] }
|
27
|
+
)
|
28
|
+
}
|
29
|
+
|
30
|
+
its(:run) { should be_empty }
|
31
|
+
end
|
32
|
+
|
33
|
+
context "with URLs whose invalid Xml" do
|
34
|
+
subject {
|
35
|
+
Automatic::Plugin::SubscriptionXml.new(
|
36
|
+
{ 'urls' => [
|
37
|
+
"http://id774.net"]
|
38
|
+
}
|
39
|
+
)
|
40
|
+
}
|
41
|
+
|
42
|
+
its(:run) { should be_empty }
|
43
|
+
end
|
44
|
+
|
45
|
+
context "with URLs whose valid XML" do
|
46
|
+
subject {
|
47
|
+
Automatic::Plugin::SubscriptionXml.new(
|
48
|
+
{ 'urls' => [
|
49
|
+
"http://id774.net/test/xml/data"],
|
50
|
+
'interval' => 1
|
51
|
+
}
|
52
|
+
)
|
53
|
+
}
|
54
|
+
|
55
|
+
its(:run) { should have(1).item }
|
56
|
+
end
|
57
|
+
|
58
|
+
context "with retry to URLs whose valid XML" do
|
59
|
+
subject {
|
60
|
+
Automatic::Plugin::SubscriptionXml.new(
|
61
|
+
{ 'urls' => [
|
62
|
+
"http://id774.net/test/xml/data"],
|
63
|
+
'interval' => 2,
|
64
|
+
'retry' => 3
|
65
|
+
}
|
66
|
+
)
|
67
|
+
}
|
68
|
+
|
69
|
+
its(:run) { should have(1).item }
|
70
|
+
end
|
71
|
+
|
72
|
+
context "with retry to URLs whose invalid XML" do
|
73
|
+
subject {
|
74
|
+
Automatic::Plugin::SubscriptionXml.new(
|
75
|
+
{ 'urls' => ["invalid_url"],
|
76
|
+
'interval' => 1,
|
77
|
+
'retry' => 1
|
78
|
+
}
|
79
|
+
)
|
80
|
+
}
|
81
|
+
|
82
|
+
its(:run) { should be_empty }
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
global:
|
2
|
+
timezone: Asia/Tokyo
|
3
|
+
cache:
|
4
|
+
base: /tmp
|
5
|
+
log:
|
6
|
+
level: info
|
7
|
+
|
8
|
+
plugins:
|
9
|
+
- module: SubscriptionXml
|
10
|
+
config:
|
11
|
+
urls:
|
12
|
+
- http://id774.net/test/xml/data
|
13
|
+
|
14
|
+
- module: ProvideFluentd
|
15
|
+
config:
|
16
|
+
host: localhost
|
17
|
+
port: 10000
|
18
|
+
tag: automatic_test.provide_fluentd
|
19
|
+
|
20
|
+
# - module: PublishConsole
|
21
|
+
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
5
|
-
prerelease:
|
4
|
+
version: 13.7.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- id774
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: json
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,23 +27,20 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: sqlite3
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: activesupport
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: activerecord
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,23 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 4.0.0
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: actionmailer
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 4.0.0
|
86
|
-
type: :runtime
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
65
|
requirements:
|
91
66
|
- - ~>
|
92
67
|
- !ruby/object:Gem::Version
|
@@ -94,215 +69,188 @@ dependencies:
|
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: hashie
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
72
|
requirements:
|
99
|
-
- -
|
73
|
+
- - '>='
|
100
74
|
- !ruby/object:Gem::Version
|
101
75
|
version: '0'
|
102
76
|
type: :runtime
|
103
77
|
prerelease: false
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
79
|
requirements:
|
107
|
-
- -
|
80
|
+
- - '>='
|
108
81
|
- !ruby/object:Gem::Version
|
109
82
|
version: '0'
|
110
83
|
- !ruby/object:Gem::Dependency
|
111
84
|
name: gcalapi
|
112
85
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - '>='
|
116
88
|
- !ruby/object:Gem::Version
|
117
89
|
version: '0'
|
118
90
|
type: :runtime
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
93
|
requirements:
|
123
|
-
- -
|
94
|
+
- - '>='
|
124
95
|
- !ruby/object:Gem::Version
|
125
96
|
version: '0'
|
126
97
|
- !ruby/object:Gem::Dependency
|
127
98
|
name: xml-simple
|
128
99
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
100
|
requirements:
|
131
|
-
- -
|
101
|
+
- - '>='
|
132
102
|
- !ruby/object:Gem::Version
|
133
103
|
version: '0'
|
134
104
|
type: :runtime
|
135
105
|
prerelease: false
|
136
106
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
107
|
requirements:
|
139
|
-
- -
|
108
|
+
- - '>='
|
140
109
|
- !ruby/object:Gem::Version
|
141
110
|
version: '0'
|
142
111
|
- !ruby/object:Gem::Dependency
|
143
112
|
name: feedbag
|
144
113
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
114
|
requirements:
|
147
|
-
- -
|
115
|
+
- - '>='
|
148
116
|
- !ruby/object:Gem::Version
|
149
117
|
version: '0'
|
150
118
|
type: :runtime
|
151
119
|
prerelease: false
|
152
120
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
121
|
requirements:
|
155
|
-
- -
|
122
|
+
- - '>='
|
156
123
|
- !ruby/object:Gem::Version
|
157
124
|
version: '0'
|
158
125
|
- !ruby/object:Gem::Dependency
|
159
126
|
name: nokogiri
|
160
127
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
128
|
requirements:
|
163
|
-
- -
|
129
|
+
- - '>='
|
164
130
|
- !ruby/object:Gem::Version
|
165
131
|
version: '0'
|
166
132
|
type: :runtime
|
167
133
|
prerelease: false
|
168
134
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
135
|
requirements:
|
171
|
-
- -
|
136
|
+
- - '>='
|
172
137
|
- !ruby/object:Gem::Version
|
173
138
|
version: '0'
|
174
139
|
- !ruby/object:Gem::Dependency
|
175
140
|
name: sanitize
|
176
141
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
142
|
requirements:
|
179
|
-
- -
|
143
|
+
- - '>='
|
180
144
|
- !ruby/object:Gem::Version
|
181
145
|
version: '0'
|
182
146
|
type: :runtime
|
183
147
|
prerelease: false
|
184
148
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
149
|
requirements:
|
187
|
-
- -
|
150
|
+
- - '>='
|
188
151
|
- !ruby/object:Gem::Version
|
189
152
|
version: '0'
|
190
153
|
- !ruby/object:Gem::Dependency
|
191
154
|
name: twitter
|
192
155
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
156
|
requirements:
|
195
|
-
- -
|
157
|
+
- - '>='
|
196
158
|
- !ruby/object:Gem::Version
|
197
159
|
version: '0'
|
198
160
|
type: :runtime
|
199
161
|
prerelease: false
|
200
162
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
163
|
requirements:
|
203
|
-
- -
|
164
|
+
- - '>='
|
204
165
|
- !ruby/object:Gem::Version
|
205
166
|
version: '0'
|
206
167
|
- !ruby/object:Gem::Dependency
|
207
168
|
name: weather_hacker
|
208
169
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
170
|
requirements:
|
211
|
-
- -
|
171
|
+
- - '>='
|
212
172
|
- !ruby/object:Gem::Version
|
213
173
|
version: '0'
|
214
174
|
type: :runtime
|
215
175
|
prerelease: false
|
216
176
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
177
|
requirements:
|
219
|
-
- -
|
178
|
+
- - '>='
|
220
179
|
- !ruby/object:Gem::Version
|
221
180
|
version: '0'
|
222
181
|
- !ruby/object:Gem::Dependency
|
223
182
|
name: pocket-ruby
|
224
183
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
184
|
requirements:
|
227
|
-
- -
|
185
|
+
- - '>='
|
228
186
|
- !ruby/object:Gem::Version
|
229
187
|
version: '0'
|
230
188
|
type: :runtime
|
231
189
|
prerelease: false
|
232
190
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
191
|
requirements:
|
235
|
-
- -
|
192
|
+
- - '>='
|
236
193
|
- !ruby/object:Gem::Version
|
237
194
|
version: '0'
|
238
195
|
- !ruby/object:Gem::Dependency
|
239
196
|
name: hipchat
|
240
197
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
198
|
requirements:
|
243
|
-
- -
|
199
|
+
- - '>='
|
244
200
|
- !ruby/object:Gem::Version
|
245
201
|
version: '0'
|
246
202
|
type: :runtime
|
247
203
|
prerelease: false
|
248
204
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
205
|
requirements:
|
251
|
-
- -
|
206
|
+
- - '>='
|
252
207
|
- !ruby/object:Gem::Version
|
253
208
|
version: '0'
|
254
209
|
- !ruby/object:Gem::Dependency
|
255
210
|
name: fluent-logger
|
256
211
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
212
|
requirements:
|
259
|
-
- -
|
213
|
+
- - '>='
|
260
214
|
- !ruby/object:Gem::Version
|
261
215
|
version: '0'
|
262
216
|
type: :runtime
|
263
217
|
prerelease: false
|
264
218
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
219
|
requirements:
|
267
|
-
- -
|
220
|
+
- - '>='
|
268
221
|
- !ruby/object:Gem::Version
|
269
222
|
version: '0'
|
270
223
|
- !ruby/object:Gem::Dependency
|
271
224
|
name: dalli
|
272
225
|
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
226
|
requirements:
|
275
|
-
- -
|
227
|
+
- - '>='
|
276
228
|
- !ruby/object:Gem::Version
|
277
229
|
version: '0'
|
278
230
|
type: :runtime
|
279
231
|
prerelease: false
|
280
232
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
233
|
requirements:
|
283
|
-
- -
|
234
|
+
- - '>='
|
284
235
|
- !ruby/object:Gem::Version
|
285
236
|
version: '0'
|
286
237
|
- !ruby/object:Gem::Dependency
|
287
238
|
name: cucumber
|
288
239
|
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
240
|
requirements:
|
291
|
-
- -
|
241
|
+
- - '>='
|
292
242
|
- !ruby/object:Gem::Version
|
293
243
|
version: '0'
|
294
244
|
type: :development
|
295
245
|
prerelease: false
|
296
246
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
247
|
requirements:
|
299
|
-
- -
|
248
|
+
- - '>='
|
300
249
|
- !ruby/object:Gem::Version
|
301
250
|
version: '0'
|
302
251
|
- !ruby/object:Gem::Dependency
|
303
252
|
name: bundler
|
304
253
|
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
254
|
requirements:
|
307
255
|
- - ~>
|
308
256
|
- !ruby/object:Gem::Version
|
@@ -310,7 +258,6 @@ dependencies:
|
|
310
258
|
type: :development
|
311
259
|
prerelease: false
|
312
260
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
261
|
requirements:
|
315
262
|
- - ~>
|
316
263
|
- !ruby/object:Gem::Version
|
@@ -318,7 +265,6 @@ dependencies:
|
|
318
265
|
- !ruby/object:Gem::Dependency
|
319
266
|
name: builder
|
320
267
|
requirement: !ruby/object:Gem::Requirement
|
321
|
-
none: false
|
322
268
|
requirements:
|
323
269
|
- - ~>
|
324
270
|
- !ruby/object:Gem::Version
|
@@ -326,7 +272,6 @@ dependencies:
|
|
326
272
|
type: :development
|
327
273
|
prerelease: false
|
328
274
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
275
|
requirements:
|
331
276
|
- - ~>
|
332
277
|
- !ruby/object:Gem::Version
|
@@ -334,17 +279,15 @@ dependencies:
|
|
334
279
|
- !ruby/object:Gem::Dependency
|
335
280
|
name: jeweler
|
336
281
|
requirement: !ruby/object:Gem::Requirement
|
337
|
-
none: false
|
338
282
|
requirements:
|
339
|
-
- -
|
283
|
+
- - '>='
|
340
284
|
- !ruby/object:Gem::Version
|
341
285
|
version: '0'
|
342
286
|
type: :development
|
343
287
|
prerelease: false
|
344
288
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
none: false
|
346
289
|
requirements:
|
347
|
-
- -
|
290
|
+
- - '>='
|
348
291
|
- !ruby/object:Gem::Version
|
349
292
|
version: '0'
|
350
293
|
description: Ruby General Automation Framework
|
@@ -392,6 +335,7 @@ files:
|
|
392
335
|
- plugins/filter/sort.rb
|
393
336
|
- plugins/filter/tumblr_resize.rb
|
394
337
|
- plugins/notify/ikachan.rb
|
338
|
+
- plugins/provide/fluentd.rb
|
395
339
|
- plugins/publish/console.rb
|
396
340
|
- plugins/publish/console_link.rb
|
397
341
|
- plugins/publish/eject.rb
|
@@ -410,7 +354,6 @@ files:
|
|
410
354
|
- plugins/subscription/chan_toru.rb
|
411
355
|
- plugins/subscription/feed.rb
|
412
356
|
- plugins/subscription/g_guide.rb
|
413
|
-
- plugins/subscription/google_reader_star.rb
|
414
357
|
- plugins/subscription/link.rb
|
415
358
|
- plugins/subscription/pocket.rb
|
416
359
|
- plugins/subscription/text.rb
|
@@ -418,6 +361,7 @@ files:
|
|
418
361
|
- plugins/subscription/twitter.rb
|
419
362
|
- plugins/subscription/twitter_search.rb
|
420
363
|
- plugins/subscription/weather.rb
|
364
|
+
- plugins/subscription/xml.rb
|
421
365
|
- script/build
|
422
366
|
- spec/fixtures/sampleRecipe.yml
|
423
367
|
- spec/lib/automatic/log_spec.rb
|
@@ -438,6 +382,7 @@ files:
|
|
438
382
|
- spec/plugins/filter/sort_spec.rb
|
439
383
|
- spec/plugins/filter/tumblr_resize_spec.rb
|
440
384
|
- spec/plugins/notify/ikachan_spec.rb
|
385
|
+
- spec/plugins/provide/fluentd_spec.rb
|
441
386
|
- spec/plugins/publish/console_spec.rb
|
442
387
|
- spec/plugins/publish/eject_spec.rb
|
443
388
|
- spec/plugins/publish/fluentd_spec.rb
|
@@ -454,7 +399,6 @@ files:
|
|
454
399
|
- spec/plugins/subscription/chan_toru_spec.rb
|
455
400
|
- spec/plugins/subscription/feed_spec.rb
|
456
401
|
- spec/plugins/subscription/g_guide_spec.rb
|
457
|
-
- spec/plugins/subscription/google_reader_star_spec.rb
|
458
402
|
- spec/plugins/subscription/link_spec.rb
|
459
403
|
- spec/plugins/subscription/pocket_spec.rb
|
460
404
|
- spec/plugins/subscription/text_spec.rb
|
@@ -462,6 +406,7 @@ files:
|
|
462
406
|
- spec/plugins/subscription/twitter_search_spec.rb
|
463
407
|
- spec/plugins/subscription/twitter_spec.rb
|
464
408
|
- spec/plugins/subscription/weather_spec.rb
|
409
|
+
- spec/plugins/subscription/xml_spec.rb
|
465
410
|
- spec/spec_helper.rb
|
466
411
|
- spec/user_dir/plugins/store/mock.rb
|
467
412
|
- test/fixtures/sampleOPML.xml
|
@@ -472,7 +417,6 @@ files:
|
|
472
417
|
- test/integration/test_fluentd.yml
|
473
418
|
- test/integration/test_fulltext.yml
|
474
419
|
- test/integration/test_googlealert.yml
|
475
|
-
- test/integration/test_googlestar.yml
|
476
420
|
- test/integration/test_hatenabookmark.yml
|
477
421
|
- test/integration/test_ignore.yml
|
478
422
|
- test/integration/test_ignore2.yml
|
@@ -489,30 +433,30 @@ files:
|
|
489
433
|
- test/integration/test_tumblr2local.yml
|
490
434
|
- test/integration/test_twitter_search.yml
|
491
435
|
- test/integration/test_weather.yml
|
436
|
+
- test/integration/test_xml2fluentd.yml
|
492
437
|
- vendor/.gitkeep
|
493
438
|
homepage: http://github.com/automaticruby/automaticruby
|
494
439
|
licenses:
|
495
440
|
- GPL
|
441
|
+
metadata: {}
|
496
442
|
post_install_message:
|
497
443
|
rdoc_options: []
|
498
444
|
require_paths:
|
499
445
|
- lib
|
500
446
|
required_ruby_version: !ruby/object:Gem::Requirement
|
501
|
-
none: false
|
502
447
|
requirements:
|
503
|
-
- -
|
448
|
+
- - '>='
|
504
449
|
- !ruby/object:Gem::Version
|
505
450
|
version: '0'
|
506
451
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
507
|
-
none: false
|
508
452
|
requirements:
|
509
|
-
- -
|
453
|
+
- - '>='
|
510
454
|
- !ruby/object:Gem::Version
|
511
455
|
version: '0'
|
512
456
|
requirements: []
|
513
457
|
rubyforge_project:
|
514
|
-
rubygems_version:
|
458
|
+
rubygems_version: 2.0.5
|
515
459
|
signing_key:
|
516
|
-
specification_version:
|
460
|
+
specification_version: 4
|
517
461
|
summary: Automatic Ruby
|
518
462
|
test_files: []
|