dd_spacecadet 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6b7091e8550a800816a32262e8c230b6e0564a13
4
+ data.tar.gz: 1670fea6f8f7be5628cf44acb1ea1433df5e3bd5
5
+ SHA512:
6
+ metadata.gz: d16681144b0f0bb572310c7c859517bde944665c314e81afd299702c1e89c92ecad6d2b79a7a454ea3426f7796aa817c4bbe8b85d965543b5a5aaed84b4fe160
7
+ data.tar.gz: b8d2f6c56321e3dc6cb472c60d3296eb836d9492a2b859b69183203cc8581ee533d9ca5f44bbec484ae0e8da7050ccb4d7c43b081c1ac26a4367964b859cd554
@@ -0,0 +1,2 @@
1
+ .bundle/
2
+ setup_env.sh
@@ -0,0 +1,14 @@
1
+ Metrics/LineLength:
2
+ Max: 120
3
+
4
+ Metrics/MethodLength:
5
+ Max: 20
6
+
7
+ Style/ClassVars:
8
+ Enabled: false
9
+
10
+ Metrics/MethodLength:
11
+ Enabled: false
12
+
13
+ Metrics/ClassLength:
14
+ Max: 125
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2016 DoubleDutch, Inc.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ source 'https://rubygems.org'
18
+
19
+ gemspec
@@ -0,0 +1,247 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dd_spacecadet (0.2.0)
5
+ fog (~> 1.38.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ CFPropertyList (2.3.2)
11
+ ast (2.3.0)
12
+ binding.repl (3.0.0)
13
+ builder (3.2.2)
14
+ cd (1.0.1)
15
+ clipboard (1.1.1)
16
+ code (0.9.0)
17
+ coderay (~> 1.1)
18
+ method_source (~> 0.8, >= 0.8.2)
19
+ coderay (1.1.1)
20
+ debugging (1.1.0)
21
+ binding.repl (~> 3.0)
22
+ paint (>= 0.9, < 2.0)
23
+ diff-lcs (1.2.5)
24
+ every_day_irb (2.0.0)
25
+ cd (~> 1.0)
26
+ excon (0.51.0)
27
+ fancy_irb (1.0.2)
28
+ paint (>= 0.9, < 2.0)
29
+ unicode-display_width (~> 1.0)
30
+ ffi (1.9.14)
31
+ fission (0.5.0)
32
+ CFPropertyList (~> 2.2)
33
+ fog (1.38.0)
34
+ fog-aliyun (>= 0.1.0)
35
+ fog-atmos
36
+ fog-aws (>= 0.6.0)
37
+ fog-brightbox (~> 0.4)
38
+ fog-cloudatcost (~> 0.1.0)
39
+ fog-core (~> 1.32)
40
+ fog-dynect (~> 0.0.2)
41
+ fog-ecloud (~> 0.1)
42
+ fog-google (<= 0.1.0)
43
+ fog-json
44
+ fog-local
45
+ fog-openstack
46
+ fog-powerdns (>= 0.1.1)
47
+ fog-profitbricks
48
+ fog-rackspace
49
+ fog-radosgw (>= 0.0.2)
50
+ fog-riakcs
51
+ fog-sakuracloud (>= 0.0.4)
52
+ fog-serverlove
53
+ fog-softlayer
54
+ fog-storm_on_demand
55
+ fog-terremark
56
+ fog-vmfusion
57
+ fog-voxel
58
+ fog-vsphere (>= 0.4.0)
59
+ fog-xenserver
60
+ fog-xml (~> 0.1.1)
61
+ ipaddress (~> 0.5)
62
+ fog-aliyun (0.1.0)
63
+ fog-core (~> 1.27)
64
+ fog-json (~> 1.0)
65
+ ipaddress (~> 0.8)
66
+ xml-simple (~> 1.1)
67
+ fog-atmos (0.1.0)
68
+ fog-core
69
+ fog-xml
70
+ fog-aws (0.11.0)
71
+ fog-core (~> 1.38)
72
+ fog-json (~> 1.0)
73
+ fog-xml (~> 0.1)
74
+ ipaddress (~> 0.8)
75
+ fog-brightbox (0.11.0)
76
+ fog-core (~> 1.22)
77
+ fog-json
78
+ inflecto (~> 0.0.2)
79
+ fog-cloudatcost (0.1.2)
80
+ fog-core (~> 1.36)
81
+ fog-json (~> 1.0)
82
+ fog-xml (~> 0.1)
83
+ ipaddress (~> 0.8)
84
+ fog-core (1.42.0)
85
+ builder
86
+ excon (~> 0.49)
87
+ formatador (~> 0.2)
88
+ fog-dynect (0.0.3)
89
+ fog-core
90
+ fog-json
91
+ fog-xml
92
+ fog-ecloud (0.3.0)
93
+ fog-core
94
+ fog-xml
95
+ fog-google (0.1.0)
96
+ fog-core
97
+ fog-json
98
+ fog-xml
99
+ fog-json (1.0.2)
100
+ fog-core (~> 1.0)
101
+ multi_json (~> 1.10)
102
+ fog-local (0.3.0)
103
+ fog-core (~> 1.27)
104
+ fog-openstack (0.1.11)
105
+ fog-core (>= 1.40)
106
+ fog-json (>= 1.0)
107
+ ipaddress (>= 0.8)
108
+ fog-powerdns (0.1.1)
109
+ fog-core (~> 1.27)
110
+ fog-json (~> 1.0)
111
+ fog-xml (~> 0.1)
112
+ fog-profitbricks (0.0.5)
113
+ fog-core
114
+ fog-xml
115
+ nokogiri
116
+ fog-rackspace (0.1.1)
117
+ fog-core (>= 1.35)
118
+ fog-json (>= 1.0)
119
+ fog-xml (>= 0.1)
120
+ ipaddress (>= 0.8)
121
+ fog-radosgw (0.0.5)
122
+ fog-core (>= 1.21.0)
123
+ fog-json
124
+ fog-xml (>= 0.0.1)
125
+ fog-riakcs (0.1.0)
126
+ fog-core
127
+ fog-json
128
+ fog-xml
129
+ fog-sakuracloud (1.7.5)
130
+ fog-core
131
+ fog-json
132
+ fog-serverlove (0.1.2)
133
+ fog-core
134
+ fog-json
135
+ fog-softlayer (1.1.3)
136
+ fog-core
137
+ fog-json
138
+ fog-storm_on_demand (0.1.1)
139
+ fog-core
140
+ fog-json
141
+ fog-terremark (0.1.0)
142
+ fog-core
143
+ fog-xml
144
+ fog-vmfusion (0.1.0)
145
+ fission
146
+ fog-core
147
+ fog-voxel (0.1.0)
148
+ fog-core
149
+ fog-xml
150
+ fog-vsphere (1.0.0)
151
+ fog-core
152
+ rbvmomi (~> 1.8)
153
+ fog-xenserver (0.2.3)
154
+ fog-core
155
+ fog-xml
156
+ fog-xml (0.1.2)
157
+ fog-core
158
+ nokogiri (~> 1.5, >= 1.5.11)
159
+ formatador (0.2.5)
160
+ hirb (0.7.3)
161
+ inflecto (0.0.2)
162
+ instance (0.2.0)
163
+ interactive_editor (0.0.10)
164
+ spoon (>= 0.0.1)
165
+ ipaddress (0.8.3)
166
+ irbtools (2.0.1)
167
+ binding.repl (~> 3.0)
168
+ clipboard (~> 1.0, >= 1.0.6)
169
+ code (~> 0.9)
170
+ coderay (~> 1.1)
171
+ debugging (~> 1.1)
172
+ every_day_irb (~> 2.0)
173
+ fancy_irb (~> 1.0)
174
+ hirb (~> 0.7, >= 0.7.3)
175
+ instance (~> 0.2)
176
+ interactive_editor (~> 0.0, >= 0.0.10)
177
+ method_locator (~> 0.0, >= 0.0.4)
178
+ methodfinder (~> 2.0)
179
+ ori (~> 0.1.0)
180
+ os (~> 0.9)
181
+ paint (>= 0.9, < 2.0)
182
+ ruby_engine (~> 1.0)
183
+ ruby_info (~> 1.0)
184
+ ruby_version (~> 1.0)
185
+ wirb (~> 2.0)
186
+ json (1.8.3)
187
+ method_locator (0.0.4)
188
+ method_source (0.8.2)
189
+ methodfinder (2.0.0)
190
+ multi_json (1.12.1)
191
+ nokogiri (1.5.11)
192
+ ori (0.1.0)
193
+ os (0.9.6)
194
+ paint (1.0.1)
195
+ parser (2.3.1.2)
196
+ ast (~> 2.2)
197
+ powerpack (0.1.1)
198
+ rainbow (2.1.0)
199
+ rake (11.2.2)
200
+ rbvmomi (1.9.0)
201
+ builder (~> 3.2)
202
+ json (~> 1.8)
203
+ nokogiri (~> 1.5.11)
204
+ trollop (~> 2.1)
205
+ rspec (3.5.0)
206
+ rspec-core (~> 3.5.0)
207
+ rspec-expectations (~> 3.5.0)
208
+ rspec-mocks (~> 3.5.0)
209
+ rspec-core (3.5.2)
210
+ rspec-support (~> 3.5.0)
211
+ rspec-expectations (3.5.0)
212
+ diff-lcs (>= 1.2.0, < 2.0)
213
+ rspec-support (~> 3.5.0)
214
+ rspec-mocks (3.5.0)
215
+ diff-lcs (>= 1.2.0, < 2.0)
216
+ rspec-support (~> 3.5.0)
217
+ rspec-support (3.5.0)
218
+ rubocop (0.42.0)
219
+ parser (>= 2.3.1.1, < 3.0)
220
+ powerpack (~> 0.1)
221
+ rainbow (>= 1.99.1, < 3.0)
222
+ ruby-progressbar (~> 1.7)
223
+ unicode-display_width (~> 1.0, >= 1.0.1)
224
+ ruby-progressbar (1.8.1)
225
+ ruby_engine (1.0.1)
226
+ ruby_info (1.0.1)
227
+ ruby_version (1.0.1)
228
+ spoon (0.0.4)
229
+ ffi
230
+ trollop (2.1.2)
231
+ unicode-display_width (1.1.0)
232
+ wirb (2.0.0)
233
+ paint (>= 0.9, < 2.0)
234
+ xml-simple (1.1.5)
235
+
236
+ PLATFORMS
237
+ ruby
238
+
239
+ DEPENDENCIES
240
+ dd_spacecadet!
241
+ irbtools (~> 2.0.1)
242
+ rake (~> 11.2.2)
243
+ rspec (~> 3.5.0)
244
+ rubocop (~> 0.42.0)
245
+
246
+ BUNDLED WITH
247
+ 1.12.5
data/LICENSE ADDED
@@ -0,0 +1,169 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object
31
+ code, generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form,
34
+ made available under the License, as indicated by a copyright notice that is
35
+ included in or attached to the work (an example is provided in the Appendix
36
+ below).
37
+
38
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
39
+ is based on (or derived from) the Work and for which the editorial revisions,
40
+ annotations, elaborations, or other modifications represent, as a whole, an
41
+ original work of authorship. For the purposes of this License, Derivative Works
42
+ shall not include works that remain separable from, or merely link (or bind by
43
+ name) to the interfaces of, the Work and Derivative Works thereof.
44
+
45
+ "Contribution" shall mean any work of authorship, including the original version
46
+ of the Work and any modifications or additions to that Work or Derivative Works
47
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
48
+ by the copyright owner or by an individual or Legal Entity authorized to submit
49
+ on behalf of the copyright owner. For the purposes of this definition,
50
+ "submitted" means any form of electronic, verbal, or written communication sent
51
+ to the Licensor or its representatives, including but not limited to
52
+ communication on electronic mailing lists, source code control systems, and
53
+ issue tracking systems that are managed by, or on behalf of, the Licensor for
54
+ the purpose of discussing and improving the Work, but excluding communication
55
+ that is conspicuously marked or otherwise designated in writing by the copyright
56
+ owner as "Not a Contribution."
57
+
58
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
59
+ of whom a Contribution has been received by Licensor and subsequently
60
+ incorporated within the Work.
61
+
62
+ 2. Grant of Copyright License.
63
+
64
+ Subject to the terms and conditions of this License, each Contributor hereby
65
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
66
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
67
+ publicly display, publicly perform, sublicense, and distribute the Work and such
68
+ Derivative Works in Source or Object form.
69
+
70
+ 3. Grant of Patent License.
71
+
72
+ Subject to the terms and conditions of this License, each Contributor hereby
73
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
74
+ irrevocable (except as stated in this section) patent license to make, have
75
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
76
+ such license applies only to those patent claims licensable by such Contributor
77
+ that are necessarily infringed by their Contribution(s) alone or by combination
78
+ of their Contribution(s) with the Work to which such Contribution(s) was
79
+ submitted. If You institute patent litigation against any entity (including a
80
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
81
+ Contribution incorporated within the Work constitutes direct or contributory
82
+ patent infringement, then any patent licenses granted to You under this License
83
+ for that Work shall terminate as of the date such litigation is filed.
84
+
85
+ 4. Redistribution.
86
+
87
+ You may reproduce and distribute copies of the Work or Derivative Works thereof
88
+ in any medium, with or without modifications, and in Source or Object form,
89
+ provided that You meet the following conditions:
90
+
91
+ 1. You must give any other recipients of the Work or Derivative Works a copy of
92
+ this License; and
93
+ 2. You must cause any modified files to carry prominent notices stating that You
94
+ changed the files; and
95
+ 3. You must retain, in the Source form of any Derivative Works that You
96
+ distribute, all copyright, patent, trademark, and attribution notices from
97
+ the Source form of the Work, excluding those notices that do not pertain to
98
+ any part of the Derivative Works; and
99
+ 4. If the Work includes a "NOTICE" text file as part of its distribution, then
100
+ any Derivative Works that You distribute must include a readable copy of the
101
+ attribution notices contained within such NOTICE file, excluding those
102
+ notices that do not pertain to any part of the Derivative Works, in at least
103
+ one of the following places: within a NOTICE text file distributed as part of
104
+ the Derivative Works; within the Source form or documentation, if provided
105
+ along with the Derivative Works; or, within a display generated by the
106
+ Derivative Works, if and wherever such third-party notices normally appear.
107
+ The contents of the NOTICE file are for informational purposes only and do
108
+ not modify the License. You may add Your own attribution notices within
109
+ Derivative Works that You distribute, alongside or as an addendum to the
110
+ NOTICE text from the Work, provided that such additional attribution notices
111
+ cannot be construed as modifying the License.
112
+
113
+ You may add Your own copyright statement to Your modifications and may provide
114
+ additional or different license terms and conditions for use, reproduction, or
115
+ distribution of Your modifications, or for any such Derivative Works as a whole,
116
+ provided Your use, reproduction, and distribution of the Work otherwise complies
117
+ with the conditions stated in this License.
118
+
119
+ 5. Submission of Contributions.
120
+
121
+ Unless You explicitly state otherwise, any Contribution intentionally submitted
122
+ for inclusion in the Work by You to the Licensor shall be under the terms and
123
+ conditions of this License, without any additional terms or conditions.
124
+ Notwithstanding the above, nothing herein shall supersede or modify the terms of
125
+ any separate license agreement you may have executed with Licensor regarding
126
+ such Contributions.
127
+
128
+ 6. Trademarks.
129
+
130
+ This License does not grant permission to use the trade names, trademarks,
131
+ service marks, or product names of the Licensor, except as required for
132
+ reasonable and customary use in describing the origin of the Work and
133
+ reproducing the content of the NOTICE file.
134
+
135
+ 7. Disclaimer of Warranty.
136
+
137
+ Unless required by applicable law or agreed to in writing, Licensor provides the
138
+ Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
139
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
140
+ including, without limitation, any warranties or conditions of TITLE,
141
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
142
+ solely responsible for determining the appropriateness of using or
143
+ redistributing the Work and assume any risks associated with Your exercise of
144
+ permissions under this License.
145
+
146
+ 8. Limitation of Liability.
147
+
148
+ In no event and under no legal theory, whether in tort (including negligence),
149
+ contract, or otherwise, unless required by applicable law (such as deliberate
150
+ and grossly negligent acts) or agreed to in writing, shall any Contributor be
151
+ liable to You for damages, including any direct, indirect, special, incidental,
152
+ or consequential damages of any character arising as a result of this License
153
+ or out of the use or inability to use the Work (including but not limited to
154
+ damages for loss of goodwill, work stoppage, computer failure or malfunction,
155
+ or any and all other commercial damages or losses), even if such Contributor
156
+ has been advised of the possibility of such damages.
157
+
158
+ 9. Accepting Warranty or Additional Liability.
159
+
160
+ While redistributing the Work or Derivative Works thereof, You may choose to
161
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
162
+ other liability obligations and/or rights consistent with this License. However,
163
+ in accepting such obligations, You may act only on Your own behalf and on Your
164
+ sole responsibility, not on behalf of any other Contributor, and only if You
165
+ agree to indemnify, defend, and hold each Contributor harmless for any liability
166
+ incurred by, or claims asserted against, such Contributor by reason of your
167
+ accepting any such warranty or additional liability.
168
+
169
+ END OF TERMS AND CONDITIONS