automatic 13.5.0 → 13.6.0

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.
Files changed (108) hide show
  1. data/Gemfile +11 -5
  2. data/README.md +4 -6
  3. data/VERSION +1 -1
  4. data/automatic.gemspec +61 -18
  5. data/doc/ChangeLog +25 -0
  6. data/doc/PLUGINS +202 -12
  7. data/doc/PLUGINS.ja +221 -30
  8. data/doc/README +1 -1
  9. data/doc/README.ja +1 -1
  10. data/lib/automatic.rb +3 -3
  11. data/lib/automatic/feed_parser.rb +2 -2
  12. data/lib/automatic/log.rb +12 -2
  13. data/lib/automatic/pipeline.rb +1 -1
  14. data/lib/automatic/recipe.rb +5 -2
  15. data/plugins/custom_feed/svn_log.rb +3 -3
  16. data/plugins/filter/absolute_uri.rb +8 -4
  17. data/plugins/filter/accept.rb +61 -0
  18. data/plugins/filter/full_feed.rb +4 -5
  19. data/plugins/filter/github_feed.rb +36 -0
  20. data/plugins/filter/ignore.rb +1 -1
  21. data/plugins/filter/image.rb +1 -1
  22. data/plugins/filter/image_source.rb +34 -10
  23. data/plugins/filter/one.rb +1 -1
  24. data/plugins/filter/rand.rb +1 -1
  25. data/plugins/filter/sanitize.rb +50 -0
  26. data/plugins/filter/sort.rb +1 -1
  27. data/plugins/filter/tumblr_resize.rb +1 -1
  28. data/plugins/publish/console.rb +3 -3
  29. data/plugins/publish/console_link.rb +30 -0
  30. data/plugins/publish/eject.rb +42 -0
  31. data/plugins/publish/fluentd.rb +42 -0
  32. data/plugins/publish/google_calendar.rb +3 -3
  33. data/plugins/publish/hatena_bookmark.rb +1 -1
  34. data/plugins/publish/hipchat.rb +45 -0
  35. data/plugins/publish/instapaper.rb +2 -1
  36. data/plugins/publish/memcached.rb +44 -0
  37. data/plugins/publish/pocket.rb +1 -1
  38. data/plugins/publish/twitter.rb +1 -1
  39. data/plugins/store/database.rb +3 -3
  40. data/plugins/store/full_text.rb +2 -2
  41. data/plugins/store/permalink.rb +1 -1
  42. data/plugins/store/target_link.rb +3 -2
  43. data/plugins/subscription/chan_toru.rb +56 -0
  44. data/plugins/subscription/feed.rb +1 -1
  45. data/plugins/subscription/g_guide.rb +48 -0
  46. data/plugins/subscription/google_reader_star.rb +3 -3
  47. data/plugins/subscription/link.rb +2 -2
  48. data/plugins/subscription/pocket.rb +49 -0
  49. data/plugins/subscription/text.rb +3 -12
  50. data/plugins/subscription/tumblr.rb +7 -1
  51. data/plugins/subscription/twitter.rb +1 -1
  52. data/plugins/subscription/twitter_search.rb +50 -0
  53. data/plugins/subscription/weather.rb +7 -41
  54. data/script/build +3 -0
  55. data/spec/fixtures/sampleRecipe.yml +1 -1
  56. data/spec/lib/automatic/log_spec.rb +31 -0
  57. data/spec/lib/automatic/pipeline_spec.rb +1 -1
  58. data/spec/lib/automatic/recipe_spec.rb +1 -1
  59. data/spec/lib/automatic_spec.rb +3 -3
  60. data/spec/plugins/custom_feed/svn_log_spec.rb +1 -1
  61. data/spec/plugins/filter/absolute_uri_spec.rb +1 -1
  62. data/spec/plugins/filter/accept_spec.rb +331 -0
  63. data/spec/plugins/filter/full_feed_spec.rb +4 -6
  64. data/spec/plugins/filter/github_feed_spec.rb +54 -0
  65. data/spec/plugins/filter/ignore_spec.rb +1 -1
  66. data/spec/plugins/filter/image_source_spec.rb +17 -3
  67. data/spec/plugins/filter/image_spec.rb +1 -1
  68. data/spec/plugins/filter/one_spec.rb +1 -1
  69. data/spec/plugins/filter/rand_spec.rb +1 -1
  70. data/spec/plugins/filter/sanitize_spec.rb +153 -0
  71. data/spec/plugins/filter/sort_spec.rb +1 -1
  72. data/spec/plugins/filter/tumblr_resize_spec.rb +1 -1
  73. data/spec/plugins/notify/ikachan_spec.rb +1 -1
  74. data/spec/plugins/publish/console_spec.rb +1 -1
  75. data/spec/plugins/publish/eject_spec.rb +40 -0
  76. data/spec/plugins/publish/fluentd_spec.rb +39 -0
  77. data/spec/plugins/publish/google_calendar_spec.rb +1 -1
  78. data/spec/plugins/publish/hatena_bookmark_spec.rb +1 -1
  79. data/spec/plugins/publish/hipchat_spec.rb +69 -0
  80. data/spec/plugins/publish/instapaper_spec.rb +42 -28
  81. data/spec/plugins/publish/memcached_spec.rb +63 -0
  82. data/spec/plugins/publish/pocket_spec.rb +33 -33
  83. data/spec/plugins/publish/twitter_spec.rb +57 -19
  84. data/spec/plugins/store/full_text_spec.rb +6 -1
  85. data/spec/plugins/store/permalink_spec.rb +18 -19
  86. data/spec/plugins/store/target_link_spec.rb +1 -1
  87. data/spec/plugins/subscription/chan_toru_spec.rb +56 -0
  88. data/spec/plugins/subscription/feed_spec.rb +1 -1
  89. data/spec/plugins/subscription/g_guide_spec.rb +76 -0
  90. data/spec/plugins/subscription/google_reader_star_spec.rb +1 -1
  91. data/spec/plugins/subscription/link_spec.rb +1 -1
  92. data/spec/plugins/subscription/pocket_spec.rb +57 -0
  93. data/spec/plugins/subscription/text_spec.rb +1 -14
  94. data/spec/plugins/subscription/tumblr_spec.rb +3 -2
  95. data/spec/plugins/subscription/twitter_search_spec.rb +57 -0
  96. data/spec/plugins/subscription/twitter_spec.rb +3 -2
  97. data/spec/plugins/subscription/weather_spec.rb +2 -15
  98. data/spec/spec_helper.rb +1 -0
  99. data/test/integration/test_chan_toru.yml +19 -0
  100. data/test/integration/test_fluentd.yml +20 -0
  101. data/test/integration/test_pocket.yml +21 -0
  102. data/test/integration/test_sanitize.yml +22 -0
  103. data/test/integration/test_twitter_search.yml +21 -0
  104. metadata +145 -24
  105. data/plugins/publish/mail.rb +0 -64
  106. data/plugins/publish/smtp.rb +0 -48
  107. data/spec/plugins/publish/mail_spec.rb +0 -53
  108. data/spec/plugins/publish/smtp_spec.rb +0 -49
data/Gemfile CHANGED
@@ -1,20 +1,25 @@
1
- # Version:20130322
1
+ # Version:20130628
2
2
 
3
3
  source "http://rubygems.org"
4
4
  source "http://gems.github.com"
5
5
 
6
+ gem 'json', '~> 1.7.7'
6
7
  gem 'sqlite3'
7
- gem 'activesupport', '~>3'
8
+ gem 'activesupport', '~>4.0.0'
9
+ gem 'activerecord', '~>4.0.0'
10
+ gem 'actionmailer', '~>4.0.0'
8
11
  gem 'hashie'
9
- gem 'activerecord', '~>3'
10
- gem 'actionmailer', '~>3'
11
12
  gem 'gcalapi'
12
13
  gem 'xml-simple'
13
14
  gem 'feedbag'
14
15
  gem 'nokogiri'
16
+ gem 'sanitize'
15
17
  gem 'twitter'
16
18
  gem 'weather_hacker'
17
19
  gem 'pocket-ruby'
20
+ gem 'hipchat'
21
+ gem 'fluent-logger'
22
+ gem 'dalli'
18
23
 
19
24
  group :test do
20
25
  gem 'rspec'
@@ -26,6 +31,7 @@ end
26
31
 
27
32
  group :development do
28
33
  gem "cucumber"
