heirloom 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/.gitignore +1 -0
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/CHANGELOG.md +4 -1
  5. data/README.md +9 -0
  6. data/heirloom.gemspec +8 -2
  7. data/lib/heirloom.rb +9 -0
  8. data/lib/heirloom/acl/s3.rb +1 -1
  9. data/lib/heirloom/aws/simpledb.rb +25 -2
  10. data/lib/heirloom/catalog.rb +37 -0
  11. data/lib/heirloom/cli.rb +36 -3
  12. data/lib/heirloom/cli/authorize.rb +5 -1
  13. data/lib/heirloom/cli/catalog.rb +5 -1
  14. data/lib/heirloom/cli/cleanup.rb +74 -0
  15. data/lib/heirloom/cli/destroy.rb +5 -1
  16. data/lib/heirloom/cli/download.rb +5 -1
  17. data/lib/heirloom/cli/list.rb +5 -1
  18. data/lib/heirloom/cli/rotate.rb +5 -1
  19. data/lib/heirloom/cli/setup.rb +5 -1
  20. data/lib/heirloom/cli/show.rb +5 -1
  21. data/lib/heirloom/cli/tag.rb +5 -1
  22. data/lib/heirloom/cli/teardown.rb +21 -11
  23. data/lib/heirloom/cli/upload.rb +5 -1
  24. data/lib/heirloom/exceptions.rb +3 -0
  25. data/lib/heirloom/logger.rb +6 -1
  26. data/lib/heirloom/version.rb +1 -1
  27. data/spec/acl/s3_spec.rb +3 -2
  28. data/spec/aws/simpledb_spec.rb +35 -1
  29. data/spec/catalog_spec.rb +45 -2
  30. data/spec/cli/teardown_spec.rb +60 -28
  31. data/spec/cli_spec.rb +12 -0
  32. data/spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_be_able_to_offset_results.yml +81 -0
  33. data/spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_get_results.yml +34 -0
  34. data/spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_yield_when_requested.yml +81 -0
  35. data/spec/fixtures/create_test_data.sh +28 -0
  36. data/spec/heirloom_spec.rb +11 -0
  37. data/spec/integration/authorize_spec.rb +79 -0
  38. data/spec/integration/cleanup_spec.rb +77 -0
  39. data/spec/logger_spec.rb +1 -1
  40. data/spec/spec_helper.rb +89 -5
  41. data/watchr.rb +101 -0
  42. metadata +84 -35
  43. data/.rvmrc +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heirloom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,27 +9,44 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
12
+ date: 2013-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: !ruby/object:Gem::Requirement
15
+ name: hashie
16
+ requirement: &70249781380780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.11.0
21
+ version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
24
+ version_requirements: *70249781380780
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70249781379320 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70249781379320
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70249781366780 !ruby/object:Gem::Requirement
25
39
  none: false
26
40
  requirements:
27
41
  - - ~>
28
42
  - !ruby/object:Gem::Version
29
43
  version: 2.11.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70249781366780
30
47
  - !ruby/object:Gem::Dependency
31
- name: rake
32
- requirement: !ruby/object:Gem::Requirement
48
+ name: simplecov
49
+ requirement: &70249781365620 !ruby/object:Gem::Requirement
33
50
  none: false
34
51
  requirements:
35
52
  - - ! '>='
@@ -37,47 +54,65 @@ dependencies:
37
54
  version: '0'
38
55
  type: :development
39
56
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
57
+ version_requirements: *70249781365620
58
+ - !ruby/object:Gem::Dependency
59
+ name: vcr
60
+ requirement: &70249781364360 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - =
64
+ - !ruby/object:Gem::Version
65
+ version: 2.4.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70249781364360
69
+ - !ruby/object:Gem::Dependency
70
+ name: watchr
71
+ requirement: &70249781363520 !ruby/object:Gem::Requirement
41
72
  none: false
42
73
  requirements:
43
74
  - - ! '>='
44
75
  - !ruby/object:Gem::Version
45
76
  version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70249781363520
46
80
  - !ruby/object:Gem::Dependency
47
- name: fog
48
- requirement: !ruby/object:Gem::Requirement
81
+ name: excon
82
+ requirement: &70249781362260 !ruby/object:Gem::Requirement
49
83
  none: false
50
84
  requirements:
51
- - - ~>
85
+ - - =
52
86
  - !ruby/object:Gem::Version
53
- version: 1.10.0
87
+ version: '0.16'
54
88
  type: :runtime
55
89
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
90
+ version_requirements: *70249781362260
91
+ - !ruby/object:Gem::Dependency
92
+ name: fog
93
+ requirement: &70249781360920 !ruby/object:Gem::Requirement
57
94
  none: false
58
95
  requirements:
59
- - - ~>
96
+ - - =
60
97
  - !ruby/object:Gem::Version
61
98
  version: 1.10.0
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *70249781360920
62
102
  - !ruby/object:Gem::Dependency
