termtter 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/Rakefile +1 -1
  2. data/VERSION +1 -1
  3. data/lib/plugins/aa.rb +1 -1
  4. data/lib/plugins/appendtitle.rb +5 -12
  5. data/lib/plugins/defaults/auto_reload.rb +1 -0
  6. data/lib/plugins/defaults/cache.rb +18 -0
  7. data/lib/plugins/defaults/command_line.rb +1 -1
  8. data/lib/plugins/defaults/fib.rb +15 -6
  9. data/lib/plugins/defaults/retweet.rb +1 -1
  10. data/lib/plugins/defaults/standard_commands.rb +31 -25
  11. data/lib/plugins/defaults/stdout.rb +12 -4
  12. data/lib/plugins/defaults/system.rb +27 -0
  13. data/lib/plugins/dupu.rb +13 -0
  14. data/lib/plugins/erase.rb +4 -0
  15. data/lib/plugins/error_log.rb +17 -0
  16. data/lib/plugins/expand-tinyurl.rb +8 -1
  17. data/lib/plugins/growl.rb +10 -7
  18. data/lib/plugins/hatena_keyword_haiku.rb +88 -0
  19. data/lib/plugins/irc_gw.rb +12 -4
  20. data/lib/plugins/itunes.rb +29 -26
  21. data/lib/plugins/mecab.rb +23 -0
  22. data/lib/plugins/mudan_kinshi.rb +13 -0
  23. data/lib/plugins/ndkn.rb +7 -0
  24. data/lib/plugins/other_user.rb +47 -0
  25. data/lib/plugins/reply_sound.rb +75 -25
  26. data/lib/plugins/ruby-v.rb +10 -0
  27. data/lib/plugins/time_signal.rb +21 -0
  28. data/lib/plugins/tinyurl.rb +6 -4
  29. data/lib/plugins/train.rb +1 -1
  30. data/lib/plugins/translation.rb +2 -0
  31. data/lib/plugins/user_stream.rb +122 -0
  32. data/lib/plugins/whale.rb +28 -0
  33. data/lib/termtter/active_rubytter.rb +4 -0
  34. data/lib/termtter/api.rb +55 -30
  35. data/lib/termtter/client.rb +19 -4
  36. data/lib/termtter/config_setup.rb +10 -2
  37. data/lib/termtter/config_template.erb +4 -2
  38. data/lib/termtter/crypt.rb +13 -0
  39. data/lib/termtter/default_config.rb +5 -2
  40. data/lib/termtter/hookable.rb +4 -0
  41. data/lib/termtter/memory_cache.rb +67 -19
  42. data/lib/termtter/rubytter_proxy.rb +101 -26
  43. data/lib/termtter/system_extensions.rb +22 -18
  44. data/lib/termtter.rb +5 -1
  45. data/spec/termtter/crypt_spec.rb +16 -0
  46. data/spec/termtter/rubytter_proxy_spec.rb +14 -0
  47. metadata +85 -26
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termtter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ hash: 51
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 9
9
+ - 0
10
+ version: 1.9.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - jugyo
@@ -10,59 +16,89 @@ autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
18
 
13
- date: 2010-04-10 00:00:00 +09:00
19
+ date: 2010-07-01 00:00:00 +09:00
14
20
  default_executable: termtter
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
23
  name: json
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
21
27
  requirements:
22
28
  - - ">="
23
29
  - !ruby/object:Gem::Version
30
+ hash: 21
31
+ segments:
32
+ - 1
33
+ - 1
34
+ - 3
24
35
  version: 1.1.3
25
- version:
36
+ type: :runtime
37
+ version_requirements: *id001
26
38
  - !ruby/object:Gem::Dependency
27
39
  name: highline
28
- type: :runtime
29
- version_requirement:
30
- version_requirements: !ruby/object:Gem::Requirement
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
31
43
  requirements:
32
44
  - - ">="
33
45
  - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 1
49
+ - 5
50
+ - 0
34
51
  version: 1.5.0
35
- version:
52
+ type: :runtime
53
+ version_requirements: *id002
36
54
  - !ruby/object:Gem::Dependency
37
55
  name: termcolor
38
- type: :runtime
39
- version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
56
+ prerelease: false
57
+ requirement: &id003 !ruby/object:Gem::Requirement
58
+ none: false
41
59
  requirements:
