jerakia 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c86ae612670b7a022f1181b54bdd20e0df4cf7b4
4
- data.tar.gz: fe18a3f6921b80c0a6667cc517538eb23d570df1
3
+ metadata.gz: 5ee5eb2a4faf74cf645495edd5114d0178dfbb99
4
+ data.tar.gz: 5a81e8e5210436fe37fc6bbeb928403cfe6e2cb4
5
5
  SHA512:
6
- metadata.gz: 8492c4df243144a4305563999e3f25e106b29f65783cb9ef574e388ef03cb5db28b4fd29b4fa67cb1a6cb7414c2b92d28a7fbdfb06754d82f6165338b634c658
7
- data.tar.gz: 227e01b1fb2b2336b23eec773a205b855de771a5f568acd9bfc69c3d207c9d129639113b58534feb61351bc3ab0d70311f481888f8f7bfc3fc7b23577797621e
6
+ metadata.gz: d4ef37d1c685dda04906927edcafcdc580053e76b3302dacbd3e19b87dd01bf60876d3994b43c11c033b970b2d796d836769a146df90532fad16dc4413ad991e
7
+ data.tar.gz: f2784346815525259012798a2a5ab40dd3497d26373c29b2a972caa3fa419d200f662d3c533efcb1c383eda98acbf996f4057fc2e6d3674643f8d604bb00fbff
@@ -4,7 +4,7 @@ class Hiera
4
4
 
5
5
  def initialize(config = nil)
6
6
  require 'jerakia'
7
- @config = config || Hiera.config[:jerakia] || {}
7
+ @config = config || Hiera::Config[:jerakia] || {}
8
8
  @policy = @config[:policy] || 'default'
9
9
  @jerakia = ::Jerakia.new(@config)
10
10
  Jerakia.log.debug("[hiera] hiera backend loaded with policy #{@policy}")
@@ -4,6 +4,6 @@ class Jerakia
4
4
  #
5
5
  # This should be updated when a new gem is released and it is read from the gemspec file
6
6
  #
7
- VERSION = "0.4.1"
7
+ VERSION = "0.4.2"
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jerakia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Dunn