summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/cli.rb6
-rw-r--r--oxidized.gemspec4
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/oxidized/cli.rb b/lib/oxidized/cli.rb
index 720f405..1e6cf05 100644
--- a/lib/oxidized/cli.rb
+++ b/lib/oxidized/cli.rb
@@ -18,11 +18,7 @@ module Oxidized
private
def initialize
- if CFGS.system.empty? and CFGS.user.empty?
- CFGS.user = CFGS.default
- CFGS.save :user
- raise NoConfig, 'edit ~/.config/oxidized/config'
- end
+ raise NoConfig, 'edit ~/.config/oxidized/config' if CFGS.create
_args, opts = parse_opts
CFG.debug = true if opts[:debug]
end
diff --git a/oxidized.gemspec b/oxidized.gemspec
index b06cdfd..6e132d4 100644
--- a/oxidized.gemspec
+++ b/oxidized.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'oxidized'
- s.version = '0.0.51'
+ s.version = '0.0.52'
s.platform = Gem::Platform::RUBY
s.authors = [ 'Saku Ytti' ]
s.email = %w( saku@ytti.fi )
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
s.add_dependency 'haml'
s.add_dependency 'sass'
s.add_dependency 'slop'
- s.add_dependency 'asetus', '>= 0.0.6'
+ s.add_dependency 'asetus', '>= 0.0.7'
end