itchy 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +38 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +16 -0
  5. data/Gemfile +3 -0
  6. data/LICENSE +203 -0
  7. data/README.md +16 -0
  8. data/Rakefile +25 -0
  9. data/bin/itchy +142 -0
  10. data/config/itchy.yml +32 -0
  11. data/itchy.gemspec +41 -0
  12. data/lib/itchy/errors/abstract_env_error.rb +4 -0
  13. data/lib/itchy/errors/env_lookup_error.rb +4 -0
  14. data/lib/itchy/errors/event_processing_error.rb +4 -0
  15. data/lib/itchy/errors/file_inspecting_error.rb +4 -0
  16. data/lib/itchy/errors/format_converting_error.rb +4 -0
  17. data/lib/itchy/errors/image_transforming_error.rb +4 -0
  18. data/lib/itchy/errors/not_found_error.rb +4 -0
  19. data/lib/itchy/errors/not_implemented_error.rb +4 -0
  20. data/lib/itchy/errors/unknown_event_error.rb +4 -0
  21. data/lib/itchy/errors/working_with_files_error.rb +4 -0
  22. data/lib/itchy/errors/wrong_state_error.rb +4 -0
  23. data/lib/itchy/errors.rb +5 -0
  24. data/lib/itchy/event_handlers/available_postfix_event_handler.rb +43 -0
  25. data/lib/itchy/event_handlers/available_prefix_event_handler.rb +10 -0
  26. data/lib/itchy/event_handlers/base_event_handler.rb +82 -0
  27. data/lib/itchy/event_handlers/expire_postfix_event_handler.rb +30 -0
  28. data/lib/itchy/event_handlers/expire_prefix_event_handler.rb +9 -0
  29. data/lib/itchy/event_handlers/process_postfix_event_handler.rb +9 -0
  30. data/lib/itchy/event_handlers/process_prefix_event_handler.rb +10 -0
  31. data/lib/itchy/event_handlers/subscription_image_new_event_handler.rb +9 -0
  32. data/lib/itchy/event_handlers.rb +8 -0
  33. data/lib/itchy/event_processer.rb +103 -0
  34. data/lib/itchy/format_converter.rb +43 -0
  35. data/lib/itchy/helpers/vmcatcher_env_helper.rb +44 -0
  36. data/lib/itchy/helpers.rb +5 -0
  37. data/lib/itchy/image_transformer.rb +220 -0
  38. data/lib/itchy/log.rb +78 -0
  39. data/lib/itchy/metadata_archiver.rb +59 -0
  40. data/lib/itchy/settings.rb +35 -0
  41. data/lib/itchy/version.rb +3 -0
  42. data/lib/itchy/vmcatcher_configuration.rb +62 -0
  43. data/lib/itchy/vmcatcher_env.rb +58 -0
  44. data/lib/itchy/vmcatcher_event.rb +71 -0
  45. data/lib/itchy.rb +26 -0
  46. data/spec/itchy/event_handlers/available_postfix_event_handler_spec.rb +0 -0
  47. data/spec/itchy/event_handlers/expire_postfix_event_handler_spec.rb +0 -0
  48. data/spec/itchy/event_processer_spec.rb +0 -0
  49. data/spec/itchy/format_converter_spec.rb +0 -0
  50. data/spec/itchy/image_transformer_spec.rb +0 -0
  51. data/spec/itchy/metadata_archiver_spec.rb +0 -0
  52. data/spec/itchy/vmcatcher_configuration_spec.rb +0 -0
  53. data/spec/itchy/vmcatcher_env_spec.rb +1 -0
  54. data/spec/itchy/vmcatcher_event_spec.rb +0 -0
  55. data/spec/spec_helper.rb +11 -0
  56. metadata +379 -0