42
60
  - - ">="
43
61
  - !ruby/object:Gem::Version
62
+ hash: 23
63
+ segments:
64
+ - 1
65
+ - 0
66
+ - 0
44
67
  version: 1.0.0
45
- version:
68
+ type: :runtime
69
+ version_requirements: *id003
46
70
  - !ruby/object:Gem::Dependency
47
71
  name: rubytter
48
- type: :runtime
49
- version_requirement:
50
- version_requirements: !ruby/object:Gem::Requirement
72
+ prerelease: false
73
+ requirement: &id004 !ruby/object:Gem::Requirement
74
+ none: false
51
75
  requirements:
52
76
  - - ">="
53
77
  - !ruby/object:Gem::Version
54
- version: 0.11.0
55
- version:
78
+ hash: 7
79
+ segments:
80
+ - 1
81
+ - 4
82
+ - 0
83
+ version: 1.4.0
84
+ type: :runtime
85
+ version_requirements: *id004
56
86
  - !ruby/object:Gem::Dependency
57
87
  name: notify
58
- type: :runtime
59
- version_requirement:
60
- version_requirements: !ruby/object:Gem::Requirement
88
+ prerelease: false
89
+ requirement: &id005 !ruby/object:Gem::Requirement
90
+ none: false
61
91
  requirements:
62
92
  - - ">="
63
93
  - !ruby/object:Gem::Version
94
+ hash: 21
95
+ segments:
96
+ - 0
97
+ - 2
98
+ - 1
64
99
  version: 0.2.1
65
- version:
100
+ type: :runtime
101
+ version_requirements: *id005
66
102
  description: Termtter is a terminal based Twitter client.
67
103
  email: jugyo.org@gmail.com
68
104
  executables:
@@ -105,6 +141,7 @@ files:
105
141
  - lib/plugins/defaults.rb
106
142
  - lib/plugins/defaults/alias.rb
107
143
  - lib/plugins/defaults/auto_reload.rb
144
+ - lib/plugins/defaults/cache.rb
108
145
  - lib/plugins/defaults/command_line.rb
109
146
  - lib/plugins/defaults/confirm.rb
110
147
  - lib/plugins/defaults/eval.rb
@@ -120,13 +157,17 @@ files:
120
157
  - lib/plugins/defaults/standard_completion.rb
121
158
  - lib/plugins/defaults/stdout.rb
122
159
  - lib/plugins/defaults/switch.rb
160
+ - lib/plugins/defaults/system.rb
123
161
  - lib/plugins/defaults/user.rb
124
162
  - lib/plugins/draft.rb
163
+ - lib/plugins/dupu.rb
125
164
  - lib/plugins/easy_post.rb
126
165
  - lib/plugins/eject.rb
127
166
  - lib/plugins/en2ja.rb
128
167
  - lib/plugins/english.rb
168
+ - lib/plugins/erase.rb
129
169
  - lib/plugins/erb.rb
170
+ - lib/plugins/error_log.rb
130
171
  - lib/plugins/event_invoked_at.rb
131
172
  - lib/plugins/exec_and_update.rb
132
173
  - lib/plugins/expand-tinyurl.rb
@@ -150,6 +191,7 @@ files:
150
191
  - lib/plugins/haml.rb
151
192
  - lib/plugins/hatebu.rb
152
193
  - lib/plugins/hatebu_and_update.rb
194
+ - lib/plugins/hatena_keyword_haiku.rb
153
195
  - lib/plugins/hi.rb
154
196
  - lib/plugins/history.rb
155
197
  - lib/plugins/http_server.rb
@@ -170,11 +212,14 @@ files:
170
212
  - lib/plugins/mark.rb
171
213
  - lib/plugins/md5pass.rb
172
214
  - lib/plugins/me.rb
215
+ - lib/plugins/mecab.rb
173
216
  - lib/plugins/modify_arg_hook_sample.rb
174
217
  - lib/plugins/msagent.rb
218
+ - lib/plugins/mudan_kinshi.rb
175
219
  - lib/plugins/multi_output.rb
176
220
  - lib/plugins/multi_post.rb
177
221
  - lib/plugins/multi_reply.rb
222
+ - lib/plugins/ndkn.rb
178
223
  - lib/plugins/nop.rb
