rconf 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/rconf +12 -14
  2. data/lib/rconf/version.rb +1 -1
  3. metadata +1 -1
data/bin/rconf CHANGED
@@ -64,20 +64,18 @@ where [options] are:
64
64
  end
65
65
  end
66
66
  Command.set_verbose if opts[:verbose]
67
- Dir.chdir(File.dirname(opts[:config])) do
68
- if opts[:configurators]
69
- new.list_configurators
70
- elsif opts[:platform]
71
- new.show_platform
72
- elsif opts[:overrides]
73
- new.show_overrides
74
- elsif opts[:update]
75
- new.update
76
- elsif opts[:remove]
77
- new.remove
78
- else
79
- new.configure(opts)
80
- end
67
+ if opts[:configurators]
68
+ new.list_configurators
69
+ elsif opts[:platform]
70
+ new.show_platform
71
+ elsif opts[:overrides]
72
+ new.show_overrides
73
+ elsif opts[:update]
74
+ new.update
75
+ elsif opts[:remove]
76
+ new.remove
77
+ else
78
+ Dir.chdir(File.dirname(opts[:config])) { new.configure(opts) }
81
79
  end
82
80
  end
83
81
 
data/lib/rconf/version.rb CHANGED
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 1
15
15
  MINOR = 0
16
- BUILD = 3
16
+ BUILD = 4
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: