stratocumulus 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,29 +1,29 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'stratocumulus/version'
4
+ require "stratocumulus/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = 'stratocumulus'
7
+ spec.name = "stratocumulus"
8
8
  spec.version = Stratocumulus::VERSION
9
- spec.authors = ['Ed Robinson']
10
- spec.email = ['ed.robinson@reevoo.com']
11
- spec.summary = %q(Backup Databases to Cloud Storage)
12
- spec.description = %q(Backup Databases to Cloud Storage)
13
- spec.homepage = 'https://github.com/reevoo/stratocumulus'
14
- spec.license = 'MIT'
9
+ spec.authors = ["Ed Robinson"]
10
+ spec.email = ["ed.robinson@reevoo.com"]
11
+ spec.summary = "Backup Databases to Cloud Storage"
12
+ spec.description = "Backup Databases to Cloud Storage"
13
+ spec.homepage = "https://github.com/reevoo/stratocumulus"
14
+ spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = ['stratocumulus']
17
+ spec.executables = ["stratocumulus"]
18
18
  spec.test_files = spec.files.grep(/^(test|spec|features)\//)
19
- spec.require_paths = ['lib']
19
+ spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'fog', '~> 1.22'
22
- spec.add_dependency 'thor', '~> 0.19.1'
23
- spec.add_development_dependency 'bundler', '~> 1.5'
24
- spec.add_development_dependency 'rake'
25
- spec.add_development_dependency 'rubocop'
26
- spec.add_development_dependency 'rspec', '~> 3.0'
27
- spec.add_development_dependency 'coveralls'
28
- spec.add_development_dependency 'simplecov'
21
+ spec.add_dependency "fog-aws", "~> 0.9"
22
+ spec.add_dependency "thor", "~> 0.19.1"
23
+ spec.add_development_dependency "bundler", "~> 1.5"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "reevoocop"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "codeclimate-test-reporter"
28
+ spec.add_development_dependency "simplecov"
29
29
  end
metadata CHANGED
@@ -1,142 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stratocumulus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ed Robinson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-06-24 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: fog
14
+ name: fog-aws
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '1.22'
19
+ version: '0.9'
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
29
- version: '1.22'
26
+ version: '0.9'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: thor
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.19.1
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
45
40
  version: 0.19.1
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.5'
54
48
  type: :development
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
61
54
  version: '1.5'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
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
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
- name: rubocop
70
+ name: reevoocop
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
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
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rspec
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ~>
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
89
  version: '3.0'
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
109
96
  version: '3.0'
110
97
  - !ruby/object:Gem::Dependency
111
- name: coveralls
98
+ name: codeclimate-test-reporter
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: simplecov
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ">="
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ">="
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: Backup Databases to Cloud Storage
@@ -147,11 +130,10 @@ executables:
147
130
  extensions: []
148
131
  extra_rdoc_files: []
149
132
  files:
150
- - .coveralls.yml
151
- - .gitignore
152
- - .rspec
153
- - .rubocop.yml
154
- - .travis.yml
133
+ - ".gitignore"
134
+ - ".rspec"
135
+ - ".rubocop.yml"
136
+ - ".travis.yml"
155
137
  - Gemfile
156
138
  - LICENSE.txt
157
139
  - README.md
@@ -163,7 +145,6 @@ files:
163
145
  - lib/stratocumulus/database/mysql.rb
164
146
  - lib/stratocumulus/database/pipe_io.rb
165
147
  - lib/stratocumulus/database/postgresql.rb
166
- - lib/stratocumulus/database/rethinkdb.rb
167
148
  - lib/stratocumulus/retention.rb
168
149
  - lib/stratocumulus/runner.rb
169
150
  - lib/stratocumulus/storage.rb
@@ -186,33 +167,26 @@ files:
186
167
  homepage: https://github.com/reevoo/stratocumulus
187
168
  licenses:
188
169
  - MIT
170
+ metadata: {}
189
171
  post_install_message:
190
172
  rdoc_options: []
191
173
  require_paths:
192
174
  - lib
193
175
  required_ruby_version: !ruby/object:Gem::Requirement
194
- none: false
195
176
  requirements:
196
- - - ! '>='
177
+ - - ">="
197
178
  - !ruby/object:Gem::Version
198
179
  version: '0'
199
- segments:
200
- - 0
201
- hash: 646644050683609050
202
180
  required_rubygems_version: !ruby/object:Gem::Requirement
203
- none: false
204
181
  requirements:
205
- - - ! '>='
182
+ - - ">="
206
183
  - !ruby/object:Gem::Version
207
184
  version: '0'
208
- segments:
209
- - 0
210
- hash: 646644050683609050
211
185
  requirements: []
212
186
  rubyforge_project:
213
- rubygems_version: 1.8.25
187
+ rubygems_version: 2.4.5.1
214
188
  signing_key:
215
- specification_version: 3
189
+ specification_version: 4
216
190
  summary: Backup Databases to Cloud Storage
217
191
  test_files:
218
192
  - spec/intergration/database_spec.rb
@@ -1 +0,0 @@
1
- service_name: travis-ci
@@ -1,39 +0,0 @@
1
- # encoding: UTF-8
2
- require 'stratocumulus/database'
3
- require 'tmpdir'
4
-
5
- module Stratocumulus
6
- class RethinkDB < Database
7
- def dump
8
- `#{command}`
9
- @success = $CHILD_STATUS.success?
10
- File.open(path)
11
- end
12
-
13
- def command
14
- command = 'rethinkdb dump '
15
- command << "-c #{host}:#{port} " unless socket?
16
- command << "-f #{path} "
17
- command << "-e #{@name}"
18
- end
19
-
20
- def success?
21
- File.delete(path)
22
- @success
23
- end
24
-
25
- def dependencies
26
- ['rethinkdb-dump']
27
- end
28
-
29
- private
30
-
31
- def path
32
- Dir.tmpdir + '/' + file
33
- end
34
-
35
- def suffix
36
- '.tar.gz'
37
- end
38
- end
39
- end