automatic 14.1.0 → 14.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -2
  3. data/README.md +2 -2
  4. data/Rakefile +1 -1
  5. data/VERSION +1 -1
  6. data/automatic.gemspec +17 -9
  7. data/bin/automatic +4 -4
  8. data/doc/ChangeLog +27 -0
  9. data/doc/PLUGINS +36 -6
  10. data/doc/PLUGINS.ja +35 -7
  11. data/doc/README +4 -4
  12. data/doc/README.ja +3 -3
  13. data/lib/automatic.rb +2 -1
  14. data/lib/automatic/feed_maker.rb +80 -0
  15. data/lib/automatic/feed_parser.rb +6 -50
  16. data/lib/automatic/recipe.rb +1 -1
  17. data/lib/automatic/version.rb +1 -1
  18. data/plugins/filter/accept.rb +4 -3
  19. data/plugins/filter/github_feed.rb +12 -11
  20. data/plugins/filter/ignore.rb +3 -3
  21. data/plugins/filter/image_source.rb +10 -10
  22. data/plugins/filter/one.rb +4 -3
  23. data/plugins/filter/rand.rb +3 -3
  24. data/plugins/filter/sanitize.rb +2 -3
  25. data/plugins/provide/fluentd.rb +5 -4
  26. data/plugins/publish/amazon_s3.rb +58 -0
  27. data/plugins/publish/fluentd.rb +5 -4
  28. data/plugins/publish/google_calendar.rb +2 -2
  29. data/plugins/publish/hipchat.rb +1 -1
  30. data/plugins/publish/twitter.rb +1 -1
  31. data/plugins/store/database.rb +4 -4
  32. data/plugins/store/file.rb +95 -0
  33. data/plugins/store/full_text.rb +1 -1
  34. data/plugins/store/permalink.rb +1 -1
  35. data/plugins/subscription/feed.rb +2 -2
  36. data/plugins/subscription/g_guide.rb +3 -2
  37. data/plugins/subscription/link.rb +4 -3
  38. data/plugins/subscription/pocket.rb +12 -11
  39. data/plugins/subscription/text.rb +35 -44
  40. data/plugins/subscription/tumblr.rb +3 -3
  41. data/plugins/subscription/twitter.rb +1 -1
  42. data/plugins/subscription/twitter_search.rb +11 -12
  43. data/plugins/subscription/weather.rb +7 -6
  44. data/plugins/subscription/xml.rb +4 -3
  45. data/spec/fixtures/sampleFeeds.tsv +1 -0
  46. data/spec/fixtures/sampleFeeds2.tsv +2 -0
  47. data/spec/lib/automatic/pipeline_spec.rb +4 -4
  48. data/spec/lib/automatic_spec.rb +3 -3
  49. data/spec/plugins/filter/github_feed_spec.rb +9 -8
  50. data/spec/plugins/filter/image_source_spec.rb +7 -7
  51. data/spec/plugins/notify/ikachan_spec.rb +3 -3
  52. data/spec/plugins/provide/fluentd_spec.rb +6 -5
  53. data/spec/plugins/publish/amazon_s3_spec.rb +40 -0
  54. data/spec/plugins/publish/console_spec.rb +3 -3
  55. data/spec/plugins/publish/fluentd_spec.rb +5 -4
  56. data/spec/plugins/publish/google_calendar_spec.rb +5 -5
  57. data/spec/plugins/publish/hatena_bookmark_spec.rb +10 -10
  58. data/spec/plugins/publish/hipchat_spec.rb +6 -6
  59. data/spec/plugins/publish/instapaper_spec.rb +6 -6
  60. data/spec/plugins/publish/memcached_spec.rb +3 -3
  61. data/spec/plugins/publish/pocket_spec.rb +3 -3
  62. data/spec/plugins/publish/twitter_spec.rb +4 -4
  63. data/spec/plugins/store/{target_link_spec.rb → file_spec.rb} +10 -10
  64. data/spec/plugins/subscription/pocket_spec.rb +3 -3
  65. data/spec/plugins/subscription/text_spec.rb +32 -2
  66. data/spec/plugins/subscription/twitter_search_spec.rb +3 -3
  67. data/test/integration/test_fluentd.yml +1 -0
  68. data/test/integration/test_image2local.yml +6 -2
  69. data/test/integration/test_text2feed.yml +8 -0
  70. data/test/integration/test_tumblr2local.yml +6 -0
  71. metadata +26 -7
  72. data/plugins/store/target_link.rb +0 -55
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b43a1a794a8175f7d650b1b92ca118486fe0d86d
4
- data.tar.gz: 47d449093ef8dd0ce5a51638d8fad105333a14de
3
+ metadata.gz: cb8bf871ac773a85f28e4afc565f1acb74937ae2
4
+ data.tar.gz: d87393ad0ebda325330e66da1c00599bf26917a1
5
5
  SHA512:
6
- metadata.gz: 5c291f8190dfc97b1995bc306ccce1be8460257481baef90f3132bfd8c8f3fc45afd6bfd02e61df420f3a8a3c9c8e447309c380de1bba3037104aaee1a3b8967
7
- data.tar.gz: e19eb66e353be6b34926c6c1e584ed4c28f50e15797cc9cd4819696cf9bf86a88cab59e7a51d31967d6dd7554f4c6857f2e77bb2ebf26c59af7bd48a9e9077d3
6
+ metadata.gz: e491a29e263b7e3f8dc4fc9e8a6587c1971d14b52e000f62f2ed5fef4fe23cb1230c78f5f1455748685cd991ae60013236b22b309ccdd6cd8d9e966263b398f2
7
+ data.tar.gz: 0736362169c5ed6b9e3e78dbd967b2b92334279b17cef613f617a2fdb1f6700222d72ca4e24920fb69c50ba4e3fab5099ea67d091e2bbf7bb1c51edb8bc94fe2
data/Gemfile CHANGED
@@ -1,9 +1,9 @@
1
- # Version:20140124
1
+ # Version:20140224
2
2
 
3
3
  source "http://rubygems.org"
4
4
  source "http://gems.github.com"
5
5
 
6
- gem 'json', '~> 1.8.1'
6
+ gem 'json', '~> 1.7.7'
7
7
  gem 'sqlite3', '~> 1.3.8'
8
8
  gem 'activesupport', '~> 4.0.2'
9
9
  gem 'activerecord', '~> 4.0.2'
@@ -20,6 +20,7 @@ gem 'weather_hacker', '~> 0.1.7'
20
20
  gem 'hipchat', '~> 1.0.1'
21
21
  gem 'fluent-logger', '~> 0.4.7'
22
22
  gem 'dalli', '~> 2.7.0'
23
+ gem 'aws-sdk', '~> 1.33.0'
23
24
 
24
25
  group :test do
25
26
  gem 'rspec', '~> 2.14.1'
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Automatic Ruby
2
2
  ==============
3
3
 
4
- **Ruby General Automation Framework**
4
+ **Ruby framework for the general-purpose automatic processing**
5
5
 
6
6
 
7
7
  Description
@@ -75,7 +75,7 @@ For more info, refer to the document (doc/README).
75
75
  Environment
76
76
  -----------
77
77
 
78
- Ruby 1.9 - 2.1. See Gemfile.
78
+ After Ruby 1.9. See Gemfile.
79
79
 
80
80
 
81
81
  Development
data/Rakefile CHANGED
@@ -32,7 +32,7 @@ Jeweler::Tasks.new do |gem|
32
32
  gem.homepage = "http://github.com/automaticruby/automaticruby"
33
33
  gem.license = "GPL"
34
34
  gem.summary = %Q{Automatic Ruby}
35
- gem.description = %Q{Ruby General Automation Framework}
35
+ gem.description = %Q{Ruby framework for the general-purpose automatic processing}
36
36
  gem.email = "idnanashi@gmail.com"
37
37
  gem.authors = ["id774"]
38
38
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 14.1.0
1
+ 14.2.0
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: automatic 14.1.0 ruby lib
5
+ # stub: automatic 14.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "automatic"
9
- s.version = "14.1.0"
9
+ s.version = "14.2.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["id774"]
14
- s.date = "2014-01-24"
15
- s.description = "Ruby General Automation Framework"
14
+ s.date = "2014-02-26"
15
+ s.description = "Ruby framework for the general-purpose automatic processing"
16
16
  s.email = "idnanashi@gmail.com"
17
17
  s.executables = ["automatic"]
18
18
  s.extra_rdoc_files = [
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
37
37
  "doc/README.ja",
38
38
  "lib/automatic.rb",
39
39
  "lib/automatic/environment.rb",
40
+ "lib/automatic/feed_maker.rb",
40
41
  "lib/automatic/feed_parser.rb",
41
42
  "lib/automatic/log.rb",
42
43
  "lib/automatic/opml.rb",
@@ -58,6 +59,7 @@ Gem::Specification.new do |s|
58
59
  "plugins/filter/tumblr_resize.rb",
59
60
  "plugins/notify/ikachan.rb",
60
61
  "plugins/provide/fluentd.rb",
62
+ "plugins/publish/amazon_s3.rb",
61
63
  "plugins/publish/console.rb",
62
64
  "plugins/publish/console_link.rb",
63
65
  "plugins/publish/eject.rb",
@@ -70,9 +72,9 @@ Gem::Specification.new do |s|
70
72
  "plugins/publish/pocket.rb",
71
73
  "plugins/publish/twitter.rb",
72
74
  "plugins/store/database.rb",
75
+ "plugins/store/file.rb",
73
76
  "plugins/store/full_text.rb",
74
77
  "plugins/store/permalink.rb",
75
- "plugins/store/target_link.rb",
76
78
  "plugins/subscription/chan_toru.rb",
77
79
  "plugins/subscription/feed.rb",
78
80
  "plugins/subscription/g_guide.rb",
@@ -85,6 +87,8 @@ Gem::Specification.new do |s|
85
87
  "plugins/subscription/weather.rb",
86
88
  "plugins/subscription/xml.rb",
87
89
  "script/build",
90
+ "spec/fixtures/sampleFeeds.tsv",
91
+ "spec/fixtures/sampleFeeds2.tsv",
88
92
  "spec/fixtures/sampleRecipe.yml",
89
93
  "spec/lib/automatic/log_spec.rb",
90
94
  "spec/lib/automatic/pipeline_spec.rb",
@@ -105,6 +109,7 @@ Gem::Specification.new do |s|
105
109
  "spec/plugins/filter/tumblr_resize_spec.rb",
106
110
  "spec/plugins/notify/ikachan_spec.rb",
107
111
  "spec/plugins/provide/fluentd_spec.rb",
112
+ "spec/plugins/publish/amazon_s3_spec.rb",
108
113
  "spec/plugins/publish/console_spec.rb",
109
114
  "spec/plugins/publish/eject_spec.rb",
110
115
  "spec/plugins/publish/fluentd_spec.rb",
@@ -115,9 +120,9 @@ Gem::Specification.new do |s|
115
120
  "spec/plugins/publish/memcached_spec.rb",
116
121
  "spec/plugins/publish/pocket_spec.rb",
117
122
  "spec/plugins/publish/twitter_spec.rb",
123
+ "spec/plugins/store/file_spec.rb",
118
124
  "spec/plugins/store/full_text_spec.rb",
119
125
  "spec/plugins/store/permalink_spec.rb",
120
- "spec/plugins/store/target_link_spec.rb",
121
126
  "spec/plugins/subscription/chan_toru_spec.rb",
122
127
  "spec/plugins/subscription/feed_spec.rb",
123
128
  "spec/plugins/subscription/g_guide_spec.rb",
@@ -167,7 +172,7 @@ Gem::Specification.new do |s|
167
172
  s.specification_version = 4
168
173
 
169
174
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
170
- s.add_runtime_dependency(%q<json>, ["~> 1.8.1"])
175
+ s.add_runtime_dependency(%q<json>, ["~> 1.7.7"])
171
176
  s.add_runtime_dependency(%q<sqlite3>, ["~> 1.3.8"])
172
177
  s.add_runtime_dependency(%q<activesupport>, ["~> 4.0.2"])
173
178
  s.add_runtime_dependency(%q<activerecord>, ["~> 4.0.2"])
@@ -184,12 +189,13 @@ Gem::Specification.new do |s|
184
189
  s.add_runtime_dependency(%q<hipchat>, ["~> 1.0.1"])
185
190
  s.add_runtime_dependency(%q<fluent-logger>, ["~> 0.4.7"])
186
191
  s.add_runtime_dependency(%q<dalli>, ["~> 2.7.0"])
192
+ s.add_runtime_dependency(%q<aws-sdk>, ["~> 1.33.0"])
187
193
  s.add_development_dependency(%q<cucumber>, [">= 0"])
188
194
  s.add_development_dependency(%q<bundler>, [">= 0"])
189
195
  s.add_development_dependency(%q<builder>, [">= 0"])
190
196
  s.add_development_dependency(%q<jeweler>, [">= 0"])
191
197
  else
192
- s.add_dependency(%q<json>, ["~> 1.8.1"])
198
+ s.add_dependency(%q<json>, ["~> 1.7.7"])
193
199
  s.add_dependency(%q<sqlite3>, ["~> 1.3.8"])
194
200
  s.add_dependency(%q<activesupport>, ["~> 4.0.2"])
195
201
  s.add_dependency(%q<activerecord>, ["~> 4.0.2"])
@@ -206,13 +212,14 @@ Gem::Specification.new do |s|
206
212
  s.add_dependency(%q<hipchat>, ["~> 1.0.1"])
207
213
  s.add_dependency(%q<fluent-logger>, ["~> 0.4.7"])
208
214
  s.add_dependency(%q<dalli>, ["~> 2.7.0"])
215
+ s.add_dependency(%q<aws-sdk>, ["~> 1.33.0"])
209
216
  s.add_dependency(%q<cucumber>, [">= 0"])
210
217
  s.add_dependency(%q<bundler>, [">= 0"])
211
218
  s.add_dependency(%q<builder>, [">= 0"])
212
219
  s.add_dependency(%q<jeweler>, [">= 0"])
213
220
  end
214
221
  else
215
- s.add_dependency(%q<json>, ["~> 1.8.1"])
222
+ s.add_dependency(%q<json>, ["~> 1.7.7"])
216
223
  s.add_dependency(%q<sqlite3>, ["~> 1.3.8"])
217
224
  s.add_dependency(%q<activesupport>, ["~> 4.0.2"])
218
225
  s.add_dependency(%q<activerecord>, ["~> 4.0.2"])
@@ -229,6 +236,7 @@ Gem::Specification.new do |s|
229
236
  s.add_dependency(%q<hipchat>, ["~> 1.0.1"])
230
237
  s.add_dependency(%q<fluent-logger>, ["~> 0.4.7"])
231
238
  s.add_dependency(%q<dalli>, ["~> 2.7.0"])
239
+ s.add_dependency(%q<aws-sdk>, ["~> 1.33.0"])
232
240
  s.add_dependency(%q<cucumber>, [">= 0"])
233
241
  s.add_dependency(%q<bundler>, [">= 0"])
234
242
  s.add_dependency(%q<builder>, [">= 0"])
@@ -3,8 +3,8 @@
3
3
  # Name:: Automatic::Ruby
4
4
  # Author:: 774 <http://id774.net>
5
5
  # Created:: Feb 18, 2012
6
- # Updated:: Jul 19, 2013
7
- # Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
6
+ # Updated:: Feb 21, 2014
7
+ # Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
8
8
  # License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
9
9
 
10
10
  root_dir = File.expand_path("..", File.dirname(__FILE__))
@@ -66,7 +66,7 @@ subparsers = {
66
66
  'feedparser' => lambda {|argv|
67
67
  require 'automatic/feed_parser'
68
68
  url = argv.shift || abort_with_usage("feedparser", "<url>")
69
- rss_results = Automatic::FeedParser.get(url)
69
+ rss_results = Automatic::FeedParser.get_url(url)
70
70
  pp rss_results
71
71
  },
72
72
  'inspect' => lambda {|argv|
@@ -74,7 +74,7 @@ subparsers = {
74
74
  url = argv.shift || abort_with_usage("inspect", "<url>")
75
75
  feeds = Feedbag.find(url)
76
76
  pp feeds
77
- rss_results = Automatic::FeedParser.get(feeds.pop)
77
+ rss_results = Automatic::FeedParser.get_url(feeds.pop)
78
78
  pp rss_results
79
79
  },
80
80
  'opmlparser' => lambda {|argv|
@@ -1,3 +1,30 @@
1
+ === 14.2.0 / 2014-02-26
2
+
3
+ * Added new plugins.
4
+
5
+ * Publish::AmazonS3
6
+
7
+ * Improvement File Saving Plugin
8
+
9
+ * Store::TargetLink rename to Store::File.
10
+ * Store::File rewrite link to file URI scheme.
11
+ * Enable file URI scheme in RSS 2.0 Feed.
12
+ * Store::File enable get file from Amazon S3.
13
+
14
+ * Improvement Subscription::Text
15
+
16
+ * Read text from TSV formatted files.
17
+ * Add fields description, author, comments to RSS 2.0 Feed.
18
+
19
+ * Into details Log messages.
20
+
21
+ * Use 'double' instead of 'mock', 'stub' for rspec-mocks.
22
+
23
+ * Improvement CI with network connection.
24
+
25
+ * Refactoring to divide Feed::Parser to Feed::Maker.
26
+
27
+
1
28
  === 14.1.0 / 2014-01-24
2
29
 
3
30
  * Fix dependency conflict.
@@ -140,6 +140,7 @@ SubscriptionText
140
140
 
141
141
  [Abstract]
142
142
  Create new feeds from urls, titles, feeds on text.
143
+ Reading data from TSV (sep = '\t') formatted files.
143
144
 
144
145
  [Syntax]
145
146
  - module: SubscriptionText
@@ -155,6 +156,9 @@ SubscriptionText
155
156
  -
156
157
  title: 'title'
157
158
  url: 'url'
159
+ files:
160
+ - 'somefile1.tsv'
161
+ - 'somefile2.tsv'
158
162
 
159
163
 
160
164
  SubscriptionPocket
@@ -409,21 +413,26 @@ StoreFullText
409
413
  db: DB_NAME
410
414
 
411
415
 
412
- StoreTargetLink
413
- ---------------
416
+ StoreFile
417
+ ---------
414
418
  [Path]
415
- /plugins/store/target_link.rb
419
+ /plugins/store/file.rb
416
420
 
417
421
  [Abstract]
418
- Store target locally.
419
- This emulate "Right click to save".
422
+ Store target to local file system.
423
+ This emulate "Right click to save"
424
+ If scheme begin with "s3n://", get file from Amazon S3.
425
+ Re-write URI scheme to file URI scheme and return feeds.
420
426
 
421
427
  [Syntax]
422
- - Module: StoreTargetLink
428
+ - Module: StoreFile
423
429
  config:
424
430
  path: SAVE_TO_PATH
425
431
  retry: RETRY_COUNT
426
432
  interval: INTERVAL_FOR_DOWNLOAD (in seconds.)
433
+ access_key: ACCESS_KEY_ID (Only using S3)
434
+ secret_key: SECRET_ACCESS_KEY (Only using S3)
435
+ bucket_name: AMAZONS3_BUCKET_NAME (Only using S3)
427
436
 
428
437
 
429
438
  PublishConsole
@@ -438,6 +447,27 @@ PublishConsole
438
447
  - module: PublishConsole
439
448
 
440
449
 
450
+ PublishAmazonS3
451
+ ---------------
452
+ [Path]
453
+ /plugins/publish/amazon_s3.rb
454
+
455
+ [Abstract]
456
+ Upload file to Amazon S3.
457
+
458
+ [Description]
459
+ Read file URI scheme and upload it to aws.
460
+ Postulate feed link must be file URI scheme.
461
+
462
+ [Syntax]
463
+ - module: PublishAmazonS3
464
+ config:
465
+ access_key: ACCESS_KEY_ID
466
+ secret_key: SECRET_ACCESS_KEY
467
+ bucket_name: AMAZONS3_BUCKET_NAME
468
+ target_path: PATH_ON_BUCKET
469
+
470
+
441
471
  PublishFluentd
442
472
  --------------
443
473
  [Path]
@@ -141,6 +141,7 @@ SubscriptionText
141
141
 
142
142
  [概要]
143
143
  テキストベースの urls, titles, feeds から新規のフィードを作成する
144
+ タブ区切りの TSV 形式のファイルからフィードの情報を読み込む
144
145
 
145
146
  [レシピ記法]
146
147
  - module: SubscriptionText
@@ -154,8 +155,9 @@ SubscriptionText
154
155
  -
155
156
  title: TITLE
156
157
  url: URL ...
157
- interval: スクレイピングの間隔 (秒数, 省略可)
158
- retry: エラー時のリトライ回数 (回数, 省略時 0)
158
+ files:
159
+ - 'somefile1.tsv'
160
+ - 'somefile2.tsv' ...
159
161
 
160
162
 
161
163
  SubscriptionPocket
@@ -412,20 +414,25 @@ StoreFullText
412
414
  db: SQLite3 DB 名
413
415
 
414
416
 
415
- StoreTargetLink
416
- ---------------
417
+ StoreFile
418
+ ---------
417
419
  [パス]
418
- /plugins/store/target_link.rb
420
+ /plugins/store/file.rb
419
421
 
420
422
  [概要]
421
- リンク先のコンテンツをローカルに保存する
423
+ リンク先のコンテンツをローカルファイルシステムに保存する
424
+ s3n:// で始まる場合は Amazon S3 からファイルを取得する
425
+ リンクを保存したファイルのパス (file スキーム) に書き換えてフィードを返す
422
426
 
423
427
  [レシピ記法]
424
- - module: StoreTargetLink
428
+ - module: StoreFile
425
429
  config:
426
430
  path: 保存先のフォルダ
427
431
  retry: エラー時のリトライ回数 (回数, 省略時 0)
428
432
  interval: 保存する間隔 (秒)
433
+ access_key: アクセスキー (S3 使用時のみ)
434
+ secret_key: シークレットアクセスキー (S3 使用時のみ)
435
+ bucket_name: S3 のバケット名 (S3 使用時のみ)
429
436
 
430
437
 
431
438
  PublishConsole
@@ -440,6 +447,27 @@ PublishConsole
440
447
  - module: PublishConsole
441
448
 
442
449
 
450
+ PublishAmazonS3
451
+ ---------------
452
+ [パス]
453
+ /plugins/publish/amazon_s3.rb
454
+
455
+ [概要]
456
+ Amazon S3 にファイルをアップロードする
457
+
458
+ [説明]
459
+ フィードのリンクにあるファイルを Amazon S3 にアップする
460
+ リンクが file URI スキームであることが前提である
461
+
462
+ [レシピ記法]
463
+ - module: PublishAmazonS3
464
+ config:
465
+ access_key: アクセスキー
466
+ secret_key: シークレットアクセスキー
467
+ bucket_name: S3 のバケット名
468
+ target_path: バケット上でのファイルのパス
469
+
470
+
443
471
  PublishFluentd
444
472
  --------------
445
473
  [パス]
data/doc/README CHANGED
@@ -1,7 +1,7 @@
1
1
  automaticruby
2
2
 
3
3
  Name
4
- Automatic Ruby - Ruby General Automation Framework
4
+ Automatic Ruby - Ruby framework for the general-purpose automatic processing
5
5
 
6
6
  Syntax
7
7
  $ automatic
@@ -112,7 +112,7 @@ plugins:
112
112
 
113
113
  - module: FilterTumblrResize
114
114
 
115
- - module: StoreTargetLink
115
+ - module: StoreFile
116
116
  config:
117
117
  path: /Users/yourname/Desktop/
118
118
  interval: 1
@@ -121,7 +121,7 @@ In the case of sample this recipe.
121
121
  1. Subscribe to RSS feeds of Tumblr by SubScriptionFeed.
122
122
  2. Save permalink to database by StorePermalink.
123
123
  3. Specify the URL of the image by FilterImage and FilterTumblrResize.
124
- 4. Downloading image file of Tumblr by StoreTargetLink.
124
+ 4. Downloading image file of Tumblr by StoreFile.
125
125
 
126
126
 
127
127
  Showing another example as follows.
@@ -496,7 +496,7 @@ TODO
496
496
  Environment
497
497
  ===========
498
498
 
499
- Ruby 1.9 - 2.0.
499
+ After Ruby 1.9.
500
500
 
501
501
  Depend on the packages that described in Gemfile.
502
502
 
@@ -117,7 +117,7 @@ plugins:
117
117
 
118
118
  - module: FilterTumblrResize
119
119
 
120
- - module: StoreTargetLink
120
+ - module: StoreFile
121
121
  config:
122
122
  path: /Users/yourname/Desktop/
123
123
  interval: 1
@@ -126,7 +126,7 @@ plugins:
126
126
  1. Subscription Feed で Tumblr のフィードを購読し
127
127
  2. StorePermalink でパーマリンクをデータベースに保存し
128
128
  3 FilterImage と FilterTumblrResize で画像の URL を指定して
129
- 4. StoreTargetLink で Tumblr の画像をダウンロードする
129
+ 4. StoreFile で Tumblr の画像をダウンロードする
130
130
  という一連の処理をプラグインの組み合わせで実現している。
131
131
 
132
132
 
@@ -504,7 +504,7 @@ TODO
504
504
  動作環境
505
505
  ========
506
506
 
507
- Ruby 1.9 - 2.0
507
+ Ruby 1.9 以降
508
508
 
509
509
  Gemfile に記述された gem パッケージに依存
510
510