junkfood 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/.document +11 -0
  2. data/.gitignore +6 -0
  3. data/Gemfile +17 -0
  4. data/Gemfile.lock +76 -0
  5. data/LICENSE +202 -0
  6. data/NOTICE +4 -0
  7. data/README.md +375 -0
  8. data/Rakefile +51 -0
  9. data/VERSION +1 -0
  10. data/junkfood.gemspec +147 -0
  11. data/lib/junkfood/adler32.rb +102 -0
  12. data/lib/junkfood/adler32_pure.rb +112 -0
  13. data/lib/junkfood/assert.rb +75 -0
  14. data/lib/junkfood/base32.rb +198 -0
  15. data/lib/junkfood/ceb/base_command.rb +62 -0
  16. data/lib/junkfood/ceb/base_event.rb +42 -0
  17. data/lib/junkfood/ceb/bus.rb +152 -0
  18. data/lib/junkfood/ceb/executors/command_executor.rb +44 -0
  19. data/lib/junkfood/ceb/executors/delayed_job_command_executor.rb +61 -0
  20. data/lib/junkfood/ceb/executors/event_executor.rb +35 -0
  21. data/lib/junkfood/ceb/executors.rb +25 -0
  22. data/lib/junkfood/ceb.rb +27 -0
  23. data/lib/junkfood/one_time.rb +247 -0
  24. data/lib/junkfood/paperclip_string_io.rb +66 -0
  25. data/lib/junkfood/settings.rb +67 -0
  26. data/lib/junkfood.rb +29 -0
  27. data/spec/.rspec +1 -0
  28. data/spec/junkfood/adler32_pure_spec.rb +16 -0
  29. data/spec/junkfood/adler32_spec.rb +16 -0
  30. data/spec/junkfood/assert_spec.rb +84 -0
  31. data/spec/junkfood/base32_spec.rb +39 -0
  32. data/spec/junkfood/ceb/base_command_spec.rb +73 -0
  33. data/spec/junkfood/ceb/base_event_spec.rb +67 -0
  34. data/spec/junkfood/ceb/bus_spec.rb +153 -0
  35. data/spec/junkfood/ceb/executors/command_executor_spec.rb +24 -0
  36. data/spec/junkfood/ceb/executors/delayed_job_command_executor_spec.rb +5 -0
  37. data/spec/junkfood/ceb/executors/event_executor_spec.rb +18 -0
  38. data/spec/junkfood/one_time_spec.rb +167 -0
  39. data/spec/junkfood/paperclip_string_io_spec.rb +40 -0
  40. data/spec/junkfood/settings_spec.rb +7 -0
  41. data/spec/junkfood_spec.rb +4 -0
  42. data/spec/spec_helper.rb +20 -0
  43. metadata +372 -0
metadata ADDED
@@ -0,0 +1,372 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: junkfood
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Benjamin Yu
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-09-30 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: bluecloth
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :development
31
+ prerelease: false
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: rspec
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ segments:
41
+ - 2
42
+ - 0
43
+ - 0
44
+ - beta
45
+ - 22
46
+ version: 2.0.0.beta.22
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: yard
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ segments:
58
+ - 0
59
+ - 6
60
+ - 0
61
+ version: 0.6.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: bundler
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ segments:
73
+ - 1
74
+ - 0
75
+ - 0
76
+ version: 1.0.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
81
+ name: jeweler
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ segments:
88
+ - 1
89
+ - 5
90
+ - 0
91
+ - pre3
92
+ version: 1.5.0.pre3
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: rcov
98
+ requirement: &id006 !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
105
+ version: "0"
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: *id006
109
+ - !ruby/object:Gem::Dependency
110
+ name: activesupport
111
+ requirement: &id007 !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: *id007
122
+ - !ruby/object:Gem::Dependency
123
+ name: mongoid
124
+ requirement: &id008 !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ~>
128
+ - !ruby/object:Gem::Version
129
+ segments:
130
+ - 2
131
+ - 0
132
+ - 0
133
+ - beta
134
+ - 18
135
+ version: 2.0.0.beta.18
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: *id008
139
+ - !ruby/object:Gem::Dependency
140
+ name: wrong
141
+ requirement: &id009 !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ segments:
147
+ - 0
148
+ version: "0"
149
+ type: :development
150
+ prerelease: false
151
+ version_requirements: *id009
152
+ - !ruby/object:Gem::Dependency
153
+ name: rspec
154
+ requirement: &id010 !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ segments:
160
+ - 2
161
+ - 0
162
+ - 0
163
+ - beta
164
+ - 19
165
+ version: 2.0.0.beta.19
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: *id010
169
+ - !ruby/object:Gem::Dependency
170
+ name: yard
171
+ requirement: &id011 !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ~>
175
+ - !ruby/object:Gem::Version
176
+ segments:
177
+ - 0
178
+ - 6
179
+ - 0
180
+ version: 0.6.0
181
+ type: :development
182
+ prerelease: false
183
+ version_requirements: *id011
184
+ - !ruby/object:Gem::Dependency
185
+ name: bundler
186
+ requirement: &id012 !ruby/object:Gem::Requirement
187
+ none: false
188
+ requirements:
189
+ - - ~>
190
+ - !ruby/object:Gem::Version
191
+ segments:
192
+ - 1
193
+ - 0
194
+ - 0
195
+ version: 1.0.0
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: *id012
199
+ - !ruby/object:Gem::Dependency
200
+ name: jeweler
201
+ requirement: &id013 !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ~>
205
+ - !ruby/object:Gem::Version
206
+ segments:
207
+ - 1
208
+ - 5
209
+ - 0
210
+ - pre3
211
+ version: 1.5.0.pre3
212
+ type: :development
213
+ prerelease: false
214
+ version_requirements: *id013
215
+ - !ruby/object:Gem::Dependency
216
+ name: rcov
217
+ requirement: &id014 !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ segments:
223
+ - 0
224
+ version: "0"
225
+ type: :development
226
+ prerelease: false
227
+ version_requirements: *id014
228
+ - !ruby/object:Gem::Dependency
229
+ name: activesupport
230
+ requirement: &id015 !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ segments:
236
+ - 0
237
+ version: "0"
238
+ type: :runtime
239
+ prerelease: false
240
+ version_requirements: *id015
241
+ - !ruby/object:Gem::Dependency
242
+ name: mongoid
243
+ requirement: &id016 !ruby/object:Gem::Requirement
244
+ none: false
245
+ requirements:
246
+ - - ~>
247
+ - !ruby/object:Gem::Version
248
+ segments:
249
+ - 2
250
+ - 0
251
+ - 0
252
+ - beta
253
+ - 18
254
+ version: 2.0.0.beta.18
255
+ type: :runtime
256
+ prerelease: false
257
+ version_requirements: *id016
258
+ - !ruby/object:Gem::Dependency
259
+ name: wrong
260
+ requirement: &id017 !ruby/object:Gem::Requirement
261
+ none: false
262
+ requirements:
263
+ - - ">="
264
+ - !ruby/object:Gem::Version
265
+ segments:
266
+ - 0
267
+ version: "0"
268
+ type: :runtime
269
+ prerelease: false
270
+ version_requirements: *id017
271
+ description: My mesh of an all-in-one library for disjoint code.
272
+ email: benjaminlyu@gmail.com
273
+ executables: []
274
+
275
+ extensions: []
276
+
277
+ extra_rdoc_files:
278
+ - LICENSE
279
+ - NOTICE
280
+ - README.md
281
+ files:
282
+ - .document
283
+ - .gitignore
284
+ - Gemfile
285
+ - Gemfile.lock
286
+ - LICENSE
287
+ - NOTICE
288
+ - README.md
289
+ - Rakefile
290
+ - VERSION
291
+ - junkfood.gemspec
292
+ - lib/junkfood.rb
293
+ - lib/junkfood/adler32.rb
294
+ - lib/junkfood/adler32_pure.rb
295
+ - lib/junkfood/assert.rb
296
+ - lib/junkfood/base32.rb
297
+ - lib/junkfood/ceb.rb
298
+ - lib/junkfood/ceb/base_command.rb
299
+ - lib/junkfood/ceb/base_event.rb
300
+ - lib/junkfood/ceb/bus.rb
301
+ - lib/junkfood/ceb/executors.rb
302
+ - lib/junkfood/ceb/executors/command_executor.rb
303
+ - lib/junkfood/ceb/executors/delayed_job_command_executor.rb
304
+ - lib/junkfood/ceb/executors/event_executor.rb
305
+ - lib/junkfood/one_time.rb
306
+ - lib/junkfood/paperclip_string_io.rb
307
+ - lib/junkfood/settings.rb
308
+ - spec/.rspec
309
+ - spec/junkfood/adler32_pure_spec.rb
310
+ - spec/junkfood/adler32_spec.rb
311
+ - spec/junkfood/assert_spec.rb
312
+ - spec/junkfood/base32_spec.rb
313
+ - spec/junkfood/ceb/base_command_spec.rb
314
+ - spec/junkfood/ceb/base_event_spec.rb
315
+ - spec/junkfood/ceb/bus_spec.rb
316
+ - spec/junkfood/ceb/executors/command_executor_spec.rb
317
+ - spec/junkfood/ceb/executors/delayed_job_command_executor_spec.rb
318
+ - spec/junkfood/ceb/executors/event_executor_spec.rb
319
+ - spec/junkfood/one_time_spec.rb
320
+ - spec/junkfood/paperclip_string_io_spec.rb
321
+ - spec/junkfood/settings_spec.rb
322
+ - spec/junkfood_spec.rb
323
+ - spec/spec_helper.rb
324
+ has_rdoc: true
325
+ homepage: http://github.com/byu/junkfood
326
+ licenses: []
327
+
328
+ post_install_message:
329
+ rdoc_options: []
330
+
331
+ require_paths:
332
+ - lib
333
+ required_ruby_version: !ruby/object:Gem::Requirement
334
+ none: false
335
+ requirements:
336
+ - - ">="
337
+ - !ruby/object:Gem::Version
338
+ hash: -680033169
339
+ segments:
340
+ - 0
341
+ version: "0"
342
+ required_rubygems_version: !ruby/object:Gem::Requirement
343
+ none: false
344
+ requirements:
345
+ - - ">="
346
+ - !ruby/object:Gem::Version
347
+ segments:
348
+ - 0
349
+ version: "0"
350
+ requirements: []
351
+
352
+ rubyforge_project:
353
+ rubygems_version: 1.3.7
354
+ signing_key:
355
+ specification_version: 3
356
+ summary: My mesh of an all-in-one library for disjoint code.
357
+ test_files:
358
+ - spec/junkfood/adler32_pure_spec.rb
359
+ - spec/junkfood/adler32_spec.rb
360
+ - spec/junkfood/assert_spec.rb
361
+ - spec/junkfood/base32_spec.rb
362
+ - spec/junkfood/ceb/base_command_spec.rb
363
+ - spec/junkfood/ceb/base_event_spec.rb
364
+ - spec/junkfood/ceb/bus_spec.rb
365
+ - spec/junkfood/ceb/executors/command_executor_spec.rb
366
+ - spec/junkfood/ceb/executors/delayed_job_command_executor_spec.rb
367
+ - spec/junkfood/ceb/executors/event_executor_spec.rb
368
+ - spec/junkfood/one_time_spec.rb
369
+ - spec/junkfood/paperclip_string_io_spec.rb
370
+ - spec/junkfood/settings_spec.rb
371
+ - spec/junkfood_spec.rb
372
+ - spec/spec_helper.rb