backedup 5.0.0.beta.4 → 5.0.0.beta.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/backedup +2 -1
- data/lib/backup/cli.rb +12 -12
- data/lib/backup/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a8dbc6217183db1160ee4f3ed2b395ae27162981fcfeb3cefa6426c4750ab790
|
4
|
+
data.tar.gz: 0b7f211d3e6db95f33f622373604726059057e5bded7e9ca03bee9fc817dd6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 685b7d2af94a57e694fe48e7cd83654167fdade6a42e1750b1c4212a128bd0743f3e841b06194ac70a2aeda742fb2ddc94e5a5c96096118a2e9e1e916c659d5a
|
7
|
+
data.tar.gz: f614c816d3eb5cc2a89741073261376749395e530dff31cef251dfeb4f8021b04681ae8bf4975c6a1acaf1b23695cb6ae98788448cc1d14a5c7653db70d8a7c6
|
data/bin/backedup
CHANGED
data/lib/backup/cli.rb
CHANGED
@@ -161,7 +161,7 @@ module Backup
|
|
161
161
|
errors = true
|
162
162
|
unless models.empty?
|
163
163
|
Logger.info Error.new(<<-EOS)
|
164
|
-
|
164
|
+
BackedUp will now continue...
|
165
165
|
The following triggers will now be processed:
|
166
166
|
(#{models.map(&:trigger).join(", ")})
|
167
167
|
EOS
|
@@ -170,7 +170,7 @@ module Backup
|
|
170
170
|
fatal = true
|
171
171
|
unless models.empty?
|
172
172
|
Logger.error FatalError.new(<<-EOS)
|
173
|
-
|
173
|
+
BackedUp will now exit.
|
174
174
|
The following triggers will not be processed:
|
175
175
|
(#{models.map(&:trigger).join(", ")})
|
176
176
|
EOS
|
@@ -242,12 +242,12 @@ module Backup
|
|
242
242
|
# [Generate:Model]
|
243
243
|
# Generates a model configuration file based on the arguments passed in.
|
244
244
|
# For example:
|
245
|
-
# $
|
245
|
+
# $ backedup generate:model --trigger my_backup --databases='mongodb'
|
246
246
|
# will generate a pre-populated model with a base MongoDB setup
|
247
247
|
desc "generate:model", "Generates a Backup model file."
|
248
248
|
|
249
249
|
long_desc <<-EOS.gsub(/^ +/, "")
|
250
|
-
Generates a
|
250
|
+
Generates a BackedUp model file.
|
251
251
|
|
252
252
|
If your configuration file is not in the default location at
|
253
253
|
#{Config.config_file}
|
@@ -264,11 +264,11 @@ module Backup
|
|
264
264
|
aliases: "-t",
|
265
265
|
required: true,
|
266
266
|
type: :string,
|
267
|
-
desc: "Trigger name for the
|
267
|
+
desc: "Trigger name for the BackedUp model"
|
268
268
|
|
269
269
|
method_option :config_file,
|
270
270
|
type: :string,
|
271
|
-
desc: "Path to your
|
271
|
+
desc: "Path to your BackedUp configuration file"
|
272
272
|
|
273
273
|
# options with their available values
|
274
274
|
%w[databases storages syncers encryptor compressor notifiers].each do |name|
|
@@ -309,10 +309,10 @@ module Backup
|
|
309
309
|
##
|
310
310
|
# [Generate:Config]
|
311
311
|
# Generates the main configuration file
|
312
|
-
desc "generate:config", "Generates the main
|
312
|
+
desc "generate:config", "Generates the main BackedUp configuration file"
|
313
313
|
|
314
314
|
long_desc <<-EOS.gsub(/^ +/, "")
|
315
|
-
Path to the
|
315
|
+
Path to the BackedUp configuration file to generate.
|
316
316
|
|
317
317
|
Defaults to:
|
318
318
|
|
@@ -321,7 +321,7 @@ module Backup
|
|
321
321
|
|
322
322
|
method_option :config_file,
|
323
323
|
type: :string,
|
324
|
-
desc: "Path to the
|
324
|
+
desc: "Path to the BackedUp configuration file to generate."
|
325
325
|
|
326
326
|
define_method "generate:config" do
|
327
327
|
config_file = options[:config_file] ?
|
@@ -338,11 +338,11 @@ module Backup
|
|
338
338
|
|
339
339
|
##
|
340
340
|
# [Version]
|
341
|
-
# Returns the current version of the
|
341
|
+
# Returns the current version of the BackedUp gem
|
342
342
|
map "-v" => :version
|
343
|
-
desc "version", "Display installed
|
343
|
+
desc "version", "Display installed BackedUp version"
|
344
344
|
def version
|
345
|
-
puts "
|
345
|
+
puts "BackedUp #{Backup::VERSION}"
|
346
346
|
end
|
347
347
|
|
348
348
|
# This is to avoid Thor's warnings when stubbing methods on the Thor class.
|
data/lib/backup/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backedup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.beta.
|
4
|
+
version: 5.0.0.beta.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikal Villa
|
@@ -1332,8 +1332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1332
1332
|
- !ruby/object:Gem::Version
|
1333
1333
|
version: 1.3.1
|
1334
1334
|
requirements: []
|
1335
|
-
|
1336
|
-
rubygems_version: 2.5.2.3
|
1335
|
+
rubygems_version: 3.0.3
|
1337
1336
|
signing_key:
|
1338
1337
|
specification_version: 4
|
1339
1338
|
summary: Provides an elegant DSL in Ruby for performing backups on UNIX-like systems.
|