oxidized 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a288d5c83803a09ffbdee23a63fd68cf3be696c
4
- data.tar.gz: 63e08af5b3211db7e2d49148d086a5d8baa2fc2b
3
+ metadata.gz: 3a8d0bfbb1f5af45af6ca1c0e33d917f7141b705
4
+ data.tar.gz: 9338c123be8a3155db7c45b8c918a67720b93e8a
5
5
  SHA512:
6
- metadata.gz: 9554362efb378cfe476e3da1db3e8eb260b4ee728415c8e05a693d17b0272f3a817a359aade873681c8bff7df69b708070eba8d9d8bdab1589ec844c31f68955
7
- data.tar.gz: f477bc518d72be9ecc545899af5f45fe6fac550bd8b8b1cbfb3186a7c9c0c2787a12127b86f85999885853a4db5c5ec9ac10bcae7f647c43ec0f3b7e0c288802
6
+ metadata.gz: 91aab225e76b56fc9db5ff8705b5c8c5241ccb9d063f09e18eb4896991aec8a2d3d742d4d4375de8a29987b5b5f28a70c75986d19e75ebb12762aed982ecabdf
7
+ data.tar.gz: 3e7c1c0b901f2677ec5178a0981175d05d28be7164609b36f10d179e60025f8d3ee886b3f34d4bcc24fe96cfa77bef5a395e1032dfc466ca398c5ba467eba564
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.2.1
2
+ - BUGFIX: vars variable resolving for main level vars
3
+
1
4
  # 0.2.0
2
5
  - FEATURE: Force10 model added by @lysiszegerman
3
6
  - FEATURE: ScreenOS model added by @lysiszegerman
@@ -4,7 +4,7 @@ module Oxidized::Config::Vars
4
4
  def vars name
5
5
  r = @node.vars[name] unless @node.vars.nil?
6
6
  r ||= Oxidized::CFG.groups[@node.group].vars[name.to_s] if Oxidized::CFG.groups.has_key?(@node.group)
7
- r ||= Oxidized::CFG.vars[name.to_s] if Oxidized::CFG.vars.has_key?(name)
7
+ r ||= Oxidized::CFG.vars[name.to_s] if Oxidized::CFG.vars.has_key?(name.to_s)
8
8
  r
9
9
  end
10
10
  end
data/oxidized.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'oxidized'
3
- s.version = '0.2.0'
3
+ s.version = '0.2.1'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti