backedup 5.0.0.beta.4 → 5.0.0.beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7c45c9633a4555d7f2b742a3732e67f3bf2ad754
4
- data.tar.gz: dbd347d1a6e5f9b47fd5e4cda23dd1273c304ec5
2
+ SHA256:
3
+ metadata.gz: a8dbc6217183db1160ee4f3ed2b395ae27162981fcfeb3cefa6426c4750ab790
4
+ data.tar.gz: 0b7f211d3e6db95f33f622373604726059057e5bded7e9ca03bee9fc817dd6de
5
5
  SHA512:
6
- metadata.gz: 2fed2102908c1fdb4c9c9d13e010151bef075d1a529eed6d003f5fa8a02ab7637fbc375de74ce7dfb1e723385b047f0a3533ee54bed0757d02e913db1e89cbf7
7
- data.tar.gz: da23871a4696ebb40be80ecdd3501486526db1e025b673c17119c967efac87be8db351feeb51ceec962648023f6abacf06d1c60d1e49f9254c2b010b53948dca
6
+ metadata.gz: 685b7d2af94a57e694fe48e7cd83654167fdade6a42e1750b1c4212a128bd0743f3e841b06194ac70a2aeda742fb2ddc94e5a5c96096118a2e9e1e916c659d5a
7
+ data.tar.gz: f614c816d3eb5cc2a89741073261376749395e530dff31cef251dfeb4f8021b04681ae8bf4975c6a1acaf1b23695cb6ae98788448cc1d14a5c7653db70d8a7c6
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
-
3
+ #folder = File.expand_path('../../lib',__dir__)
4
+ #$:.unshift(folder) unless $:.include?(folder)
4
5
  require File.expand_path("../../lib/backup", __FILE__)
5
6
  Backup::CLI.start
@@ -161,7 +161,7 @@ module Backup
161
161
  errors = true
162
162
  unless models.empty?
163
163
  Logger.info Error.new(<<-EOS)
164
- Backup will now continue...
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
- Backup will now exit.
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
- # $ backup generate:model --trigger my_backup --databases='mongodb'
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 Backup model file.
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 Backup model"
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 Backup configuration file"
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 Backup configuration file"
312
+ desc "generate:config", "Generates the main BackedUp configuration file"
313
313
 
314
314
  long_desc <<-EOS.gsub(/^ +/, "")
315
- Path to the Backup configuration file to generate.
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 Backup configuration file to generate."
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 Backup gem
341
+ # Returns the current version of the BackedUp gem
342
342
  map "-v" => :version
343
- desc "version", "Display installed Backup version"
343
+ desc "version", "Display installed BackedUp version"
344
344
  def version
345
- puts "Backup #{Backup::VERSION}"
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.
@@ -1,3 +1,3 @@
1
1
  module Backup
2
- VERSION = "5.0.0.beta.4"
2
+ VERSION = "5.0.0.beta.5"
3
3
  end
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
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
- rubyforge_project:
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.