ey_cloud_server 1.4.46 → 1.4.47a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -7
- data/features/support/env.rb +3 -3
- data/lib/ey_cloud_server/version.rb +1 -1
- data/spec/config.yml +11 -0
- data/spec/ey_backup/mysql_backups_spec.rb +11 -10
- data/spec/ey_backup/postgres_backups_spec.rb +9 -9
- data/spec/helpers.rb +16 -10
- data/spec/spec_helper.rb +0 -1
- metadata +161 -116
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGM0MmFkNWZiYmVmNTNjOWNhNWRiM2E2NzA5NWI1YWZhMmVhNTY1Yg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTU4MmFjMGEwYjM2NzQ4OTMzNDhlZTRkZjY4NmQ4ZGEwMmEzZTM3Yw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODViNzVmZTE2MmJhMzc5OTk1ODU4MDhhMDJhNmQyNDNjNDk2NjYyNWIwOTk5
|
10
|
+
OTExYWRmYWRlOGU1MjIzMTJjMWMyMTUzMDc2YzU0Yjc0MjQyMmIzMmY5NDA2
|
11
|
+
ZjViMWNmNjlkZDg1YzFjM2I5YjNhZTdmYmVkOGNkYjA1MmRhZWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MWMyMGFlNDk5ZTdkNDliNzUxMTJjOGZmN2U4MzdmZDQ1OGVjYTEyNzJkYTIy
|
14
|
+
ZDQ4ZmMxNmI5ZWM5NzlkZDY1N2YxOGM0ZDhlNThhYTdjZTUxNzY4NjRkZTAx
|
15
|
+
YTcyYjFiNWUwYWFkNzU4NTVkODk3M2M0YmI3YzE0ZTJjODZlMjA=
|
data/features/support/env.rb
CHANGED
@@ -3,15 +3,15 @@ require File.dirname(__FILE__) + "/../../lib/ey_backup"
|
|
3
3
|
require 'fakeweb'
|
4
4
|
require 'fakefs/safe'
|
5
5
|
require 'randexp'
|
6
|
+
require 'fog'
|
7
|
+
|
8
|
+
Fog.mock!
|
6
9
|
|
7
10
|
require File.dirname(__FILE__) + '/../../spec/fakefs_hax'
|
8
11
|
require File.dirname(__FILE__) + '/../../spec/helpers'
|
9
12
|
|
10
13
|
FakeWeb.allow_net_connect = false # if it's not here, it doesn't exist
|
11
14
|
Randexp::Dictionary.words
|
12
|
-
Fog.mock!
|
13
|
-
|
14
|
-
Fog.mock!
|
15
15
|
|
16
16
|
World(Helpers)
|
17
17
|
|
data/spec/config.yml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
tmp_dir:
|
3
|
+
data_json:
|
4
|
+
mysql_user: root
|
5
|
+
mysql_password:
|
6
|
+
mysql_host: localhost
|
7
|
+
postgresql_user: postgres
|
8
|
+
postgresql_password: grew152
|
9
|
+
postgresql_host: localhost
|
10
|
+
aws_secret_id: 'AKIAIDNXVLT3THIWYMNQ'
|
11
|
+
aws_secret_key: 'DZBOcAI1qpYF0V+ZL2SeA7Jzt15boFxIo+BD7vda'
|
@@ -23,6 +23,7 @@ describe "MySQL Backups" do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it "makes GPG encrypted backups" do
|
26
|
+
import_gpg
|
26
27
|
EY::Backup.run(["-c", backup_config_file, '-k', Helpers::PUBLIC_KEY_ID])
|
27
28
|
|
28
29
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name])
|
@@ -89,29 +90,29 @@ describe "MySQL Backups" do
|
|
89
90
|
it 'manually restores an encrypted backup' do
|
90
91
|
run_sql("CREATE TABLE `foo` (`id` int(11) NOT NULL auto_increment, PRIMARY KEY(`id`));", @db_name).should be_true
|
91
92
|
run_sql("CREATE TABLE `bar` (`id` int(11) NOT NULL auto_increment, PRIMARY KEY(`id`));", @db_name).should be_true
|
92
|
-
|
93
|
+
|
93
94
|
import_gpg
|
94
|
-
|
95
|
+
|
95
96
|
EY::Backup.run(["-c", backup_config_file, '-k', Helpers::PUBLIC_KEY_ID])
|
96
|
-
|
97
|
+
|
97
98
|
run_sql("DROP TABLE `bar`;", @db_name).should be_true
|
98
99
|
run_sql("SELECT * FROM `bar`;", @db_name).should be_false
|
99
|
-
|
100
|
+
|
100
101
|
reset_logger
|
101
|
-
|
102
|
+
|
102
103
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name])
|
103
|
-
|
104
|
+
|
104
105
|
stdout.should include("1 backup(s) found")
|
105
|
-
|
106
|
+
|
106
107
|
EY::Backup.run(["-c", backup_config_file, "--download", "0:#{@db_name}"])
|
107
108
|
file = Dir["#{EY::Backup.tmp_dir}/*#{@db_name}*"].first
|
108
109
|
stdout = StringIO.new
|
109
110
|
EY::Backup::Spawner.spawn("gpg --no-default-keyring --keyring #{Helpers::PUBLIC_KEY_PATH} --secret-keyring #{Helpers::PRIVATE_KEY_PATH} --decrypt", stdout, file)
|
110
|
-
|
111
|
+
|
111
112
|
stdout.rewind
|
112
|
-
|
113
|
+
|
113
114
|
run_sql_pipe(stdout, @db_name)
|
114
|
-
|
115
|
+
|
115
116
|
run_sql("SELECT * FROM `foo`;", @db_name).should be_true
|
116
117
|
run_sql("SELECT * FROM `bar`;", @db_name).should be_true
|
117
118
|
FileUtils.rm(file)
|
@@ -24,11 +24,11 @@ describe "Postgres Backups" do
|
|
24
24
|
|
25
25
|
it "makes GPG encrypted backups" do
|
26
26
|
import_gpg
|
27
|
-
|
27
|
+
|
28
28
|
EY::Backup.run(["-c", backup_config_file, '-e', 'postgresql', '-k', Helpers::PUBLIC_KEY_ID])
|
29
|
-
|
29
|
+
|
30
30
|
EY::Backup.run(["-c", backup_config_file, '-e', 'postgresql', "-l", @db_name])
|
31
|
-
|
31
|
+
|
32
32
|
stdout.should match(/0:#{@db_name}/)
|
33
33
|
end
|
34
34
|
|
@@ -56,19 +56,19 @@ describe "Postgres Backups" do
|
|
56
56
|
it "restores split backups" do
|
57
57
|
run_psql("CREATE TABLE foo (id integer NOT NULL);", @db_name).should be_true
|
58
58
|
run_psql("CREATE TABLE bar (id integer NOT NULL);", @db_name).should be_true
|
59
|
-
|
59
|
+
|
60
60
|
EY::Backup.run(["-c", backup_config_file, "-e", "postgresql", "-s", "100"])
|
61
61
|
EY::Backup.run(["-c", backup_config_file, "-e", "postgresql", "-l", @db_name]).first.parts.should > 1
|
62
|
-
|
62
|
+
|
63
63
|
run_psql("DROP TABLE bar;", @db_name).should be_true
|
64
64
|
run_psql("SELECT * FROM bar;", @db_name).should be_false
|
65
|
-
|
65
|
+
|
66
66
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name, '-e', 'postgresql'])
|
67
|
-
|
67
|
+
|
68
68
|
stdout.should include("1 backup(s) found")
|
69
|
-
|
69
|
+
|
70
70
|
EY::Backup.run(["-c", backup_config_file, "-r", "0:#{@db_name}", '-e', 'postgresql'])
|
71
|
-
|
71
|
+
|
72
72
|
run_psql("SELECT * FROM foo;", @db_name).should be_true
|
73
73
|
run_psql("SELECT * FROM bar;", @db_name).should be_true
|
74
74
|
end
|
data/spec/helpers.rb
CHANGED
@@ -4,7 +4,7 @@ module Helpers
|
|
4
4
|
PUBLIC_KEY_ID = '4D5AA1CE74A97ADB'
|
5
5
|
|
6
6
|
def run_before
|
7
|
-
|
7
|
+
read_keys
|
8
8
|
|
9
9
|
FakeWeb.clean_registry
|
10
10
|
FakeWeb.passthrough_uri(:any, %r{^https?://s3.amazonaws.com/})
|
@@ -28,7 +28,7 @@ module Helpers
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def stub_configs
|
31
|
-
#
|
31
|
+
#print "in stub_configs: #{YAML::dump(@database_config)}, #{YAML::dump(spec_config)}\n"
|
32
32
|
config = @database_config || spec_config
|
33
33
|
config = config.merge({ :tmp_dir => tmp_dir })
|
34
34
|
# print "in stub_configs2: #{YAML::dump(config)}\n"
|
@@ -59,7 +59,7 @@ module Helpers
|
|
59
59
|
FileUtils.rm_f(backup_config_file)
|
60
60
|
filenames = Dir.glob("#{tmp_dir}/*")
|
61
61
|
if filenames.any?
|
62
|
-
raise "failed to remove #{filenames.join(' ')}"
|
62
|
+
raise "failed to remove #{filenames.join(', ')}"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -82,7 +82,7 @@ module Helpers
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def mysql_password_option
|
85
|
-
mysql_password.
|
85
|
+
mysql_password.nil? ? "" : "-p#{mysql_password}"
|
86
86
|
end
|
87
87
|
|
88
88
|
def generate_database_name(type)
|
@@ -156,7 +156,7 @@ module Helpers
|
|
156
156
|
stdin.flush
|
157
157
|
stdin.close
|
158
158
|
|
159
|
-
|
159
|
+
_, status = Process::waitpid2 pid
|
160
160
|
|
161
161
|
status
|
162
162
|
end
|
@@ -166,7 +166,7 @@ module Helpers
|
|
166
166
|
end
|
167
167
|
|
168
168
|
def tmp_dir
|
169
|
-
if spec_config['tmp_dir'].
|
169
|
+
if spec_config['tmp_dir'].nil?
|
170
170
|
File.dirname(__FILE__) + "/tmp/"
|
171
171
|
else
|
172
172
|
spec_config['tmp_dir'] || File.dirname("./tmp/")
|
@@ -174,11 +174,11 @@ module Helpers
|
|
174
174
|
end
|
175
175
|
|
176
176
|
def mysql_user
|
177
|
-
spec_config['mysql_user'] ||
|
177
|
+
spec_config['mysql_user'] || "root"
|
178
178
|
end
|
179
179
|
|
180
180
|
def postgresql_user
|
181
|
-
spec_config['postgresql_user'] ||
|
181
|
+
spec_config['postgresql_user'] || "postgres"
|
182
182
|
end
|
183
183
|
|
184
184
|
def mysql_password
|
@@ -190,11 +190,11 @@ module Helpers
|
|
190
190
|
end
|
191
191
|
|
192
192
|
def mysql_host
|
193
|
-
spec_config['mysql_host'] || '
|
193
|
+
spec_config['mysql_host'] || '127.0.0.1'
|
194
194
|
end
|
195
195
|
|
196
196
|
def postgresql_host
|
197
|
-
spec_config['postgresql_host'] || '
|
197
|
+
spec_config['postgresql_host'] || '127.0.0.1'
|
198
198
|
end
|
199
199
|
|
200
200
|
def created_mysql_dbs
|
@@ -215,8 +215,14 @@ module Helpers
|
|
215
215
|
|
216
216
|
def self.load_spec_config
|
217
217
|
filename = File.dirname(__FILE__) + '/config.yml'
|
218
|
+
|
218
219
|
if File.exist?(filename)
|
219
220
|
@spec_config = YAML.load_file(filename)
|
221
|
+
elsif Fog.mocking?
|
222
|
+
@spec_config = {
|
223
|
+
'aws_secret_id' => SecureRandom.base64(10),
|
224
|
+
'aws_secret_key' => SecureRandom.base64(20),
|
225
|
+
}
|
220
226
|
else
|
221
227
|
abort "Please setup your spec/config.yml file"
|
222
228
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,134 +1,179 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_server
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.47a
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- EngineYard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: json
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Version
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
21
19
|
version: 1.4.4
|
22
20
|
- - <=
|
23
|
-
- !ruby/object:Gem::Version
|
21
|
+
- !ruby/object:Gem::Version
|
24
22
|
version: 1.4.6
|
25
23
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: right_http_connection
|
29
24
|
prerelease: false
|
30
|
-
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.4.4
|
30
|
+
- - <=
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.4.6
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: right_http_connection
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '='
|
38
|
+
- !ruby/object:Gem::Version
|
34
39
|
version: 1.2.4
|
35
40
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: right_aws
|
39
41
|
prerelease: false
|
40
|
-
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.2.4
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: right_aws
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
44
53
|
version: 2.0.0
|
45
54
|
type: :runtime
|
46
|
-
version_requirements: *id003
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: open4
|
49
55
|
prerelease: false
|
50
|
-
|
51
|
-
requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: open4
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
52
65
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
66
|
+
- !ruby/object:Gem::Version
|
54
67
|
version: 1.3.0
|
55
68
|
type: :runtime
|
56
|
-
version_requirements: *id004
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: nokogiri
|
59
69
|
prerelease: false
|
60
|
-
|
61
|
-
requirements:
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
62
72
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 1.
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.3.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: nokogiri
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.6.6.2
|
65
82
|
type: :runtime
|
66
|
-
version_requirements: *id005
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: aws-s3
|
69
83
|
prerelease: false
|
70
|
-
|
71
|
-
requirements:
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.6.6.2
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: aws-s3
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
72
93
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
94
|
+
- !ruby/object:Gem::Version
|
74
95
|
version: 0.6.2
|
75
96
|
type: :runtime
|
76
|
-
version_requirements: *id006
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
name: fog
|
79
97
|
prerelease: false
|
80
|
-
|
81
|
-
requirements:
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
82
100
|
- - ~>
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 0.6.2
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: fog
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.30.0
|
85
110
|
type: :runtime
|
86
|
-
version_requirements: *id007
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: mysql
|
89
111
|
prerelease: false
|
90
|
-
|
91
|
-
requirements:
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.30.0
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: mysql
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
92
121
|
- - ~>
|
93
|
-
- !ruby/object:Gem::Version
|
122
|
+
- !ruby/object:Gem::Version
|
94
123
|
version: 2.8.1
|
95
124
|
type: :runtime
|
96
|
-
version_requirements: *id008
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: ey_enzyme
|
99
125
|
prerelease: false
|
100
|
-
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ~>
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 2.8.1
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: ey_enzyme
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ! '>='
|
136
|
+
- !ruby/object:Gem::Version
|
104
137
|
version: 1.1.7
|
105
138
|
type: :runtime
|
106
|
-
version_requirements: *id009
|
107
|
-
- !ruby/object:Gem::Dependency
|
108
|
-
name: ey_instance_api_client
|
109
139
|
prerelease: false
|
110
|
-
|
111
|
-
requirements:
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ! '>='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.1.7
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: ey_instance_api_client
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
112
149
|
- - ~>
|
113
|
-
- !ruby/object:Gem::Version
|
150
|
+
- !ruby/object:Gem::Version
|
114
151
|
version: 0.1.1
|
115
152
|
type: :runtime
|
116
|
-
version_requirements: *id010
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
153
|
prerelease: false
|
120
|
-
|
121
|
-
requirements:
|
122
|
-
-
|
123
|
-
-
|
124
|
-
|
125
|
-
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ~>
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.1.1
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rake
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
126
166
|
type: :development
|
127
|
-
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
128
173
|
description: Miscellaneous EY server utilities
|
129
|
-
email:
|
174
|
+
email:
|
130
175
|
- engineering@engineyard.com
|
131
|
-
executables:
|
176
|
+
executables:
|
132
177
|
- binary_log_purge
|
133
178
|
- clear_binlogs_from_slave
|
134
179
|
- ey-agent
|
@@ -136,21 +181,32 @@ executables:
|
|
136
181
|
- eybackup
|
137
182
|
- mysql_start
|
138
183
|
extensions: []
|
139
|
-
|
140
184
|
extra_rdoc_files: []
|
141
|
-
|
142
|
-
|
185
|
+
files:
|
186
|
+
- LICENSE
|
187
|
+
- README.rdoc
|
188
|
+
- Rakefile
|
189
|
+
- TODO
|
143
190
|
- bin/binary_log_purge
|
144
191
|
- bin/clear_binlogs_from_slave
|
145
192
|
- bin/ey-agent
|
146
193
|
- bin/ey-snapshots
|
147
194
|
- bin/eybackup
|
148
195
|
- bin/mysql_start
|
196
|
+
- features/downloading_a_mysql_backup.feature
|
197
|
+
- features/making_a_postgresql_backup.feature
|
198
|
+
- features/restoring_postgres_backup.feature
|
199
|
+
- features/step_definitions/backups.rb
|
200
|
+
- features/step_definitions/commands.rb
|
201
|
+
- features/step_definitions/mysql.rb
|
202
|
+
- features/step_definitions/postgresql.rb
|
203
|
+
- features/support/env.rb
|
204
|
+
- lib/ey-flex.rb
|
149
205
|
- lib/ey-flex/big-brother.rb
|
150
206
|
- lib/ey-flex/bucket_minder.rb
|
151
207
|
- lib/ey-flex/ey-api.rb
|
152
208
|
- lib/ey-flex/snapshot_minder.rb
|
153
|
-
- lib/
|
209
|
+
- lib/ey_backup.rb
|
154
210
|
- lib/ey_backup/backend.rb
|
155
211
|
- lib/ey_backup/backup_set.rb
|
156
212
|
- lib/ey_backup/base.rb
|
@@ -166,17 +222,13 @@ files:
|
|
166
222
|
- lib/ey_backup/processors/gzipper.rb
|
167
223
|
- lib/ey_backup/processors/splitter.rb
|
168
224
|
- lib/ey_backup/spawner.rb
|
169
|
-
- lib/
|
225
|
+
- lib/ey_cloud_server.rb
|
170
226
|
- lib/ey_cloud_server/mysql_start.rb
|
171
227
|
- lib/ey_cloud_server/version.rb
|
172
|
-
- lib/ey_cloud_server.rb
|
173
|
-
- README.rdoc
|
174
|
-
- Rakefile
|
175
|
-
- LICENSE
|
176
|
-
- TODO
|
177
228
|
- spec/big-brother_spec.rb
|
178
229
|
- spec/bucket_minder_spec.rb
|
179
230
|
- spec/config-example.yml
|
231
|
+
- spec/config.yml
|
180
232
|
- spec/ey_api_spec.rb
|
181
233
|
- spec/ey_backup/backend_spec.rb
|
182
234
|
- spec/ey_backup/backup_spec.rb
|
@@ -190,41 +242,34 @@ files:
|
|
190
242
|
- spec/helpers.rb
|
191
243
|
- spec/snapshot_minder_spec.rb
|
192
244
|
- spec/spec_helper.rb
|
193
|
-
- features/downloading_a_mysql_backup.feature
|
194
|
-
- features/making_a_postgresql_backup.feature
|
195
|
-
- features/restoring_postgres_backup.feature
|
196
|
-
- features/step_definitions/backups.rb
|
197
|
-
- features/step_definitions/commands.rb
|
198
|
-
- features/step_definitions/mysql.rb
|
199
|
-
- features/step_definitions/postgresql.rb
|
200
|
-
- features/support/env.rb
|
201
245
|
homepage: http://developer.engineyard.com
|
202
246
|
licenses: []
|
203
|
-
|
204
247
|
metadata: {}
|
205
|
-
|
206
248
|
post_install_message:
|
207
249
|
rdoc_options: []
|
208
|
-
|
209
|
-
require_paths:
|
250
|
+
require_paths:
|
210
251
|
- lib
|
211
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
-
|
214
|
-
|
215
|
-
|
216
|
-
|
252
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - ! '>='
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: '0'
|
257
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
|
+
requirements:
|
259
|
+
- - ! '>'
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: 1.3.1
|
217
262
|
requirements: []
|
218
|
-
|
219
263
|
rubyforge_project:
|
220
|
-
rubygems_version: 2.
|
264
|
+
rubygems_version: 2.4.6
|
221
265
|
signing_key:
|
222
266
|
specification_version: 4
|
223
267
|
summary: Server side components for Engine Yard's cloud
|
224
|
-
test_files:
|
268
|
+
test_files:
|
225
269
|
- spec/big-brother_spec.rb
|
226
270
|
- spec/bucket_minder_spec.rb
|
227
271
|
- spec/config-example.yml
|
272
|
+
- spec/config.yml
|
228
273
|
- spec/ey_api_spec.rb
|
229
274
|
- spec/ey_backup/backend_spec.rb
|
230
275
|
- spec/ey_backup/backup_spec.rb
|