179
224
  - lib/plugins/notify-send.rb
180
225
  - lib/plugins/notify-send2.rb
@@ -182,6 +227,7 @@ files:
182
227
  - lib/plugins/nuance.rb
183
228
  - lib/plugins/open.rb
184
229
  - lib/plugins/open_url.rb
230
+ - lib/plugins/other_user.rb
185
231
  - lib/plugins/otsune.rb
186
232
  - lib/plugins/outputz.rb
187
233
  - lib/plugins/paranoid.rb
@@ -202,6 +248,7 @@ files:
202
248
  - lib/plugins/reply_retweet.rb
203
249
  - lib/plugins/reply_sound.rb
204
250
  - lib/plugins/reverse.rb
251
+ - lib/plugins/ruby-v.rb
205
252
  - lib/plugins/say.rb
206
253
  - lib/plugins/saykanji.rb
207
254
  - lib/plugins/scrape.rb
@@ -221,6 +268,7 @@ files:
221
268
  - lib/plugins/stream.rb
222
269
  - lib/plugins/switch_user.rb
223
270
  - lib/plugins/system_status.rb
271
+ - lib/plugins/time_signal.rb
224
272
  - lib/plugins/timer.rb
225
273
  - lib/plugins/tinyurl.rb
226
274
  - lib/plugins/train.rb
@@ -232,10 +280,12 @@ files:
232
280
  - lib/plugins/typable_id.rb
233
281
  - lib/plugins/update_editor.rb
234
282
  - lib/plugins/uri-open.rb
283
+ - lib/plugins/user_stream.rb
235
284
  - lib/plugins/w3mimg.rb
236
285
  - lib/plugins/wassr.rb
237
286
  - lib/plugins/wassr_post.rb
238
287
  - lib/plugins/web.rb
288
+ - lib/plugins/whale.rb
239
289
  - lib/plugins/whois.rb
240
290
  - lib/plugins/yhara.rb
241
291
  - lib/plugins/yhara_filter.rb
@@ -248,6 +298,7 @@ files:
248
298
  - lib/termtter/config.rb
249
299
  - lib/termtter/config_setup.rb
250
300
  - lib/termtter/config_template.erb
301
+ - lib/termtter/crypt.rb
251
302
  - lib/termtter/default_config.rb
252
303
  - lib/termtter/event.rb
253
304
  - lib/termtter/hook.rb
@@ -298,6 +349,7 @@ files:
298
349
  - spec/termtter/command_spec.rb
299
350
  - spec/termtter/config_setup_spec.rb
300
351
  - spec/termtter/config_spec.rb
352
+ - spec/termtter/crypt_spec.rb
301
353
  - spec/termtter/event_spec.rb
302
354
  - spec/termtter/hook_spec.rb
303
355
  - spec/termtter/hookable_spec.rb
@@ -322,21 +374,27 @@ rdoc_options:
322
374
  require_paths:
323
375
  - lib
324
376
  required_ruby_version: !ruby/object:Gem::Requirement
377
+ none: false
325
378
  requirements:
326
379
  - - ">="
327
380
  - !ruby/object:Gem::Version
381
+ hash: 3
382
+ segments:
383
+ - 0
328
384
  version: "0"
329
- version:
330
385
  required_rubygems_version: !ruby/object:Gem::Requirement
386
+ none: false
331
387
  requirements:
332
388
  - - ">="
333
389
  - !ruby/object:Gem::Version
390
+ hash: 3
391
+ segments:
392
+ - 0
334
393
  version: "0"
335
- version:
336
394
  requirements: []
337
395
 
338
396
  rubyforge_project: termtter
339
- rubygems_version: 1.3.5
397
+ rubygems_version: 1.3.7
340
398
  signing_key:
341
399
  specification_version: 3
342
400
  summary: Terminal based Twitter client.
@@ -377,6 +435,7 @@ test_files:
377
435
  - spec/termtter/command_spec.rb
378
436
  - spec/termtter/config_setup_spec.rb
379
437
  - spec/termtter/config_spec.rb
438
+ - spec/termtter/crypt_spec.rb
380
439
  - spec/termtter/event_spec.rb
381
440
  - spec/termtter/hook_spec.rb
382
441
  - spec/termtter/hookable_spec.rb