benburkert-ey-backup 0.0.3.1 → 0.0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/bin/eybackup +2 -0
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "ey-backup"
8
- GEM_VERSION = "0.0.3.1"
8
+ GEM_VERSION = "0.0.3.2"
9
9
  AUTHOR = "Ezra Zygmuntowicz"
10
10
  EMAIL = "ezra@engineyard.com"
11
11
  HOMEPAGE = "http://example.com"
data/bin/eybackup CHANGED
@@ -8,6 +8,8 @@ require 'ey-backup/postgresql_backup'
8
8
  options = {:config => '/etc/.mysql.backups.yml',
9
9
  :command => :new_backup}
10
10
 
11
+ options[:config] = '/etc/.postgresql.backups.yml' if File.exists?('/etc/.postgresql.backups.yml')
12
+
11
13
  # Build a parser for the command line arguments
12
14
  opts = OptionParser.new do |opts|
13
15
  opts.version = "0.0.1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benburkert-ey-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.1
4
+ version: 0.0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezra Zygmuntowicz