diff options
author | Saku Ytti <saku@ytti.fi> | 2014-05-06 12:28:43 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-05-06 12:28:43 +0300 |
commit | eff861dc81aed658cbccfcc2ea86b3d7f02d975d (patch) | |
tree | 8b024c196bd61fcff55bc42efd98597422378603 /lib/oxidized/source/sql.rb | |
parent | efa7ee3789ace917a66904252090986af0400c25 (diff) |
require config/vars earlier0.0.56
- we need config/vars before model
- some whitespace changes
Bump up gemspec
Diffstat (limited to 'lib/oxidized/source/sql.rb')
-rw-r--r-- | lib/oxidized/source/sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/source/sql.rb b/lib/oxidized/source/sql.rb index a115da8..c744e31 100644 --- a/lib/oxidized/source/sql.rb +++ b/lib/oxidized/source/sql.rb @@ -39,7 +39,7 @@ class SQL < Source keys = {} @cfg.map.each { |key, sql_column| keys[key.to_sym] = node[sql_column.to_sym] } keys[:model] = map_model keys[:model] if keys.key? :model - + # map node specific vars vars = {} @cfg.vars_map.each { |key, sql_column| vars[key.to_sym] = node[sql_column.to_sym] } |