ey-core 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/Gemfile +0 -2
- data/examples/add_instance.rb +74 -0
- data/examples/boot_env.rb +60 -0
- data/examples/stop_env.rb +51 -0
- data/examples/terminate_instance.rb +58 -0
- data/lib/ey-core/cli/accounts.rb +14 -6
- data/lib/ey-core/cli/applications.rb +32 -12
- data/lib/ey-core/cli/console.rb +24 -10
- data/lib/ey-core/cli/current_user.rb +13 -5
- data/lib/ey-core/cli/deploy.rb +110 -52
- data/lib/ey-core/cli/environments.rb +34 -12
- data/lib/ey-core/cli/errors.rb +10 -6
- data/lib/ey-core/cli/help.rb +30 -0
- data/lib/ey-core/cli/helpers/archive.rb +70 -0
- data/lib/ey-core/cli/helpers/chef.rb +35 -0
- data/lib/ey-core/cli/helpers/core.rb +195 -0
- data/lib/ey-core/cli/helpers/deprecated.rb +39 -0
- data/lib/ey-core/cli/helpers/log_streaming.rb +41 -0
- data/lib/ey-core/cli/helpers/stream_printer.rb +42 -0
- data/lib/ey-core/cli/init.rb +11 -8
- data/lib/ey-core/cli/login.rb +33 -21
- data/lib/ey-core/cli/logout.rb +18 -10
- data/lib/ey-core/cli/logs.rb +57 -35
- data/lib/ey-core/cli/main.rb +52 -15
- data/lib/ey-core/cli/recipes.rb +5 -87
- data/lib/ey-core/cli/recipes/apply.rb +83 -43
- data/lib/ey-core/cli/recipes/download.rb +48 -22
- data/lib/ey-core/cli/recipes/main.rb +21 -0
- data/lib/ey-core/cli/recipes/upload.rb +56 -23
- data/lib/ey-core/cli/scp.rb +11 -8
- data/lib/ey-core/cli/servers.rb +37 -15
- data/lib/ey-core/cli/ssh.rb +127 -70
- data/lib/ey-core/cli/status.rb +54 -14
- data/lib/ey-core/cli/subcommand.rb +47 -108
- data/lib/ey-core/cli/timeout_deploy.rb +56 -26
- data/lib/ey-core/cli/version.rb +13 -5
- data/lib/ey-core/cli/web.rb +7 -7
- data/lib/ey-core/cli/web/disable.rb +46 -20
- data/lib/ey-core/cli/web/enable.rb +40 -17
- data/lib/ey-core/cli/web/main.rb +21 -0
- data/lib/ey-core/cli/web/restart.rb +34 -15
- data/lib/ey-core/cli/whoami.rb +11 -3
- data/lib/ey-core/mock/searching.rb +4 -0
- data/lib/ey-core/model.rb +5 -0
- data/lib/ey-core/models/deployment.rb +7 -0
- data/lib/ey-core/models/environment.rb +5 -0
- data/lib/ey-core/models/request.rb +2 -0
- data/lib/ey-core/models/user.rb +2 -0
- data/lib/ey-core/requests/get_servers.rb +1 -1
- data/lib/ey-core/response.rb +4 -0
- data/lib/ey-core/subscribable.rb +3 -3
- data/lib/ey-core/version.rb +1 -1
- data/spec/ey-core/cli/accounts_spec.rb +20 -0
- data/spec/ey-core/cli/recipes/apply_spec.rb +4 -17
- data/spec/ey-core/cli/recipes/download_spec.rb +93 -0
- data/spec/ey-core/cli/recipes/upload_spec.rb +80 -0
- data/spec/servers_spec.rb +15 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/support/cli_helpers.rb +38 -2
- metadata +116 -53
- checksums.yaml +0 -7
data/spec/servers_spec.rb
CHANGED
@@ -4,11 +4,26 @@ describe 'servers' do
|
|
4
4
|
let!(:client) { create_client }
|
5
5
|
let!(:account) { create_account(client: client) }
|
6
6
|
let!(:application) { create_application(account: account) }
|
7
|
+
|
7
8
|
context "with a solo environment" do
|
8
9
|
|
9
10
|
let!(:environment) { create_environment(account: account, application: application, name: Faker::Name.first_name) }
|
10
11
|
let!(:server) { environment.servers.first }
|
11
12
|
|
13
|
+
context "with a second account" do
|
14
|
+
let(:account2) { create_account(client: client) }
|
15
|
+
let(:app2) { create_application(account: account2) }
|
16
|
+
|
17
|
+
context "with a solo env" do
|
18
|
+
let!(:environment2) { create_environment(account: account2, application: application, name: Faker::Name.first_name) }
|
19
|
+
let!(:server2) { environment2.servers.first }
|
20
|
+
|
21
|
+
it "filters servers by account" do
|
22
|
+
expect(client.servers.all(account: account2).map(&:id)).to contain_exactly(server2.id)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
12
27
|
it "has an association with the environment" do
|
13
28
|
expect(server.environment).to eq(environment)
|
14
29
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
ENV['MOCK_CORE'] ||= 'true'
|
2
2
|
ENV['CORE_URL'] ||= "http://api-development.localdev.engineyard.com:9292"
|
3
3
|
|
4
|
+
require 'pry'
|
5
|
+
require 'pry-nav'
|
4
6
|
require 'tempfile'
|
5
7
|
|
6
8
|
Bundler.require(:default, :test)
|
@@ -10,4 +12,9 @@ Dir[File.expand_path("../{shared,support}/*.rb", __FILE__)].each{|f| require(f)}
|
|
10
12
|
|
11
13
|
RSpec.configure do |config|
|
12
14
|
config.order = "random"
|
15
|
+
config.after(:each) do
|
16
|
+
$stdout = STDOUT
|
17
|
+
$stdin = STDIN
|
18
|
+
$stderr = STDERR
|
19
|
+
end
|
13
20
|
end
|
data/spec/support/cli_helpers.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'belafonte'
|
2
|
+
require 'stringio'
|
3
|
+
|
1
4
|
def set_up_cli
|
2
5
|
let(:argv) {[]}
|
3
6
|
let(:stdout) {StringIO.new}
|
@@ -6,6 +9,39 @@ def set_up_cli
|
|
6
9
|
let(:kernel) {FakeKernel.new}
|
7
10
|
let(:cli) {described_class.new(argv, stdin, stdout, stderr, kernel)}
|
8
11
|
let(:execute) {cli.execute!}
|
9
|
-
let(:
|
10
|
-
let(:
|
12
|
+
let(:client) {create_client}
|
13
|
+
let(:account) {create_account(client: client)}
|
14
|
+
let(:app) {create_application(account: account, client: client)}
|
15
|
+
let(:environment) {create_environment(account: account, app: app)}
|
16
|
+
|
17
|
+
before(:each) do
|
18
|
+
allow_any_instance_of(described_class).
|
19
|
+
to receive(:core_operator_and_environment_for).
|
20
|
+
with(any_args).
|
21
|
+
and_return([client, environment])
|
22
|
+
|
23
|
+
allow_any_instance_of(described_class).
|
24
|
+
to receive(:core_accounts).
|
25
|
+
and_return([account])
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def arguments(command_line)
|
30
|
+
let(:argv) {command_line.split(/\s+/)}
|
31
|
+
end
|
32
|
+
|
33
|
+
def error_output
|
34
|
+
@error_output ||= []
|
35
|
+
stderr.rewind
|
36
|
+
@error_output += stderr.readlines.map {|line| line.strip}
|
37
|
+
@error_output.uniq!
|
38
|
+
@error_output.join("\n")
|
39
|
+
end
|
40
|
+
|
41
|
+
def standard_output
|
42
|
+
@standard_output ||= []
|
43
|
+
stdout.rewind
|
44
|
+
@standard_output += stdout.readlines.map {|line| line.strip}
|
45
|
+
@standard_output.uniq!
|
46
|
+
@standard_output.join("\n")
|
11
47
|
end
|
metadata
CHANGED
@@ -1,307 +1,350 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Josh Lane
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2016-
|
12
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: addressable
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '2.2'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '2.2'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: awesome_print
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: belafonte
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: cistern
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0.12'
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0.12'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: colorize
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '0'
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '0'
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: ey-hmac
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- -
|
99
|
+
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
89
101
|
version: '2.0'
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- -
|
107
|
+
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: '2.0'
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: escape
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
|
-
- -
|
123
|
+
- - ! '>='
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: '0'
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: faraday
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- -
|
131
|
+
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: '0.9'
|
118
134
|
type: :runtime
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
|
-
- -
|
139
|
+
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
124
141
|
version: '0.9'
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: faraday_middleware
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- -
|
147
|
+
- - ~>
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: '0.9'
|
132
150
|
type: :runtime
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- -
|
155
|
+
- - ~>
|
137
156
|
- !ruby/object:Gem::Version
|
138
157
|
version: '0.9'
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: faye
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
|
-
- -
|
163
|
+
- - ! '>='
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: '0'
|
146
166
|
type: :runtime
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
|
-
- -
|
171
|
+
- - ! '>='
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: '0'
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: highline
|
155
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
156
178
|
requirements:
|
157
|
-
- -
|
179
|
+
- - ! '>='
|
158
180
|
- !ruby/object:Gem::Version
|
159
181
|
version: '0'
|
160
182
|
type: :runtime
|
161
183
|
prerelease: false
|
162
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
163
186
|
requirements:
|
164
|
-
- -
|
187
|
+
- - ! '>='
|
165
188
|
- !ruby/object:Gem::Version
|
166
189
|
version: '0'
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: mime-types
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
|
-
- -
|
195
|
+
- - ~>
|
172
196
|
- !ruby/object:Gem::Version
|
173
197
|
version: '2.99'
|
174
198
|
type: :runtime
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
177
202
|
requirements:
|
178
|
-
- -
|
203
|
+
- - ~>
|
179
204
|
- !ruby/object:Gem::Version
|
180
205
|
version: '2.99'
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: oj
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
|
-
- -
|
211
|
+
- - ! '>='
|
186
212
|
- !ruby/object:Gem::Version
|
187
213
|
version: '0'
|
188
214
|
type: :runtime
|
189
215
|
prerelease: false
|
190
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
191
218
|
requirements:
|
192
|
-
- -
|
219
|
+
- - ! '>='
|
193
220
|
- !ruby/object:Gem::Version
|
194
221
|
version: '0'
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: oj_mimic_json
|
197
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
198
226
|
requirements:
|
199
|
-
- -
|
227
|
+
- - ! '>='
|
200
228
|
- !ruby/object:Gem::Version
|
201
229
|
version: '0'
|
202
230
|
type: :runtime
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
205
234
|
requirements:
|
206
|
-
- -
|
235
|
+
- - ! '>='
|
207
236
|
- !ruby/object:Gem::Version
|
208
237
|
version: '0'
|
209
238
|
- !ruby/object:Gem::Dependency
|
210
239
|
name: pry
|
211
240
|
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
212
242
|
requirements:
|
213
|
-
- -
|
243
|
+
- - ! '>='
|
214
244
|
- !ruby/object:Gem::Version
|
215
245
|
version: '0'
|
216
246
|
type: :runtime
|
217
247
|
prerelease: false
|
218
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
219
250
|
requirements:
|
220
|
-
- -
|
251
|
+
- - ! '>='
|
221
252
|
- !ruby/object:Gem::Version
|
222
253
|
version: '0'
|
223
254
|
- !ruby/object:Gem::Dependency
|
224
255
|
name: sshkey
|
225
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
226
258
|
requirements:
|
227
|
-
- -
|
259
|
+
- - ~>
|
228
260
|
- !ruby/object:Gem::Version
|
229
261
|
version: '1.6'
|
230
262
|
type: :runtime
|
231
263
|
prerelease: false
|
232
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
233
266
|
requirements:
|
234
|
-
- -
|
267
|
+
- - ~>
|
235
268
|
- !ruby/object:Gem::Version
|
236
269
|
version: '1.6'
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: table_print
|
239
272
|
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
240
274
|
requirements:
|
241
|
-
- -
|
275
|
+
- - ! '>='
|
242
276
|
- !ruby/object:Gem::Version
|
243
277
|
version: '0'
|
244
278
|
type: :runtime
|
245
279
|
prerelease: false
|
246
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
247
282
|
requirements:
|
248
|
-
- -
|
283
|
+
- - ! '>='
|
249
284
|
- !ruby/object:Gem::Version
|
250
285
|
version: '0'
|
251
286
|
- !ruby/object:Gem::Dependency
|
252
287
|
name: pry-nav
|
253
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
254
290
|
requirements:
|
255
|
-
- -
|
291
|
+
- - ! '>='
|
256
292
|
- !ruby/object:Gem::Version
|
257
293
|
version: '0'
|
258
294
|
type: :development
|
259
295
|
prerelease: false
|
260
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
261
298
|
requirements:
|
262
|
-
- -
|
299
|
+
- - ! '>='
|
263
300
|
- !ruby/object:Gem::Version
|
264
301
|
version: '0'
|
265
302
|
- !ruby/object:Gem::Dependency
|
266
303
|
name: rspec
|
267
304
|
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
268
306
|
requirements:
|
269
|
-
- -
|
307
|
+
- - ~>
|
270
308
|
- !ruby/object:Gem::Version
|
271
309
|
version: '3.0'
|
272
310
|
type: :development
|
273
311
|
prerelease: false
|
274
312
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
275
314
|
requirements:
|
276
|
-
- -
|
315
|
+
- - ~>
|
277
316
|
- !ruby/object:Gem::Version
|
278
317
|
version: '3.0'
|
279
318
|
- !ruby/object:Gem::Dependency
|
280
319
|
name: ffaker
|
281
320
|
requirement: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
282
322
|
requirements:
|
283
|
-
- -
|
323
|
+
- - ! '>='
|
284
324
|
- !ruby/object:Gem::Version
|
285
325
|
version: '0'
|
286
326
|
type: :development
|
287
327
|
prerelease: false
|
288
328
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
289
330
|
requirements:
|
290
|
-
- -
|
331
|
+
- - ! '>='
|
291
332
|
- !ruby/object:Gem::Version
|
292
333
|
version: '0'
|
293
334
|
- !ruby/object:Gem::Dependency
|
294
335
|
name: rake
|
295
336
|
requirement: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
296
338
|
requirements:
|
297
|
-
- -
|
339
|
+
- - ! '>='
|
298
340
|
- !ruby/object:Gem::Version
|
299
341
|
version: '0'
|
300
342
|
type: :development
|
301
343
|
prerelease: false
|
302
344
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
303
346
|
requirements:
|
304
|
-
- -
|
347
|
+
- - ! '>='
|
305
348
|
- !ruby/object:Gem::Version
|
306
349
|
version: '0'
|
307
350
|
description: Engine Yard Core API Ruby Client
|
@@ -313,10 +356,10 @@ executables:
|
|
313
356
|
extensions: []
|
314
357
|
extra_rdoc_files: []
|
315
358
|
files:
|
316
|
-
-
|
317
|
-
-
|
318
|
-
-
|
319
|
-
-
|
359
|
+
- .gitignore
|
360
|
+
- .ruby-gemset
|
361
|
+
- .ruby-version
|
362
|
+
- .travis.yml
|
320
363
|
- CHANGELOG.md
|
321
364
|
- Gemfile
|
322
365
|
- Guardfile
|
@@ -324,6 +367,10 @@ files:
|
|
324
367
|
- README.md
|
325
368
|
- Rakefile
|
326
369
|
- bin/ey-core
|
370
|
+
- examples/add_instance.rb
|
371
|
+
- examples/boot_env.rb
|
372
|
+
- examples/stop_env.rb
|
373
|
+
- examples/terminate_instance.rb
|
327
374
|
- ey-core.gemspec
|
328
375
|
- lib/ey-core.rb
|
329
376
|
- lib/ey-core/associations.rb
|
@@ -335,7 +382,14 @@ files:
|
|
335
382
|
- lib/ey-core/cli/deploy.rb
|
336
383
|
- lib/ey-core/cli/environments.rb
|
337
384
|
- lib/ey-core/cli/errors.rb
|
385
|
+
- lib/ey-core/cli/help.rb
|
386
|
+
- lib/ey-core/cli/helpers/archive.rb
|
387
|
+
- lib/ey-core/cli/helpers/chef.rb
|
388
|
+
- lib/ey-core/cli/helpers/core.rb
|
389
|
+
- lib/ey-core/cli/helpers/deprecated.rb
|
390
|
+
- lib/ey-core/cli/helpers/log_streaming.rb
|
338
391
|
- lib/ey-core/cli/helpers/server_sieve.rb
|
392
|
+
- lib/ey-core/cli/helpers/stream_printer.rb
|
339
393
|
- lib/ey-core/cli/init.rb
|
340
394
|
- lib/ey-core/cli/login.rb
|
341
395
|
- lib/ey-core/cli/logout.rb
|
@@ -344,6 +398,7 @@ files:
|
|
344
398
|
- lib/ey-core/cli/recipes.rb
|
345
399
|
- lib/ey-core/cli/recipes/apply.rb
|
346
400
|
- lib/ey-core/cli/recipes/download.rb
|
401
|
+
- lib/ey-core/cli/recipes/main.rb
|
347
402
|
- lib/ey-core/cli/recipes/upload.rb
|
348
403
|
- lib/ey-core/cli/scp.rb
|
349
404
|
- lib/ey-core/cli/servers.rb
|
@@ -355,6 +410,7 @@ files:
|
|
355
410
|
- lib/ey-core/cli/web.rb
|
356
411
|
- lib/ey-core/cli/web/disable.rb
|
357
412
|
- lib/ey-core/cli/web/enable.rb
|
413
|
+
- lib/ey-core/cli/web/main.rb
|
358
414
|
- lib/ey-core/cli/web/restart.rb
|
359
415
|
- lib/ey-core/cli/whoami.rb
|
360
416
|
- lib/ey-core/client.rb
|
@@ -702,8 +758,11 @@ files:
|
|
702
758
|
- spec/deployments_spec.rb
|
703
759
|
- spec/environment_plan_usage_spec.rb
|
704
760
|
- spec/environments_spec.rb
|
761
|
+
- spec/ey-core/cli/accounts_spec.rb
|
705
762
|
- spec/ey-core/cli/helpers/server_sieve_spec.rb
|
706
763
|
- spec/ey-core/cli/recipes/apply_spec.rb
|
764
|
+
- spec/ey-core/cli/recipes/download_spec.rb
|
765
|
+
- spec/ey-core/cli/recipes/upload_spec.rb
|
707
766
|
- spec/features_spec.rb
|
708
767
|
- spec/firewalls_spec.rb
|
709
768
|
- spec/gems_spec.rb
|
@@ -746,26 +805,27 @@ files:
|
|
746
805
|
homepage: ''
|
747
806
|
licenses:
|
748
807
|
- MIT
|
749
|
-
metadata: {}
|
750
808
|
post_install_message:
|
751
809
|
rdoc_options: []
|
752
810
|
require_paths:
|
753
811
|
- lib
|
754
812
|
required_ruby_version: !ruby/object:Gem::Requirement
|
813
|
+
none: false
|
755
814
|
requirements:
|
756
|
-
- -
|
815
|
+
- - ! '>='
|
757
816
|
- !ruby/object:Gem::Version
|
758
817
|
version: '0'
|
759
818
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
819
|
+
none: false
|
760
820
|
requirements:
|
761
|
-
- -
|
821
|
+
- - ! '>='
|
762
822
|
- !ruby/object:Gem::Version
|
763
823
|
version: '0'
|
764
824
|
requirements: []
|
765
825
|
rubyforge_project:
|
766
|
-
rubygems_version:
|
826
|
+
rubygems_version: 1.8.23.2
|
767
827
|
signing_key:
|
768
|
-
specification_version:
|
828
|
+
specification_version: 3
|
769
829
|
summary: Client library providing real and mock functionality for accessing Engine
|
770
830
|
Yard's Core API
|
771
831
|
test_files:
|
@@ -790,8 +850,11 @@ test_files:
|
|
790
850
|
- spec/deployments_spec.rb
|
791
851
|
- spec/environment_plan_usage_spec.rb
|
792
852
|
- spec/environments_spec.rb
|
853
|
+
- spec/ey-core/cli/accounts_spec.rb
|
793
854
|
- spec/ey-core/cli/helpers/server_sieve_spec.rb
|
794
855
|
- spec/ey-core/cli/recipes/apply_spec.rb
|
856
|
+
- spec/ey-core/cli/recipes/download_spec.rb
|
857
|
+
- spec/ey-core/cli/recipes/upload_spec.rb
|
795
858
|
- spec/features_spec.rb
|
796
859
|
- spec/firewalls_spec.rb
|
797
860
|
- spec/gems_spec.rb
|