ey-provisioner 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/ey-provisioner.gemspec +1 -0
- data/lib/ey-provisioner/instance.rb +10 -4
- data/lib/ey-provisioner/version.rb +1 -1
- data/spec/request_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +19 -27
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzY2YjdlODU0ZjNkYzJjNTI3YzFmODIxOWViYzNlOGEwZDk3YjQyNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjUwMTZmNGI5ZjY2NzRjMzFmYmQ1Yzg5ODE2ZDA3YWEyYmJmZmQ3ZQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZWRiNjU1MDhjN2U3MGU2MDEyNTUxN2I4MWYzNjliY2ZhNDI5YTE4NWVlNWNh
|
10
|
+
ZTBiODU2YTZkYmM3NGIyOTE2NzQyNmE4YTBmMmJhZjZlNDUyOGQ0ZWM4MjMz
|
11
|
+
MjlmN2M4NDU2NjZlYjhjYzMzYmY4NTM2MjM3MGE3ZWQ0ZWVhM2U=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZmExMzQ4YjNkNmQ3MjgwMzY5NDgxMzYyYjJmMWVlZDA0ZDQxODYwNTcyODYz
|
14
|
+
ZWNiOTUzNGY1OWZhNmQ0YjVhNDkyMDM4MjkwZWVjZmYwZDJhNjIyZjU4NjIz
|
15
|
+
YmZkNTQ1NTNmYTU3NTViM2E0MDk4MDM0NzQ2YTVlNWJlOGU2OGY=
|
data/ey-provisioner.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_development_dependency 'yard'
|
24
24
|
gem.add_development_dependency 'redcarpet'
|
25
25
|
gem.add_development_dependency 'rspec'
|
26
|
+
gem.add_development_dependency 'rspec-its'
|
26
27
|
gem.add_development_dependency 'mocha'
|
27
28
|
gem.add_development_dependency 'shoulda'
|
28
29
|
gem.add_development_dependency 'activesupport'
|
@@ -14,18 +14,24 @@ module Ey
|
|
14
14
|
|
15
15
|
TYPES = %w(
|
16
16
|
small
|
17
|
-
small_64
|
18
17
|
medium_ram
|
19
|
-
medium_ram_64
|
20
18
|
medium_cpu
|
21
|
-
|
19
|
+
c3_large
|
22
20
|
large
|
21
|
+
c3_xlarge
|
22
|
+
xlarge_ram
|
23
23
|
xlarge
|
24
24
|
xlarge_cpu
|
25
|
-
|
25
|
+
c3_2xlarge
|
26
26
|
doublexlarge_ram
|
27
|
+
c3_4xlarge
|
27
28
|
quadxlarge_ram
|
29
|
+
c3_8xlarge
|
28
30
|
quadxlarge_io
|
31
|
+
m3_medium
|
32
|
+
m3_large
|
33
|
+
m3_xlarge
|
34
|
+
m3_2xlarge
|
29
35
|
)
|
30
36
|
|
31
37
|
# Create an Instance representation
|
data/spec/request_spec.rb
CHANGED
@@ -10,7 +10,7 @@ describe Ey::Provisioner::Request do
|
|
10
10
|
Ey::Provisioner::Instance::TYPES.each do |instance_type|
|
11
11
|
it { should allow_value(instance_type).for(:instance_size) }
|
12
12
|
end
|
13
|
-
it { should allow_value(:
|
13
|
+
it { should allow_value(:medium_ram).for(:instance_size) }
|
14
14
|
it { should_not allow_value('another').for(:instance_size) }
|
15
15
|
it { should allow_value(nil).for(:instance_size) }
|
16
16
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey-provisioner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Draper
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: excon
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: json
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: activemodel
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: pry
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: yard
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: redcarpet
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ! '>='
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ! '>='
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: rspec
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ! '>='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,20 @@ dependencies:
|
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-its
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
121
|
requirements:
|
123
122
|
- - ! '>='
|
124
123
|
- !ruby/object:Gem::Version
|
@@ -126,7 +125,6 @@ dependencies:
|
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
126
|
name: mocha
|
128
127
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
128
|
requirements:
|
131
129
|
- - ! '>='
|
132
130
|
- !ruby/object:Gem::Version
|
@@ -134,7 +132,6 @@ dependencies:
|
|
134
132
|
type: :development
|
135
133
|
prerelease: false
|
136
134
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
135
|
requirements:
|
139
136
|
- - ! '>='
|
140
137
|
- !ruby/object:Gem::Version
|
@@ -142,7 +139,6 @@ dependencies:
|
|
142
139
|
- !ruby/object:Gem::Dependency
|
143
140
|
name: shoulda
|
144
141
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
142
|
requirements:
|
147
143
|
- - ! '>='
|
148
144
|
- !ruby/object:Gem::Version
|
@@ -150,7 +146,6 @@ dependencies:
|
|
150
146
|
type: :development
|
151
147
|
prerelease: false
|
152
148
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
149
|
requirements:
|
155
150
|
- - ! '>='
|
156
151
|
- !ruby/object:Gem::Version
|
@@ -158,7 +153,6 @@ dependencies:
|
|
158
153
|
- !ruby/object:Gem::Dependency
|
159
154
|
name: activesupport
|
160
155
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
156
|
requirements:
|
163
157
|
- - ! '>='
|
164
158
|
- !ruby/object:Gem::Version
|
@@ -166,7 +160,6 @@ dependencies:
|
|
166
160
|
type: :development
|
167
161
|
prerelease: false
|
168
162
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
163
|
requirements:
|
171
164
|
- - ! '>='
|
172
165
|
- !ruby/object:Gem::Version
|
@@ -204,27 +197,26 @@ files:
|
|
204
197
|
- spec/spec_helper.rb
|
205
198
|
homepage: https://github.com/coderdan/ey-provisioner
|
206
199
|
licenses: []
|
200
|
+
metadata: {}
|
207
201
|
post_install_message:
|
208
202
|
rdoc_options: []
|
209
203
|
require_paths:
|
210
204
|
- lib
|
211
205
|
required_ruby_version: !ruby/object:Gem::Requirement
|
212
|
-
none: false
|
213
206
|
requirements:
|
214
207
|
- - ! '>='
|
215
208
|
- !ruby/object:Gem::Version
|
216
209
|
version: '0'
|
217
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
211
|
requirements:
|
220
212
|
- - ! '>='
|
221
213
|
- !ruby/object:Gem::Version
|
222
214
|
version: '0'
|
223
215
|
requirements: []
|
224
216
|
rubyforge_project:
|
225
|
-
rubygems_version:
|
217
|
+
rubygems_version: 2.0.6
|
226
218
|
signing_key:
|
227
|
-
specification_version:
|
219
|
+
specification_version: 4
|
228
220
|
summary: Ruby based client gem for interacting with the EngineYard Instance Provisioning
|
229
221
|
API
|
230
222
|
test_files:
|