rmybackup 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rmybackup.rb +3 -3
  2. metadata +2 -2
data/lib/rmybackup.rb CHANGED
@@ -7,7 +7,7 @@ require File.expand_path('../rmybackup/purge_files',__FILE__)
7
7
 
8
8
  module RMyBackup
9
9
 
10
- GEM_VERSION = "0.2.0"
10
+ GEM_VERSION = "0.2.1"
11
11
 
12
12
  class Base
13
13
  def initialize(config_file)
@@ -34,9 +34,9 @@ module RMyBackup
34
34
 
35
35
  #Decide if we use my.cnf or creds on cli
36
36
  if @config['use_mycnf_credentials']
37
- cred_string = " --user=#{@config['username']} --password=#{@config['password']} --host=#{@config['host']}"
38
- else
39
37
  cred_string = ''
38
+ else
39
+ cred_string = " --user=#{@config['username']} --password=#{@config['password']} --host=#{@config['host']}"
40
40
  end
41
41
 
42
42
  puts "Backing up #{db}\n"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bryan Shelton