rmybackup 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@ if options[:list]
59
59
  end
60
60
 
61
61
  if options[:edit]
62
- RMyBackup.edit_config_file(File.expand_path(config_file))
62
+ RMyBackup.edit_config_file(File.expand_path(options[:config_file]))
63
63
  exit 0
64
64
  end
65
65
 
@@ -11,5 +11,5 @@ require File.expand_path('../rmybackup/push',__FILE__)
11
11
 
12
12
  #Set the version
13
13
  module RMyBackup
14
- GEM_VERSION = "0.3.6"
14
+ GEM_VERSION = "0.3.7"
15
15
  end
@@ -52,6 +52,7 @@ module RMyBackup
52
52
  #See if the config file exists
53
53
  if not File.exists? file
54
54
  puts "The config file cannot be found: #{file}"
55
+ exit 1
55
56
  end
56
57
 
57
58
  puts "Showing config file - #{file}:\n"
@@ -71,6 +72,7 @@ module RMyBackup
71
72
  #See if the config file exists
72
73
  if not File.exists? file
73
74
  puts "The config file cannot be found: #{file}"
75
+ exit 1
74
76
  end
75
77
 
76
78
  if editor
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 6
9
- version: 0.3.6
8
+ - 7
9
+ version: 0.3.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bryan Shelton