29
- gem "bundler"
34
+ gem 'bundler', '~>1.3.5'
35
+ gem 'builder', '~>3.1.0'
30
36
  gem "jeweler"
31
37
  end
data/README.md CHANGED
@@ -75,7 +75,7 @@ For more info, refer to the document (doc/README).
75
75
  Environment
76
76
  -----------
77
77
 
78
- Ruby 1.8 - 2.0, see Gemfile.
78
+ Ruby 1.9 - 2.0. See Gemfile.
79
79
 
80
80
 
81
81
  Development
@@ -123,13 +123,11 @@ This naming convention is to mimic Ubuntu.
123
123
  Developers
124
124
  ----------
125
125
 
126
- See doc/AUTHORS.
126
+ See doc/AUTHORS or following link.
127
127
 
128
+ + https://github.com/automaticruby?tab=members
128
129
 
129
- Author
130
- ------
131
-
132
- **774**
130
+ Project created by
133
131
 
134
132
  + http://id774.net
135
133
  + http://github.com/id774
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.5.0
1
+ 13.6.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "automatic"
8
- s.version = "13.5.0"
8
+ s.version = "13.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["id774"]
12
- s.date = "2013-05-18"
12
+ s.date = "2013-06-28"
13
13
  s.description = "Ruby General Automation Framework"
14
14
  s.email = "idnanashi@gmail.com"
15
15
  s.executables = ["automatic"]
@@ -42,66 +42,86 @@ Gem::Specification.new do |s|
42
42
  "lib/automatic/recipe.rb",
43
43
  "plugins/custom_feed/svn_log.rb",
44
44
  "plugins/filter/absolute_uri.rb",
45
+ "plugins/filter/accept.rb",
45
46
  "plugins/filter/full_feed.rb",
47
+ "plugins/filter/github_feed.rb",
46
48
  "plugins/filter/ignore.rb",
47
49
  "plugins/filter/image.rb",
48
50
  "plugins/filter/image_source.rb",
49
51
  "plugins/filter/one.rb",
50
52
  "plugins/filter/rand.rb",
53
+ "plugins/filter/sanitize.rb",
51
54
  "plugins/filter/sort.rb",
52
55
  "plugins/filter/tumblr_resize.rb",
53
56
  "plugins/notify/ikachan.rb",
54
57
  "plugins/publish/console.rb",
58
+ "plugins/publish/console_link.rb",
59
+ "plugins/publish/eject.rb",
60
+ "plugins/publish/fluentd.rb",
55
61
  "plugins/publish/google_calendar.rb",
56
62
  "plugins/publish/hatena_bookmark.rb",
63
+ "plugins/publish/hipchat.rb",
57
64
  "plugins/publish/instapaper.rb",
58
- "plugins/publish/mail.rb",
65
+ "plugins/publish/memcached.rb",
59
66
  "plugins/publish/pocket.rb",
60
- "plugins/publish/smtp.rb",
61
67
  "plugins/publish/twitter.rb",
62
68
  "plugins/store/database.rb",
63
69
  "plugins/store/full_text.rb",
64
70
  "plugins/store/permalink.rb",
65
71
  "plugins/store/target_link.rb",
72
+ "plugins/subscription/chan_toru.rb",
66
73
  "plugins/subscription/feed.rb",
74
+ "plugins/subscription/g_guide.rb",
67
75
  "plugins/subscription/google_reader_star.rb",
68
76
  "plugins/subscription/link.rb",
77
+ "plugins/subscription/pocket.rb",
69
78
  "plugins/subscription/text.rb",
70
79
  "plugins/subscription/tumblr.rb",
71
80
  "plugins/subscription/twitter.rb",
81
+ "plugins/subscription/twitter_search.rb",
72
82
  "plugins/subscription/weather.rb",
73
83
  "script/build",
74
84
  "spec/fixtures/sampleRecipe.yml",
85
+ "spec/lib/automatic/log_spec.rb",
75
86
  "spec/lib/automatic/pipeline_spec.rb",
76
87
  "spec/lib/automatic/recipe_spec.rb",
77
88
  "spec/lib/automatic_spec.rb",
78
89
  "spec/plugins/custom_feed/svn_log_spec.rb",
79
90
  "spec/plugins/filter/absolute_uri_spec.rb",
91
+ "spec/plugins/filter/accept_spec.rb",
80
92
  "spec/plugins/filter/full_feed_spec.rb",
93
+ "spec/plugins/filter/github_feed_spec.rb",
81
94
  "spec/plugins/filter/ignore_spec.rb",
82
95
  "spec/plugins/filter/image_source_spec.rb",
83
96
  "spec/plugins/filter/image_spec.rb",
84
97
  "spec/plugins/filter/one_spec.rb",
85
98
  "spec/plugins/filter/rand_spec.rb",
99
+ "spec/plugins/filter/sanitize_spec.rb",
86
100
  "spec/plugins/filter/sort_spec.rb",
87
101
  "spec/plugins/filter/tumblr_resize_spec.rb",
88
102
  "spec/plugins/notify/ikachan_spec.rb",
89
103
  "spec/plugins/publish/console_spec.rb",
104
+ "spec/plugins/publish/eject_spec.rb",
105
+ "spec/plugins/publish/fluentd_spec.rb",
90
106
  "spec/plugins/publish/google_calendar_spec.rb",
91
107
  "spec/plugins/publish/hatena_bookmark_spec.rb",
108
+ "spec/plugins/publish/hipchat_spec.rb",
92
109
  "spec/plugins/publish/instapaper_spec.rb",
93
- "spec/plugins/publish/mail_spec.rb",
110
+ "spec/plugins/publish/memcached_spec.rb",
94
111
  "spec/plugins/publish/pocket_spec.rb",
95
- "spec/plugins/publish/smtp_spec.rb",
96
112
  "spec/plugins/publish/twitter_spec.rb",
97
113
  "spec/plugins/store/full_text_spec.rb",
98
114
  "spec/plugins/store/permalink_spec.rb",
99
115
  "spec/plugins/store/target_link_spec.rb",
116
+ "spec/plugins/subscription/chan_toru_spec.rb",
100
117
  "spec/plugins/subscription/feed_spec.rb",
118
+ "spec/plugins/subscription/g_guide_spec.rb",
101
119
  "spec/plugins/subscription/google_reader_star_spec.rb",
102
120
  "spec/plugins/subscription/link_spec.rb",
121
+ "spec/plugins/subscription/pocket_spec.rb",
103
122
  "spec/plugins/subscription/text_spec.rb",
104
123
  "spec/plugins/subscription/tumblr_spec.rb",
124
+ "spec/plugins/subscription/twitter_search_spec.rb",
105
125
  "spec/plugins/subscription/twitter_spec.rb",
106
126
  "spec/plugins/subscription/weather_spec.rb",
107
127
  "spec/spec_helper.rb",
@@ -110,6 +130,8 @@ Gem::Specification.new do |s|
110
130
  "test/integration/test_absoluteurl.yml",
111
131
  "test/integration/test_activerecord.yml",
112
132
  "test/integration/test_add_pocket.yml",
133
+ "test/integration/test_chan_toru.yml",
134
+ "test/integration/test_fluentd.yml",
113
135
  "test/integration/test_fulltext.yml",
114
136
  "test/integration/test_googlealert.yml",
115
137
  "test/integration/test_googlestar.yml",
@@ -120,11 +142,14 @@ Gem::Specification.new do |s|
120
142
  "test/integration/test_instapaper.yml",
121
143
  "test/integration/test_link2local.yml",
122
144
  "test/integration/test_one.yml",
145
+ "test/integration/test_pocket.yml",
123
146
  "test/integration/test_rand.yml",
147
+ "test/integration/test_sanitize.yml",
124
148
  "test/integration/test_sort.yml",
125
149
  "test/integration/test_svnlog.yml",
126
150
  "test/integration/test_text2feed.yml",
127
151
  "test/integration/test_tumblr2local.yml",
152
+ "test/integration/test_twitter_search.yml",
128
153
  "test/integration/test_weather.yml",
129
154
  "vendor/.gitkeep"
130
155
  ]
@@ -138,53 +163,71 @@ Gem::Specification.new do |s|
138
163
  s.specification_version = 3
139
164
 
140
165
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
166
+ s.add_runtime_dependency(%q<json>, ["~> 1.7.7"])
141
167
  s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
142
- s.add_runtime_dependency(%q<activesupport>, ["~> 3"])
168
+ s.add_runtime_dependency(%q<activesupport>, ["~> 4.0.0"])
169
+ s.add_runtime_dependency(%q<activerecord>, ["~> 4.0.0"])
170
+ s.add_runtime_dependency(%q<actionmailer>, ["~> 4.0.0"])
143
171
  s.add_runtime_dependency(%q<hashie>, [">= 0"])
144
- s.add_runtime_dependency(%q<activerecord>, ["~> 3"])
145
- s.add_runtime_dependency(%q<actionmailer>, ["~> 3"])
146
172
  s.add_runtime_dependency(%q<gcalapi>, [">= 0"])
147
173
  s.add_runtime_dependency(%q<xml-simple>, [">= 0"])
148
174
  s.add_runtime_dependency(%q<feedbag>, [">= 0"])
149
175
  s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
176
+ s.add_runtime_dependency(%q<sanitize>, [">= 0"])
150
177
  s.add_runtime_dependency(%q<twitter>, [">= 0"])
151
178
  s.add_runtime_dependency(%q<weather_hacker>, [">= 0"])
152
179
  s.add_runtime_dependency(%q<pocket-ruby>, [">= 0"])
180
+ s.add_runtime_dependency(%q<hipchat>, [">= 0"])
181
+ s.add_runtime_dependency(%q<fluent-logger>, [">= 0"])
182
+ s.add_runtime_dependency(%q<dalli>, [">= 0"])
153
183
  s.add_development_dependency(%q<cucumber>, [">= 0"])
154
- s.add_development_dependency(%q<bundler>, [">= 0"])
184
+ s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
185
+ s.add_development_dependency(%q<builder>, ["~> 3.1.0"])
155
186
  s.add_development_dependency(%q<jeweler>, [">= 0"])
156
187
  else
188
+ s.add_dependency(%q<json>, ["~> 1.7.7"])
157
189
  s.add_dependency(%q<sqlite3>, [">= 0"])
158
- s.add_dependency(%q<activesupport>, ["~> 3"])
190
+ s.add_dependency(%q<activesupport>, ["~> 4.0.0"])
191
+ s.add_dependency(%q<activerecord>, ["~> 4.0.0"])
192
+ s.add_dependency(%q<actionmailer>, ["~> 4.0.0"])
159
193
  s.add_dependency(%q<hashie>, [">= 0"])
160
- s.add_dependency(%q<activerecord>, ["~> 3"])
161
- s.add_dependency(%q<actionmailer>, ["~> 3"])
162
194
  s.add_dependency(%q<gcalapi>, [">= 0"])
163
195
  s.add_dependency(%q<xml-simple>, [">= 0"])
164
196
  s.add_dependency(%q<feedbag>, [">= 0"])
165
197
  s.add_dependency(%q<nokogiri>, [">= 0"])
198
+ s.add_dependency(%q<sanitize>, [">= 0"])
166
199
  s.add_dependency(%q<twitter>, [">= 0"])
167
200
  s.add_dependency(%q<weather_hacker>, [">= 0"])
168
201
  s.add_dependency(%q<pocket-ruby>, [">= 0"])
202
+ s.add_dependency(%q<hipchat>, [">= 0"])
203
+ s.add_dependency(%q<fluent-logger>, [">= 0"])
204
+ s.add_dependency(%q<dalli>, [">= 0"])
169
205
  s.add_dependency(%q<cucumber>, [">= 0"])
170
- s.add_dependency(%q<bundler>, [">= 0"])
206
+ s.add_dependency(%q<bundler>, ["~> 1.3.5"])
207
+ s.add_dependency(%q<builder>, ["~> 3.1.0"])
171
208
  s.add_dependency(%q<jeweler>, [">= 0"])
172
209
  end
173
210
  else
211
+ s.add_dependency(%q<json>, ["~> 1.7.7"])
174
212
  s.add_dependency(%q<sqlite3>, [">= 0"])
175
- s.add_dependency(%q<activesupport>, ["~> 3"])
213
+ s.add_dependency(%q<activesupport>, ["~> 4.0.0"])
214
+ s.add_dependency(%q<activerecord>, ["~> 4.0.0"])
215
+ s.add_dependency(%q<actionmailer>, ["~> 4.0.0"])
176
216
  s.add_dependency(%q<hashie>, [">= 0"])
177
- s.add_dependency(%q<activerecord>, ["~> 3"])
178
- s.add_dependency(%q<actionmailer>, ["~> 3"])
179
217
  s.add_dependency(%q<gcalapi>, [">= 0"])
180
218
  s.add_dependency(%q<xml-simple>, [">= 0"])
181
219
  s.add_dependency(%q<feedbag>, [">= 0"])
182
220
  s.add_dependency(%q<nokogiri>, [">= 0"])
221
+ s.add_dependency(%q<sanitize>, [">= 0"])
183
222
  s.add_dependency(%q<twitter>, [">= 0"])
184
223
  s.add_dependency(%q<weather_hacker>, [">= 0"])
185
224
  s.add_dependency(%q<pocket-ruby>, [">= 0"])
225
+ s.add_dependency(%q<hipchat>, [">= 0"])
226
+ s.add_dependency(%q<fluent-logger>, [">= 0"])
227
+ s.add_dependency(%q<dalli>, [">= 0"])
186
228
  s.add_dependency(%q<cucumber>, [">= 0"])
187
- s.add_dependency(%q<bundler>, [">= 0"])
229
+ s.add_dependency(%q<bundler>, ["~> 1.3.5"])
230
+ s.add_dependency(%q<builder>, ["~> 3.1.0"])
188
231
  s.add_dependency(%q<jeweler>, [">= 0"])
189
232
  end
190
233
  end
@@ -1,3 +1,28 @@
1
+ === 13.6.0 / 2013-06-28
2
+
3
+ * Added new plugins.
4
+
5
+ * Subscription::Pocket
6
+ * Subscription::TwitterSearch
7
+ * Subscription::GGuide
8
+ * Subscription::ChanToru
9
+ * Filter::Accept
10
+ * Filter::Sanitize
11
+ * Filter::GithubFeed
12
+ * Publish::ConsoleLink
13
+ * Publish::Hipchat
14
+ * Publish::Memcached
15
+ * Publish::Fluentd
16
+
17
+ * And other Improvements, bug fixes.
18
+
19
+ * Correspond to activesupport & activerecord 4.0.
20
+
21
+ * Mail plugins temporary removed (for actionmailer 4.0).
22
+
23
+ * Ruby 1.8 support was outdated.
24
+
25
+
1
26
  === 13.5.0 / 2013-05-18
2
27
 
3
28
  * Added new plugins.
@@ -94,6 +94,44 @@ SubscriptionTwitter
94
94
  retry: RETRY_COUNT
95
95
 
96
96
 
97
+ SubscriptionTwitterSearch
98
+ -------------------------
99
+ [Path]
100
+ /plugins/subscription/twitter_search.rb
101
+
102
+ [Abstract]
103
+ The search results of a twitter are acquired.
104
+
105
+ [Syntax]
106
+ - module: SubscriptionTwitterSearch
107
+ config:
108
+ search: search word
109
+ opt: option
110
+ consumer_key: 'your_consumer_key'
111
+ consumer_secret: 'your_consumer_secret'
112
+ oauth_token: 'your_oauth_token'
113
+ oauth_token_secret: 'your_oauth_token_secret'
114
+ interval: INTERVAL_FOR_SCRAPING (in seconds.)
115
+ retry: RETRY_COUNT
116
+
117
+
118
+ SubscriptionWeather
119
+ -------------------
120
+ [Path]
121
+ /plugins/subscription/weather.rb
122
+
123
+ [Abstract]
124
+ Subscribe weather (using gem weather_hacker) by zipcode.
125
+
126
+ [Syntax]
127
+ - module: SubscriptionWeather
128
+ config:
129
+ zipcode: ZIPCODE (ex. 166-0003)
130
+ day: DAY (ex. 'today', 'tomorrow')
131
+ interval: INTERVAL_FOR_SCRAPING (in seconds.)
132
+ retry: RETRY_COUNT
133
+
134
+
97
135
  SubscriptionText
98
136
  ----------------
99
137
  [Path]
@@ -118,21 +156,59 @@ SubscriptionText
118
156
  url: 'url'
119
157
 
120
158
 
121
- SubscriptionWeather
122
- -------------------
159
+ SubscriptionPocket
160
+ ------------------
123
161
  [Path]
124
- /plugins/subscription/weather.rb
162
+ /plugins/subscription/pocket.rb
125
163
 
126
164
  [Abstract]
127
- Subscribe weather (using gem weather_hacker) by zipcode.
165
+ Pocket API is struck and it is creation of feed.
128
166
 
129
167
  [Syntax]
130
- - module: SubscriptionWeather
168
+ - module: SubscriptionPocket
131
169
  config:
132
- zipcode: ZIPCODE (ex. 166-0003)
133
- day: DAY (ex. 'today', 'tomorrow')
170
+ consumer_key: 'your_consumer_key'
171
+ access_token: 'your_access_token'
172
+ optional: # see http://getpocket.com/developer/docs/v3/retrieve
173
+ favorite: 1
174
+ count: 2
134
175
  interval: INTERVAL_FOR_SCRAPING (in seconds.)
135
- retry: RETRY_COUNT
176
+ retry: RETRY_COUNT
177
+
178
+
179
+ SubscriptionGGuide
180
+ ------------------
181
+ [Path]
182
+ /plugins/subscription/g_guide.rb
183
+
184
+ [Abstract]
185
+ search keyword to the G guide (information on a TV program) rss
186
+
187
+ [Syntax]
188
+ - module: SubscriptionGGuide
189
+ config:
190
+ keyword: 'anime' # search word
191
+ station: '地上波' # (It means terrestrial broadcasting in Japanese.)
192
+ interval: INTERVAL_FOR_SCRAPING (in seconds.)
193
+ retry: RETRY_COUNT
194
+
195
+
196
+ SubscriptionChanToru
197
+ --------------------
198
+ [Path]
199
+ /plugins/subscription/chan_toru.rb
200
+
201
+ [Abstract]
202
+ Search keyword to CHAN-TORU (information on a TV program) rss
203
+ (SubscriptionGGuide Plug-in dependence)
204
+
205
+ [Syntax]
206
+ - module: SubscriptionChanToru
207
+ config:
208
+ keyword: 'anime' # search word
209
+ station: '地上波' # (It means terrestrial broadcasting in Japanese.)
210
+ interval: INTERVAL_FOR_SCRAPING (in seconds.)
211
+ retry: RETRY_COUNT
136
212
 
137
213
 
138
214
  FilterSort
@@ -169,6 +245,25 @@ FilterIgnore
169
245
  - KEYWORD ...
170
246
 
171
247
 
248
+ FilterAccept
249
+ ------------
250
+ [Path]
251
+ /plugins/filter/accept.rb
252
+
253
+ [Abstract]
254
+ Contain the OK word.
255
+
256
+ [Syntax]
257
+ - module: FilterAccept
258
+ config:
259
+ link:
260
+ - KEYWORD
261
+ - KEYWORD ...
262
+ description:
263
+ - KEYWORD
264
+ - KEYWORD ...
265
+
266
+
172
267
  FilterImage
173
268
  -----------
174
269
  [Path]
@@ -206,7 +301,7 @@ FilterOne
206
301
  [Syntax]
207
302
  - module: FilterOne
208
303
  config:
209
- pick: last (If none, pick the first item.)
304
+ pick: last (If none, pick the first item.)
210
305
 
211
306
 
212
307
  FilterRand
@@ -221,6 +316,22 @@ FilterRand
221
316
  - module: FilterRand
222
317
 
223
318
 
319
+ FilterSanitize
320
+ --------------
321
+ [Path]
322
+ /plugins/filter/sanitize.rb
323
+
324
+ [Abstract]
325
+ Strip the html tags.
326
+ Reference: https://github.com/rgrove/sanitize
327
+
328
+ [Syntax]
329
+ - module: FilterSanitize
330
+ config:
331
+ mode: basic or relaxed or restricted
332
+ (default: restricted)
333
+
334
+
224
335
  FilterFullFeed
225
336
  --------------
226
337
  [Path]
@@ -250,7 +361,7 @@ FilterAbsoluteURI
250
361
 
251
362
 
252
363
  FilterTumblrResize
253
- --------------------
364
+ ------------------
254
365
  [Path]
255
366
  /plugins/filter/tumblr_resize.rb
256
367
 
@@ -326,6 +437,47 @@ PublishConsole
326
437
  - module: PublishConsole
327
438
 
328
439
 
440
+ PublishFluentd
441
+ --------------
442
+ [Path]
443
+ /plugins/publish/fluentd.rb
444
+
445
+ [Abstract]
446
+ Output to fluentd with fluent-logger.
447
+
448
+ [Description]
449
+ This plugin outputs feed to fluentd.
450
+ Following fluentd config example.
451
+
452
+ <source>
453
+ type forward
454
+ port 9999
455
+ </source>
456
+
457
+ [Syntax]
458
+ - module: PublishFluentd
459
+ config:
460
+ host: HOSTNAME
461
+ port: PORT_NUMBER
462
+ tag: TAGS (example: automatic.feed)
463
+
464
+
465
+ PublishMemcached
466
+ ----------------
467
+ [Path]
468
+ /plugins/publish/memcached.rb
469
+
470
+ [Abstract]
471
+ Output feeds converted hash to memcached with dalli.
472
+
473
+ [Syntax]
474
+ - module: PublishMemcached
475
+ config:
476
+ host: HOSTNAME
477
+ port: PORT_NUMBER
478
+ key: KEY
479
+
480
+
329
481
  PublishHatenaBookmark
330
482
  ---------------------
331
483
  [Path]
@@ -339,7 +491,7 @@ PublishHatenaBookmark
339
491
  Hatena Bookmark API.
340
492
 
341
493
  [Syntax]
342
- - Modu - module: PublishHatenaBookmark
494
+ - module: PublishHatenaBookmark
343
495
  config:
344
496
  username: HATENA_ID
345
497
  passowrd: PASSWORD
@@ -367,7 +519,7 @@ PublishTwitter
367
519
 
368
520
 
369
521
  PublishPocket
370
- -----------------
522
+ -------------
371
523
  [Path]
372
524
  /plugins/publish/pocket.rb
373
525
 
@@ -425,6 +577,44 @@ PublishGoogleCalendar
425
577
  interval: INTERVAL
426
578
 
427
579
 
580
+ PublishEject
581
+ ------------
582
+ [Path]
583
+ /plugins/publish/eject.rb
584
+
585
+ [Abstract]
586
+ eject by the feed link count.
587
+
588
+ [Syntax]
589
+ - module: PublishEject
590
+ config:
591
+ interval: INTERVAL
592
+
593
+
594
+ PublishHipchat
595
+ --------------
596
+ [Path]
597
+ /plugins/publish/hipchat.rb
598
+
599
+ [Abstract]
600
+ Register a message to HipChat
601
+
602
+ [Description]
603
+ Using HipChat API (https://www.hipchat.com/docs/api),
604
+ post a message to specific room.
605
+
606
+ [Syntax]
607
+ - module: PublishHipchat
608
+ config:
609
+ api_token: API token of HipChat (required)
610
+ room_id: ID or name of the room. (required)
611
+ username: Name the message will appear be sent from. (required)
612
+ color: Background color for message (default: yellow)
613
+ notify: Whether or not this message should trigger a notification for people in the room (0 => false, 1 => true, default: 0)
614
+ interval: INTERVAL_FOR_RETRY (in seconds.)
615
+ retry: RETRY_COUNT
616
+
617
+
428
618
  NotifyIkachan
429
619
  -------------
430
620
  [Path]