summaryrefslogtreecommitdiff
path: root/extra
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 /extra
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.
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions