ey-core 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ey-core/cli/deploy.rb +2 -2
- data/lib/ey-core/subscribable.rb +3 -0
- data/lib/ey-core/version.rb +1 -1
- metadata +106 -57
- checksums.yaml +0 -7
data/lib/ey-core/cli/deploy.rb
CHANGED
@@ -91,8 +91,8 @@ EOF
|
|
91
91
|
raise "--ref is required (HEAD is the typical choice)"
|
92
92
|
end
|
93
93
|
end
|
94
|
-
if (
|
95
|
-
deploy_options.merge!(migrate_command: option(:migrate)) if
|
94
|
+
if (switch_active?(:migrate) || switch_active?(:no_migrate))
|
95
|
+
deploy_options.merge!(migrate_command: option(:migrate)) if switch_active?(:migrate)
|
96
96
|
deploy_options.merge!(migrate_command: '') if switch_active?(:no_migrate)
|
97
97
|
else
|
98
98
|
puts "missing migrate option (--migrate or --no-migrate), checking latest deploy...".yellow
|
data/lib/ey-core/subscribable.rb
CHANGED
@@ -13,6 +13,9 @@ module Ey::Core::Subscribable
|
|
13
13
|
gem 'faye', '~> 1.1'
|
14
14
|
require 'faye' # soft dependency
|
15
15
|
|
16
|
+
# Use the same env variable as faraday to activate debug output
|
17
|
+
Faye.logger = Logger.new(STDOUT, level: "DEBUG") if ENV["DEBUG"]
|
18
|
+
|
16
19
|
uri = read_channel_uri
|
17
20
|
|
18
21
|
resource = self
|
data/lib/ey-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,335 +1,382 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Engine Yard Engineering
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2017-
|
12
|
+
date: 2017-06-15 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: '0'
|
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: '0'
|
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.3
|
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.3
|
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: rack
|
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: faye
|
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: highline
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
|
-
- -
|
195
|
+
- - ! '>='
|
172
196
|
- !ruby/object:Gem::Version
|
173
197
|
version: '0'
|
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: '0'
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: json
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
|
-
- -
|
211
|
+
- - <
|
186
212
|
- !ruby/object:Gem::Version
|
187
213
|
version: '2.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: '2.0'
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: mime-types
|
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: oj
|
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: oj_mimic_json
|
225
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
226
258
|
requirements:
|
227
|
-
- -
|
259
|
+
- - ! '>='
|
228
260
|
- !ruby/object:Gem::Version
|
229
261
|
version: '0'
|
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: '0'
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: pry
|
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: sshkey
|
253
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
254
290
|
requirements:
|
255
|
-
- -
|
291
|
+
- - ~>
|
256
292
|
- !ruby/object:Gem::Version
|
257
293
|
version: '1.6'
|
258
294
|
type: :runtime
|
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: '1.6'
|
265
302
|
- !ruby/object:Gem::Dependency
|
266
303
|
name: table_print
|
267
304
|
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
268
306
|
requirements:
|
269
|
-
- -
|
307
|
+
- - ! '>='
|
270
308
|
- !ruby/object:Gem::Version
|
271
309
|
version: '0'
|
272
310
|
type: :runtime
|
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: '0'
|
279
318
|
- !ruby/object:Gem::Dependency
|
280
319
|
name: pry-nav
|
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: rspec
|
295
336
|
requirement: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
296
338
|
requirements:
|
297
|
-
- -
|
339
|
+
- - ~>
|
298
340
|
- !ruby/object:Gem::Version
|
299
341
|
version: '3.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: '3.0'
|
307
350
|
- !ruby/object:Gem::Dependency
|
308
351
|
name: ffaker
|
309
352
|
requirement: !ruby/object:Gem::Requirement
|
353
|
+
none: false
|
310
354
|
requirements:
|
311
|
-
- -
|
355
|
+
- - ! '>='
|
312
356
|
- !ruby/object:Gem::Version
|
313
357
|
version: '0'
|
314
358
|
type: :development
|
315
359
|
prerelease: false
|
316
360
|
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
317
362
|
requirements:
|
318
|
-
- -
|
363
|
+
- - ! '>='
|
319
364
|
- !ruby/object:Gem::Version
|
320
365
|
version: '0'
|
321
366
|
- !ruby/object:Gem::Dependency
|
322
367
|
name: rake
|
323
368
|
requirement: !ruby/object:Gem::Requirement
|
369
|
+
none: false
|
324
370
|
requirements:
|
325
|
-
- -
|
371
|
+
- - ! '>='
|
326
372
|
- !ruby/object:Gem::Version
|
327
373
|
version: '0'
|
328
374
|
type: :development
|
329
375
|
prerelease: false
|
330
376
|
version_requirements: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
331
378
|
requirements:
|
332
|
-
- -
|
379
|
+
- - ! '>='
|
333
380
|
- !ruby/object:Gem::Version
|
334
381
|
version: '0'
|
335
382
|
description: Engine Yard Core API Ruby Client
|
@@ -340,10 +387,10 @@ executables:
|
|
340
387
|
extensions: []
|
341
388
|
extra_rdoc_files: []
|
342
389
|
files:
|
343
|
-
-
|
344
|
-
-
|
345
|
-
-
|
346
|
-
-
|
390
|
+
- .gitignore
|
391
|
+
- .ruby-gemset
|
392
|
+
- .ruby-version
|
393
|
+
- .travis.yml
|
347
394
|
- CHANGELOG.md
|
348
395
|
- Gemfile
|
349
396
|
- Guardfile
|
@@ -803,26 +850,27 @@ files:
|
|
803
850
|
homepage: ''
|
804
851
|
licenses:
|
805
852
|
- MIT
|
806
|
-
metadata: {}
|
807
853
|
post_install_message:
|
808
854
|
rdoc_options: []
|
809
855
|
require_paths:
|
810
856
|
- lib
|
811
857
|
required_ruby_version: !ruby/object:Gem::Requirement
|
858
|
+
none: false
|
812
859
|
requirements:
|
813
|
-
- -
|
860
|
+
- - ! '>='
|
814
861
|
- !ruby/object:Gem::Version
|
815
862
|
version: 2.2.2
|
816
863
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
864
|
+
none: false
|
817
865
|
requirements:
|
818
|
-
- -
|
866
|
+
- - ! '>='
|
819
867
|
- !ruby/object:Gem::Version
|
820
868
|
version: '0'
|
821
869
|
requirements: []
|
822
870
|
rubyforge_project:
|
823
|
-
rubygems_version:
|
871
|
+
rubygems_version: 1.8.23.2
|
824
872
|
signing_key:
|
825
|
-
specification_version:
|
873
|
+
specification_version: 3
|
826
874
|
summary: Client library providing real and mock functionality for accessing Engine
|
827
875
|
Yard's Core API
|
828
876
|
test_files:
|
@@ -889,3 +937,4 @@ test_files:
|
|
889
937
|
- spec/tokens_spec.rb
|
890
938
|
- spec/untracked_servers_spec.rb
|
891
939
|
- spec/users_spec.rb
|
940
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 1bb52dbd4539878755960d6bfcf8b4515e5e0fe3
|
4
|
-
data.tar.gz: 0d7662b1cc086a09a934bd8c9afa118a9a600f21
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: db017147d2b18bf239653d487cdbdaa99155f823573b115936a52d1125f4eb004b3661741fde281ac03d188ee4150baad72daa321d0c741c03861082d3d58f35
|
7
|
-
data.tar.gz: 65893cffc63bf3f882513eef63896b8e321cfccfea64d17c2fad4da1b2e11e96b7513bb2966be1437d423ba91f2cfcb6fa2630c8601b4053238c0f517558b429
|