metadata ADDED
@@ -0,0 +1,379 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: itchy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lubomir Kosaristan
8
+ - Boris Parak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-11-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: opennebula
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '4.4'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 4.4.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '4.4'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.4.0
34
+ - !ruby/object:Gem::Dependency
35
+ name: multi_json
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.10.1
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - "~>"
49
+ - !ruby/object:Gem::Version
50
+ version: '1.10'
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 1.10.1
54
+ - !ruby/object:Gem::Dependency
55
+ name: mixlib-shellout
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.6'
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.6.0
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '1.6'
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 1.6.0
74
+ - !ruby/object:Gem::Dependency
75
+ name: ox
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '2.1'
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 2.1.3
84
+ type: :runtime
85
+ prerelease: false
86
+ version_requirements: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '2.1'
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: 2.1.3
94
+ - !ruby/object:Gem::Dependency
95
+ name: oj
96
+ requirement: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '2.10'
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.10.4
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.10'
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 2.10.4
114
+ - !ruby/object:Gem::Dependency
115
+ name: activesupport
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '4.0'
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 4.0.0
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '4.0'
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 4.0.0
134
+ - !ruby/object:Gem::Dependency
135
+ name: settingslogic
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '2.0'
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 2.0.9
144
+ type: :runtime
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '2.0'
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 2.0.9
154
+ - !ruby/object:Gem::Dependency
155
+ name: hashie
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '3.3'
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: 3.3.1
164
+ type: :runtime
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - "~>"
169
+ - !ruby/object:Gem::Version
170
+ version: '3.3'
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 3.3.1
174
+ - !ruby/object:Gem::Dependency
175
+ name: thor
176
+ requirement: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.19'
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 0.19.1
184
+ type: :runtime
185
+ prerelease: false
186
+ version_requirements: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - "~>"
189
+ - !ruby/object:Gem::Version
190
+ version: '0.19'
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 0.19.1
194
+ - !ruby/object:Gem::Dependency
195
+ name: cloud-appliance-descriptor
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '0.2'
201
+ type: :runtime
202
+ prerelease: false
203
+ version_requirements: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: '0.2'
208
+ - !ruby/object:Gem::Dependency
209
+ name: bundler
210
+ requirement: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - "~>"
213
+ - !ruby/object:Gem::Version
214
+ version: '1.6'
215
+ type: :development
216
+ prerelease: false
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: '1.6'
222
+ - !ruby/object:Gem::Dependency
223
+ name: rake
224
+ requirement: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - "~>"
227
+ - !ruby/object:Gem::Version
228
+ version: '10.0'
229
+ type: :development
230
+ prerelease: false
231
+ version_requirements: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - "~>"
234
+ - !ruby/object:Gem::Version
235
+ version: '10.0'
236
+ - !ruby/object:Gem::Dependency
237
+ name: rspec
238
+ requirement: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - "~>"
241
+ - !ruby/object:Gem::Version
242
+ version: 3.3.0
243
+ type: :development
244
+ prerelease: false
245
+ version_requirements: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: 3.3.0
250
+ - !ruby/object:Gem::Dependency
251
+ name: simplecov
252
+ requirement: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - "~>"
255
+ - !ruby/object:Gem::Version
256
+ version: 0.10.0
257
+ type: :development
258
+ prerelease: false
259
+ version_requirements: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - "~>"
262
+ - !ruby/object:Gem::Version
263
+ version: 0.10.0
264
+ - !ruby/object:Gem::Dependency
265
+ name: rubygems-tasks
266
+ requirement: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - "~>"
269
+ - !ruby/object:Gem::Version
270
+ version: 0.2.4
271
+ type: :development
272
+ prerelease: false
273
+ version_requirements: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - "~>"
276
+ - !ruby/object:Gem::Version
277
+ version: 0.2.4
278
+ - !ruby/object:Gem::Dependency
279
+ name: rubocop
280
+ requirement: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - "~>"
283
+ - !ruby/object:Gem::Version
284
+ version: '0.32'
285
+ type: :development
286
+ prerelease: false
287
+ version_requirements: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - "~>"
290
+ - !ruby/object:Gem::Version
291
+ version: '0.32'
292
+ description: Handler integrating nifty with vmcatcher (HEPIX)
293
+ email:
294
+ - 436322@mail.muni.cz
295
+ - parak@cesnet.cz
296
+ executables:
297
+ - itchy
298
+ extensions: []
299
+ extra_rdoc_files: []
300
+ files:
301
+ - ".gitignore"
302
+ - ".rspec"
303
+ - ".travis.yml"
304
+ - Gemfile
305
+ - LICENSE
306
+ - README.md
307
+ - Rakefile
308
+ - bin/itchy
309
+ - config/itchy.yml
310
+ - itchy.gemspec
311
+ - lib/itchy.rb
312
+ - lib/itchy/errors.rb
313
+ - lib/itchy/errors/abstract_env_error.rb
314
+ - lib/itchy/errors/env_lookup_error.rb
315
+ - lib/itchy/errors/event_processing_error.rb
316
+ - lib/itchy/errors/file_inspecting_error.rb
317
+ - lib/itchy/errors/format_converting_error.rb
318
+ - lib/itchy/errors/image_transforming_error.rb
319
+ - lib/itchy/errors/not_found_error.rb
320
+ - lib/itchy/errors/not_implemented_error.rb
321
+ - lib/itchy/errors/unknown_event_error.rb
322
+ - lib/itchy/errors/working_with_files_error.rb
323
+ - lib/itchy/errors/wrong_state_error.rb
324
+ - lib/itchy/event_handlers.rb
325
+ - lib/itchy/event_handlers/available_postfix_event_handler.rb
326
+ - lib/itchy/event_handlers/available_prefix_event_handler.rb
327
+ - lib/itchy/event_handlers/base_event_handler.rb
328
+ - lib/itchy/event_handlers/expire_postfix_event_handler.rb
329
+ - lib/itchy/event_handlers/expire_prefix_event_handler.rb
330
+ - lib/itchy/event_handlers/process_postfix_event_handler.rb
331
+ - lib/itchy/event_handlers/process_prefix_event_handler.rb
332
+ - lib/itchy/event_handlers/subscription_image_new_event_handler.rb
333
+ - lib/itchy/event_processer.rb
334
+ - lib/itchy/format_converter.rb
335
+ - lib/itchy/helpers.rb
336
+ - lib/itchy/helpers/vmcatcher_env_helper.rb
337
+ - lib/itchy/image_transformer.rb
338
+ - lib/itchy/log.rb
339
+ - lib/itchy/metadata_archiver.rb
340
+ - lib/itchy/settings.rb
341
+ - lib/itchy/version.rb
342
+ - lib/itchy/vmcatcher_configuration.rb
343
+ - lib/itchy/vmcatcher_env.rb
344
+ - lib/itchy/vmcatcher_event.rb
345
+ - spec/itchy/event_handlers/available_postfix_event_handler_spec.rb
346
+ - spec/itchy/event_handlers/expire_postfix_event_handler_spec.rb
347
+ - spec/itchy/event_processer_spec.rb
348
+ - spec/itchy/format_converter_spec.rb
349
+ - spec/itchy/image_transformer_spec.rb
350
+ - spec/itchy/metadata_archiver_spec.rb
351
+ - spec/itchy/vmcatcher_configuration_spec.rb
352
+ - spec/itchy/vmcatcher_env_spec.rb
353
+ - spec/itchy/vmcatcher_event_spec.rb
354
+ - spec/spec_helper.rb
355
+ homepage: https://github.com/kosoburak/itchy
356
+ licenses:
357
+ - Apache License, Version 2.0
358
+ metadata: {}
359
+ post_install_message:
360
+ rdoc_options: []
361
+ require_paths:
362
+ - lib
363
+ required_ruby_version: !ruby/object:Gem::Requirement
364
+ requirements:
365
+ - - ">="
366
+ - !ruby/object:Gem::Version
367
+ version: 1.9.3
368
+ required_rubygems_version: !ruby/object:Gem::Requirement
369
+ requirements:
370
+ - - ">="
371
+ - !ruby/object:Gem::Version
372
+ version: '0'
373
+ requirements: []
374
+ rubyforge_project:
375
+ rubygems_version: 2.2.2
376
+ signing_key:
377
+ specification_version: 4
378
+ summary: Event handler for vmcatcher
379
+ test_files: []