ey_cloud_server 1.4.39 → 1.4.40
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ey_backup/engine.rb +3 -6
- data/lib/ey_cloud_server/version.rb +1 -1
- data/spec/config.yml +4 -1
- metadata +152 -169
data/lib/ey_backup/engine.rb
CHANGED
@@ -3,7 +3,7 @@ module EY
|
|
3
3
|
class Engine < Base
|
4
4
|
include Spawner
|
5
5
|
|
6
|
-
attr_reader :username, :password, :host
|
6
|
+
attr_reader :username, :password, :host, :key_id
|
7
7
|
|
8
8
|
def self.label
|
9
9
|
@label
|
@@ -27,14 +27,11 @@ module EY
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def initialize(username, password, host, key_id)
|
30
|
-
@username, @password, @host = username, password, host
|
31
|
-
@key_id = key_id
|
30
|
+
@username, @password, @host, @key_id = username, password, host, key_id
|
32
31
|
end
|
33
|
-
attr_reader :key_id
|
34
32
|
|
35
33
|
def gpg?
|
36
|
-
|
37
|
-
@key_id.blank?
|
34
|
+
!key_id.nil? && key_id != ""
|
38
35
|
end
|
39
36
|
end
|
40
37
|
end
|
data/spec/config.yml
CHANGED
@@ -4,8 +4,11 @@ data_json:
|
|
4
4
|
mysql_user: root
|
5
5
|
mysql_password:
|
6
6
|
mysql_host: localhost
|
7
|
-
postgresql_user:
|
7
|
+
postgresql_user: root
|
8
8
|
postgresql_password:
|
9
9
|
postgresql_host: localhost
|
10
|
+
mongodb_user: root
|
11
|
+
mongodb_passwd:
|
12
|
+
mongodb_host: localhost
|
10
13
|
aws_secret_id: 'abcd123.id'
|
11
14
|
aws_secret_key: 'abcd123.key'
|
metadata
CHANGED
@@ -1,208 +1,202 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_server
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.40
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 4
|
9
|
-
- 39
|
10
|
-
version: 1.4.39
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- EngineYard
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: json
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 15
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 4
|
32
|
-
- 4
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 1.4.4
|
34
22
|
- - <=
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
hash: 11
|
37
|
-
segments:
|
38
|
-
- 1
|
39
|
-
- 4
|
40
|
-
- 6
|
23
|
+
- !ruby/object:Gem::Version
|
41
24
|
version: 1.4.6
|
42
25
|
type: :runtime
|
43
|
-
version_requirements: *id001
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: right_http_connection
|
46
26
|
prerelease: false
|
47
|
-
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.4.4
|
33
|
+
- - <=
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.4.6
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: right_http_connection
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
48
39
|
none: false
|
49
|
-
requirements:
|
50
|
-
- -
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
hash: 23
|
53
|
-
segments:
|
54
|
-
- 1
|
55
|
-
- 2
|
56
|
-
- 4
|
40
|
+
requirements:
|
41
|
+
- - '='
|
42
|
+
- !ruby/object:Gem::Version
|
57
43
|
version: 1.2.4
|
58
44
|
type: :runtime
|
59
|
-
version_requirements: *id002
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: right_aws
|
62
45
|
prerelease: false
|
63
|
-
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - '='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 1.2.4
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: right_aws
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
64
55
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
hash: 15
|
69
|
-
segments:
|
70
|
-
- 2
|
71
|
-
- 0
|
72
|
-
- 0
|
56
|
+
requirements:
|
57
|
+
- - '='
|
58
|
+
- !ruby/object:Gem::Version
|
73
59
|
version: 2.0.0
|
74
60
|
type: :runtime
|
75
|
-
version_requirements: *id003
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: open4
|
78
61
|
prerelease: false
|
79
|
-
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - '='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.0.0
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: open4
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
80
71
|
none: false
|
81
|
-
requirements:
|
72
|
+
requirements:
|
82
73
|
- - ~>
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
hash: 27
|
85
|
-
segments:
|
86
|
-
- 1
|
87
|
-
- 3
|
88
|
-
- 0
|
74
|
+
- !ruby/object:Gem::Version
|
89
75
|
version: 1.3.0
|
90
76
|
type: :runtime
|
91
|
-
version_requirements: *id004
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: nokogiri
|
94
77
|
prerelease: false
|
95
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.3.0
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: nokogiri
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
96
87
|
none: false
|
97
|
-
requirements:
|
88
|
+
requirements:
|
98
89
|
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
hash: 15
|
101
|
-
segments:
|
102
|
-
- 1
|
103
|
-
- 4
|
104
|
-
- 4
|
90
|
+
- !ruby/object:Gem::Version
|
105
91
|
version: 1.4.4
|
106
92
|
type: :runtime
|
107
|
-
version_requirements: *id005
|
108
|
-
- !ruby/object:Gem::Dependency
|
109
|
-
name: aws-s3
|
110
93
|
prerelease: false
|
111
|
-
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 1.4.4
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: aws-s3
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
112
103
|
none: false
|
113
|
-
requirements:
|
104
|
+
requirements:
|
114
105
|
- - ~>
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
hash: 3
|
117
|
-
segments:
|
118
|
-
- 0
|
119
|
-
- 6
|
120
|
-
- 2
|
106
|
+
- !ruby/object:Gem::Version
|
121
107
|
version: 0.6.2
|
122
108
|
type: :runtime
|
123
|
-
version_requirements: *id006
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: fog
|
126
109
|
prerelease: false
|
127
|
-
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
111
|
none: false
|
129
|
-
requirements:
|
112
|
+
requirements:
|
130
113
|
- - ~>
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 0.6.2
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: fog
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
120
|
+
requirements:
|
121
|
+
- - ~>
|
122
|
+
- !ruby/object:Gem::Version
|
137
123
|
version: 0.7.2
|
138
124
|
type: :runtime
|
139
|
-
version_requirements: *id007
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: mysql
|
142
125
|
prerelease: false
|
143
|
-
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
127
|
none: false
|
145
|
-
requirements:
|
128
|
+
requirements:
|
146
129
|
- - ~>
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.7.2
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: mysql
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
153
139
|
version: 2.8.1
|
154
140
|
type: :runtime
|
155
|
-
version_requirements: *id008
|
156
|
-
- !ruby/object:Gem::Dependency
|
157
|
-
name: ey_enzyme
|
158
141
|
prerelease: false
|
159
|
-
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
none: false
|
144
|
+
requirements:
|
145
|
+
- - ~>
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 2.8.1
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: ey_enzyme
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
160
151
|
none: false
|
161
|
-
requirements:
|
152
|
+
requirements:
|
162
153
|
- - ~>
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
hash: 99
|
165
|
-
segments:
|
166
|
-
- 0
|
167
|
-
- 9
|
168
|
-
- 44
|
154
|
+
- !ruby/object:Gem::Version
|
169
155
|
version: 0.9.44
|
170
156
|
type: :runtime
|
171
|
-
version_requirements: *id009
|
172
|
-
- !ruby/object:Gem::Dependency
|
173
|
-
name: ey_instance_api_client
|
174
157
|
prerelease: false
|
175
|
-
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
176
159
|
none: false
|
177
|
-
requirements:
|
160
|
+
requirements:
|
178
161
|
- - ~>
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: 0.9.44
|
164
|
+
- !ruby/object:Gem::Dependency
|
165
|
+
name: ey_instance_api_client
|
166
|
+
requirement: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
168
|
+
requirements:
|
169
|
+
- - ~>
|
170
|
+
- !ruby/object:Gem::Version
|
185
171
|
version: 0.1.1
|
186
172
|
type: :runtime
|
187
|
-
version_requirements: *id010
|
188
|
-
- !ruby/object:Gem::Dependency
|
189
|
-
name: rake
|
190
173
|
prerelease: false
|
191
|
-
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
175
|
none: false
|
193
|
-
requirements:
|
194
|
-
- -
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
176
|
+
requirements:
|
177
|
+
- - ~>
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 0.1.1
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: rake
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
200
188
|
type: :development
|
201
|
-
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ! '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
202
196
|
description: Miscellaneous EY server utilities
|
203
|
-
email:
|
197
|
+
email:
|
204
198
|
- engineering@engineyard.com
|
205
|
-
executables:
|
199
|
+
executables:
|
206
200
|
- binary_log_purge
|
207
201
|
- clear_binlogs_from_slave
|
208
202
|
- ey-agent
|
@@ -210,10 +204,8 @@ executables:
|
|
210
204
|
- eybackup
|
211
205
|
- mysql_start
|
212
206
|
extensions: []
|
213
|
-
|
214
207
|
extra_rdoc_files: []
|
215
|
-
|
216
|
-
files:
|
208
|
+
files:
|
217
209
|
- bin/binary_log_purge
|
218
210
|
- bin/clear_binlogs_from_slave
|
219
211
|
- bin/ey-agent
|
@@ -275,38 +267,29 @@ files:
|
|
275
267
|
- features/support/env.rb
|
276
268
|
homepage: http://developer.engineyard.com
|
277
269
|
licenses: []
|
278
|
-
|
279
270
|
post_install_message:
|
280
271
|
rdoc_options: []
|
281
|
-
|
282
|
-
require_paths:
|
272
|
+
require_paths:
|
283
273
|
- lib
|
284
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
285
275
|
none: false
|
286
|
-
requirements:
|
287
|
-
- -
|
288
|
-
- !ruby/object:Gem::Version
|
289
|
-
|
290
|
-
|
291
|
-
- 0
|
292
|
-
version: "0"
|
293
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - ! '>='
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: '0'
|
280
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
294
281
|
none: false
|
295
|
-
requirements:
|
296
|
-
- -
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
|
299
|
-
segments:
|
300
|
-
- 0
|
301
|
-
version: "0"
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
302
286
|
requirements: []
|
303
|
-
|
304
287
|
rubyforge_project:
|
305
|
-
rubygems_version: 1.8.
|
288
|
+
rubygems_version: 1.8.24
|
306
289
|
signing_key:
|
307
290
|
specification_version: 3
|
308
291
|
summary: Server side components for Engine Yard's cloud
|
309
|
-
test_files:
|
292
|
+
test_files:
|
310
293
|
- spec/big-brother_spec.rb
|
311
294
|
- spec/bucket_minder_spec.rb
|
312
295
|
- spec/config-example.yml
|