yapra 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/History.txt +4 -0
  2. data/LICENCE +22 -0
  3. data/License.txt +22 -0
  4. data/Manifest.txt +103 -0
  5. data/PostInstall.txt +7 -0
  6. data/README.txt +66 -0
  7. data/Rakefile +13 -0
  8. data/bin/yapra +52 -0
  9. data/config/hoe.rb +75 -0
  10. data/config/requirements.rb +15 -0
  11. data/legacy_plugins/Download/nicovideo.rb +45 -0
  12. data/legacy_plugins/Feed/custom_feed.rb +87 -0
  13. data/legacy_plugins/Feed/google_calendar.rb +51 -0
  14. data/legacy_plugins/Feed/google_search_history.rb +45 -0
  15. data/legacy_plugins/Feed/hatena_graph.rb +37 -0
  16. data/legacy_plugins/Feed/lirs.rb +36 -0
  17. data/legacy_plugins/Filter/Translations/yahoo.rb +40 -0
  18. data/legacy_plugins/Filter/apply_text_html.rb +26 -0
  19. data/legacy_plugins/Filter/average.rb +6 -0
  20. data/legacy_plugins/Filter/deduped.rb +51 -0
  21. data/legacy_plugins/Filter/find_num.rb +8 -0
  22. data/legacy_plugins/Filter/find_regex.rb +9 -0
  23. data/legacy_plugins/Filter/fresh.rb +9 -0
  24. data/legacy_plugins/Filter/get_html.rb +11 -0
  25. data/legacy_plugins/Filter/grep.rb +16 -0
  26. data/legacy_plugins/Filter/invert.rb +14 -0
  27. data/legacy_plugins/Filter/sort.rb +10 -0
  28. data/legacy_plugins/Filter/subs.rb +6 -0
  29. data/legacy_plugins/Filter/to_integer.rb +4 -0
  30. data/legacy_plugins/Publish/delicious.rb +91 -0
  31. data/legacy_plugins/Publish/google_calendar.rb +58 -0
  32. data/legacy_plugins/Publish/hatena_bookmark.rb +47 -0
  33. data/legacy_plugins/Publish/hatena_diary_writer.rb +53 -0
  34. data/legacy_plugins/Publish/hatena_graph.rb +39 -0
  35. data/legacy_plugins/Publish/lingr.rb +110 -0
  36. data/legacy_plugins/Publish/mixi_diary_writer.rb +104 -0
  37. data/legacy_plugins/Publish/scuttle.rb +92 -0
  38. data/legacy_plugins/Publish/twitter.rb +35 -0
  39. data/legacy_plugins/RSS/load.rb +38 -0
  40. data/legacy_plugins/RSS/save.rb +41 -0
  41. data/legacy_plugins/Yaml/load.rb +5 -0
  42. data/legacy_plugins/Yaml/save.rb +9 -0
  43. data/legacy_plugins/argv.rb +5 -0
  44. data/legacy_plugins/concat.rb +18 -0
  45. data/legacy_plugins/const_list.rb +15 -0
  46. data/legacy_plugins/first.rb +11 -0
  47. data/legacy_plugins/head.rb +14 -0
  48. data/legacy_plugins/load_path.rb +21 -0
  49. data/legacy_plugins/plagger.rb +94 -0
  50. data/legacy_plugins/plugin_from_uri.rb +31 -0
  51. data/legacy_plugins/pluginbase.rb +4 -0
  52. data/legacy_plugins/print.rb +15 -0
  53. data/legacy_plugins/reverse.rb +10 -0
  54. data/legacy_plugins/send_msg.rb +18 -0
  55. data/legacy_plugins/stdin.rb +6 -0
  56. data/legacy_plugins/stdout.rb +6 -0
  57. data/lib/yapra/config.rb +103 -0
  58. data/lib/yapra/inflector.rb +55 -0
  59. data/lib/yapra/legacy_plugin/advance_mode_registry.rb +38 -0
  60. data/lib/yapra/legacy_plugin/base.rb +26 -0
  61. data/lib/yapra/legacy_plugin/compatible_mode_registry.rb +34 -0
  62. data/lib/yapra/legacy_plugin/registry_factory.rb +21 -0
  63. data/lib/yapra/legacy_plugin.rb +5 -0
  64. data/lib/yapra/pipeline.rb +74 -0
  65. data/lib/yapra/plugin/base.rb +14 -0
  66. data/lib/yapra/plugin/context_aware.rb +14 -0
  67. data/lib/yapra/plugin/erb_applier.rb +15 -0
  68. data/lib/yapra/plugin/feed_item_operator.rb +21 -0
  69. data/lib/yapra/plugin/mechanize_base.rb +26 -0
  70. data/lib/yapra/plugin.rb +5 -0
  71. data/lib/yapra/runtime.rb +36 -0
  72. data/lib/yapra/version.rb +9 -0
  73. data/lib/yapra.rb +44 -0
  74. data/lib-plugins/yapra/plugin/config/agent.rb +34 -0
  75. data/lib-plugins/yapra/plugin/config/basic_auth.rb +19 -0
  76. data/lib-plugins/yapra/plugin/config/web_post.rb +21 -0
  77. data/lib-plugins/yapra/plugin/feed/custom.rb +41 -0
  78. data/lib-plugins/yapra/plugin/feed/load.rb +29 -0
  79. data/lib-plugins/yapra/plugin/filter/entry_full_text.rb +59 -0
  80. data/lib-plugins/yapra/plugin/publish/file_download.rb +109 -0
  81. data/lib-plugins/yapra/plugin/publish/gmail.rb +27 -0
  82. data/lib-plugins/yapra/plugin/publish/imap.rb +82 -0
  83. data/lib-plugins/yapra/plugin/test/append_entry.rb +25 -0
  84. data/plugins/Filter/deduped.rb +57 -0
  85. data/plugins/Filter/sort.rb +28 -0
  86. data/plugins/Filter/subs.rb +16 -0
  87. data/script/console +10 -0
  88. data/script/destroy +14 -0
  89. data/script/generate +14 -0
  90. data/script/txt2html +82 -0
  91. data/setup.rb +1585 -0
  92. data/spec/spec.opts +1 -0
  93. data/spec/spec_helper.rb +11 -0
  94. data/spec/yapra_spec.rb +11 -0
  95. data/tasks/deployment.rake +34 -0
  96. data/tasks/environment.rake +7 -0
  97. data/tasks/rspec.rake +21 -0
  98. data/tasks/website.rake +17 -0
  99. data/website/index.html +115 -0
  100. data/website/index.txt +57 -0
  101. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  102. data/website/stylesheets/screen.css +138 -0
  103. data/website/template.html.erb +48 -0
  104. metadata +170 -0
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="mailto:yuanying-at-fraction-jp">Yuanying Ohtsuka</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+
47
+ </body>
48
+ </html>
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yapra
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Yuanying
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-20 00:00:00 +09:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Yet another pragger implementation.
17
+ email:
18
+ - yuanying at fraction dot jp
19
+ executables:
20
+ - yapra
21
+ extensions: []
22
+
23
+ extra_rdoc_files:
24
+ - History.txt
25
+ - License.txt
26
+ - Manifest.txt
27
+ - PostInstall.txt
28
+ - README.txt
29
+ - website/index.txt
30
+ files:
31
+ - History.txt
32
+ - LICENCE
33
+ - License.txt
34
+ - Manifest.txt
35
+ - PostInstall.txt
36
+ - README.txt
37
+ - Rakefile
38
+ - config/hoe.rb
39
+ - config/requirements.rb
40
+ - legacy_plugins/Download/nicovideo.rb
41
+ - legacy_plugins/Feed/custom_feed.rb
42
+ - legacy_plugins/Feed/google_calendar.rb
43
+ - legacy_plugins/Feed/google_search_history.rb
44
+ - legacy_plugins/Feed/hatena_graph.rb
45
+ - legacy_plugins/Feed/lirs.rb
46
+ - legacy_plugins/Filter/Translations/yahoo.rb
47
+ - legacy_plugins/Filter/apply_text_html.rb
48
+ - legacy_plugins/Filter/average.rb
49
+ - legacy_plugins/Filter/deduped.rb
50
+ - legacy_plugins/Filter/find_num.rb
51
+ - legacy_plugins/Filter/find_regex.rb
52
+ - legacy_plugins/Filter/fresh.rb
53
+ - legacy_plugins/Filter/get_html.rb
54
+ - legacy_plugins/Filter/grep.rb
55
+ - legacy_plugins/Filter/invert.rb
56
+ - legacy_plugins/Filter/sort.rb
57
+ - legacy_plugins/Filter/subs.rb
58
+ - legacy_plugins/Filter/to_integer.rb
59
+ - legacy_plugins/Publish/delicious.rb
60
+ - legacy_plugins/Publish/google_calendar.rb
61
+ - legacy_plugins/Publish/hatena_bookmark.rb
62
+ - legacy_plugins/Publish/hatena_diary_writer.rb
63
+ - legacy_plugins/Publish/hatena_graph.rb
64
+ - legacy_plugins/Publish/lingr.rb
65
+ - legacy_plugins/Publish/mixi_diary_writer.rb
66
+ - legacy_plugins/Publish/scuttle.rb
67
+ - legacy_plugins/Publish/twitter.rb
68
+ - legacy_plugins/RSS/load.rb
69
+ - legacy_plugins/RSS/save.rb
70
+ - legacy_plugins/Yaml/load.rb
71
+ - legacy_plugins/Yaml/save.rb
72
+ - legacy_plugins/argv.rb
73
+ - legacy_plugins/concat.rb
74
+ - legacy_plugins/const_list.rb
75
+ - legacy_plugins/first.rb
76
+ - legacy_plugins/head.rb
77
+ - legacy_plugins/load_path.rb
78
+ - legacy_plugins/plagger.rb
79
+ - legacy_plugins/plugin_from_uri.rb
80
+ - legacy_plugins/pluginbase.rb
81
+ - legacy_plugins/print.rb
82
+ - legacy_plugins/reverse.rb
83
+ - legacy_plugins/send_msg.rb
84
+ - legacy_plugins/stdin.rb
85
+ - legacy_plugins/stdout.rb
86
+ - lib-plugins/yapra/plugin/config/agent.rb
87
+ - lib-plugins/yapra/plugin/config/basic_auth.rb
88
+ - lib-plugins/yapra/plugin/config/web_post.rb
89
+ - lib-plugins/yapra/plugin/feed/custom.rb
90
+ - lib-plugins/yapra/plugin/feed/load.rb
91
+ - lib-plugins/yapra/plugin/filter/entry_full_text.rb
92
+ - lib-plugins/yapra/plugin/publish/file_download.rb
93
+ - lib-plugins/yapra/plugin/publish/gmail.rb
94
+ - lib-plugins/yapra/plugin/publish/imap.rb
95
+ - lib-plugins/yapra/plugin/test/append_entry.rb
96
+ - lib/yapra.rb
97
+ - lib/yapra/config.rb
98
+ - lib/yapra/inflector.rb
99
+ - lib/yapra/legacy_plugin.rb
100
+ - lib/yapra/legacy_plugin/advance_mode_registry.rb
101
+ - lib/yapra/legacy_plugin/base.rb
102
+ - lib/yapra/legacy_plugin/compatible_mode_registry.rb
103
+ - lib/yapra/legacy_plugin/registry_factory.rb
104
+ - lib/yapra/pipeline.rb
105
+ - lib/yapra/plugin.rb
106
+ - lib/yapra/plugin/base.rb
107
+ - lib/yapra/plugin/context_aware.rb
108
+ - lib/yapra/plugin/erb_applier.rb
109
+ - lib/yapra/plugin/feed_item_operator.rb
110
+ - lib/yapra/plugin/mechanize_base.rb
111
+ - lib/yapra/runtime.rb
112
+ - lib/yapra/version.rb
113
+ - plugins/Filter/deduped.rb
114
+ - plugins/Filter/sort.rb
115
+ - plugins/Filter/subs.rb
116
+ - bin/yapra
117
+ - script/console
118
+ - script/destroy
119
+ - script/generate
120
+ - script/txt2html
121
+ - setup.rb
122
+ - spec/spec.opts
123
+ - spec/spec_helper.rb
124
+ - spec/yapra_spec.rb
125
+ - tasks/deployment.rake
126
+ - tasks/environment.rake
127
+ - tasks/rspec.rake
128
+ - tasks/website.rake
129
+ - website/index.html
130
+ - website/index.txt
131
+ - website/javascripts/rounded_corners_lite.inc.js
132
+ - website/stylesheets/screen.css
133
+ - website/template.html.erb
134
+ has_rdoc: true
135
+ homepage: http://yapra.rubyforge.org
136
+ post_install_message: |+
137
+
138
+ For more information on yapra, see http://yapra.rubyforge.org
139
+
140
+ NOTE: Change this information in PostInstall.txt
141
+ You can also delete it if you don't want it.
142
+
143
+
144
+ rdoc_options:
145
+ - --main
146
+ - README.txt
147
+ require_paths:
148
+ - lib
149
+ - lib-plugins
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: "0"
155
+ version:
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: "0"
161
+ version:
162
+ requirements: []
163
+
164
+ rubyforge_project: yapra
165
+ rubygems_version: 1.1.1
166
+ signing_key:
167
+ specification_version: 2
168
+ summary: Yet another pragger implementation.
169
+ test_files: []
170
+