summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-07-20 12:21:46 +0300
committerSaku Ytti <saku@ytti.fi>2014-07-20 12:21:46 +0300
commit7d02d3be89dd988cceba379c8413a8b9dc926814 (patch)
treeb3c745480baa3f0c402a49ded2589c56ba752e09
parenta39c93f861f554648bbc0938173e64474d689dad (diff)
Depend on newer asetus version
We are doing this in sql.rb :user => @cfg.sql.user? :password => @cfg.sql.password? As 'asetus' will accept arbitrary chain @cfg.sql.one.two.three it is clear that 'one' or 'two' cannot _ever_ return nil/false, otherwise you cannot create 'three'. So if there isn't value of one/two, instance of 'asetus' is returned, upon which we can build two, and then tree'. one?, two?, three? version existed in old asetus, as strict boolean test @cfg.sql.one? would return true, false or nil In newer version, instead of returning true, it returns actual value.
-rw-r--r--oxidized.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/oxidized.gemspec b/oxidized.gemspec
index 5da9717..9e6ef85 100644
--- a/oxidized.gemspec
+++ b/oxidized.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.required_ruby_version = '>= 1.9.3'
- s.add_dependency 'asetus', '>= 0.0.7'
+ s.add_dependency 'asetus', '>= 0.1.0'
s.add_dependency 'slop'
s.add_dependency 'net-ssh'
end