63
103
  name: trollop
64
- requirement: !ruby/object:Gem::Requirement
104
+ requirement: &70249781359720 !ruby/object:Gem::Requirement
65
105
  none: false
66
106
  requirements:
67
- - - '='
107
+ - - =
68
108
  - !ruby/object:Gem::Version
69
109
  version: '2.0'
70
110
  type: :runtime
71
111
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - '='
76
- - !ruby/object:Gem::Version
77
- version: '2.0'
112
+ version_requirements: *70249781359720
78
113
  - !ruby/object:Gem::Dependency
79
114
  name: xml-simple
80
- requirement: !ruby/object:Gem::Requirement
115
+ requirement: &70249781358480 !ruby/object:Gem::Requirement
81
116
  none: false
82
117
  requirements:
83
118
  - - ~>
@@ -85,12 +120,7 @@ dependencies:
85
120
  version: 1.1.2
86
121
  type: :runtime
87
122
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 1.1.2
123
+ version_requirements: *70249781358480
94
124
  description: I help build and manage building tar.gz files and deploying them into
95
125
  the cloud
96
126
  email:
@@ -101,7 +131,8 @@ extensions: []
101
131
  extra_rdoc_files: []
102
132
  files:
103
133
  - .gitignore
104
- - .rvmrc
134
+ - .ruby-gemset
135
+ - .ruby-version
105
136
  - .travis.yml
106
137
  - CHANGELOG.md
107
138
  - Gemfile
@@ -144,6 +175,7 @@ files:
144
175
  - lib/heirloom/cli.rb
145
176
  - lib/heirloom/cli/authorize.rb
146
177
  - lib/heirloom/cli/catalog.rb
178
+ - lib/heirloom/cli/cleanup.rb
147
179
  - lib/heirloom/cli/destroy.rb
148
180
  - lib/heirloom/cli/download.rb
149
181
  - lib/heirloom/cli/formatter.rb
@@ -212,15 +244,24 @@ files:
212
244
  - spec/cli/tag_spec.rb
213
245
  - spec/cli/teardown_spec.rb
214
246
  - spec/cli/upload_spec.rb
247
+ - spec/cli_spec.rb
215
248
  - spec/config_spec.rb
216
249
  - spec/destroyer/s3_spec.rb
217
250
  - spec/directory/directory_spec.rb
218
251
  - spec/downloader/s3_spec.rb
252
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_be_able_to_offset_results.yml
253
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_get_results.yml
254
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_yield_when_requested.yml
255
+ - spec/fixtures/create_test_data.sh
256
+ - spec/heirloom_spec.rb
257
+ - spec/integration/authorize_spec.rb
258
+ - spec/integration/cleanup_spec.rb
219
259
  - spec/logger_spec.rb
220
260
  - spec/spec_helper.rb
221
261
  - spec/uploader/s3_spec.rb
222
262
  - spec/utils/email_spec.rb
223
263
  - spec/utils/file_spec.rb
264
+ - watchr.rb
224
265
  homepage: ''
225
266
  licenses: []
226
267
  post_install_message:
@@ -235,7 +276,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
276
  version: '0'
236
277
  segments:
237
278
  - 0
238
- hash: -4406439853802667005
279
+ hash: 3205889507921288160
239
280
  required_rubygems_version: !ruby/object:Gem::Requirement
240
281
  none: false
241
282
  requirements:
@@ -244,10 +285,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
285
  version: '0'
245
286
  segments:
246
287
  - 0
247
- hash: -4406439853802667005
288
+ hash: 3205889507921288160
248
289
  requirements: []
249
290
  rubyforge_project: heirloom
250
- rubygems_version: 1.8.24
291
+ rubygems_version: 1.8.16
251
292
  signing_key:
252
293
  specification_version: 3
253
294
  summary: I help with deploying code into the cloud
@@ -292,10 +333,18 @@ test_files:
292
333
  - spec/cli/tag_spec.rb
293
334
  - spec/cli/teardown_spec.rb
294
335
  - spec/cli/upload_spec.rb
336
+ - spec/cli_spec.rb
295
337
  - spec/config_spec.rb
296
338
  - spec/destroyer/s3_spec.rb
297
339
  - spec/directory/directory_spec.rb
298
340
  - spec/downloader/s3_spec.rb
341
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_be_able_to_offset_results.yml
342
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_get_results.yml
343
+ - spec/fixtures/cassettes/Heirloom_AWS_SimpleDB/select/should_yield_when_requested.yml
344
+ - spec/fixtures/create_test_data.sh
345
+ - spec/heirloom_spec.rb
346
+ - spec/integration/authorize_spec.rb
347
+ - spec/integration/cleanup_spec.rb
299
348
  - spec/logger_spec.rb
300
349
  - spec/spec_helper.rb
301
350
  - spec/uploader/s3_spec.rb
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use ruby-1.9.3-p327@heirloom --create