hiera-eyaml 2.0.2 → 2.0.3

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
- data.tar.gz: 320ecb88b86477c86909c67e49001d9928fd9d5b
4
- metadata.gz: c95ad3120781cc53e726f22ce0a007d15d7abd23
3
+ metadata.gz: 3912bf9a2405844f834908a20b1366efda3dd75d
4
+ data.tar.gz: 5cec508a47fab8d5a4f4ec19808c436dd61d8d6a
5
5
  SHA512:
6
- data.tar.gz: 7d8dc29c9ee973fc703fcbb69d5a4c2ba09805b5cdaef0a325be65ed0ba25d998082069b05b911605940c1952dcc083554e445f616e7215a6d7d3470f77c7ff9
7
- metadata.gz: f8388e118f05c7365f9ed577653f6419bb4531fbd863fd56960e6c98bc606373b756060689da05b681a8fbc3894f73c95ec447193a401310fb1ac4ffbc445785
6
+ metadata.gz: dc1f52d302216134c15e7880f77c5f3c8aa639f4ac1be73b30fca4ae9e0c76a30a7bf95999cb94313fe7c9c4632853cbafdf08559658d83c94c81a9e6ec72097
7
+ data.tar.gz: 861f3b3ca88829e533f65ac4a36afc5e674b2217d84855005c913c3577e94f490eeefb70c027daa89d77f8b650f9e9c926b55e4217a87945a0e7bcb4cb71d116
@@ -1,41 +1,38 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- CFPropertyList (2.2.7)
5
- aruba (0.5.4)
4
+ aruba (0.5.3)
6
5
  childprocess (>= 0.3.6)
7
6
  cucumber (>= 1.1.1)
8
7
  rspec-expectations (>= 2.7.0)
9
8
  builder (3.2.2)
10
- childprocess (0.5.3)
9
+ childprocess (0.3.9)
11
10
  ffi (~> 1.0, >= 1.0.11)
12
- cucumber (1.3.14)
11
+ cucumber (1.3.10)
13
12
  builder (>= 2.1.2)
14
13
  diff-lcs (>= 1.1.3)
15
14
  gherkin (~> 2.12)
16
15
  multi_json (>= 1.7.5, < 2.0)
17
- multi_test (>= 0.1.1)
16
+ multi_test (>= 0.0.2)
18
17
  diff-lcs (1.2.5)
19
- facter (2.0.1)
20
- CFPropertyList (~> 2.2.6)
18
+ facter (1.7.3)
21
19
  ffi (1.9.3)
22
20
  gherkin (2.12.2)
23
21
  multi_json (~> 1.3)
24
- hiera (1.3.2)
22
+ hiera (1.2.1)
25
23
  json_pure
26
- hiera-eyaml-plaintext (0.6)
27
- highline (1.6.21)
24
+ hiera-eyaml-plaintext (0.5)
25
+ highline (1.6.20)
28
26
  json_pure (1.8.1)
29
- multi_json (1.10.0)
30
- multi_test (0.1.1)
31
- puppet (3.5.1)
32
- facter (> 1.6, < 3)
27
+ multi_json (1.8.2)
28
+ multi_test (0.0.2)
29
+ puppet (3.3.2)
30
+ facter (~> 1.6)
33
31
  hiera (~> 1.0)
34
- json_pure
35
32
  rgen (~> 0.6.5)
36
- rake (10.3.1)
33
+ rake (10.1.0)
37
34
  rgen (0.6.6)
38
- rspec-expectations (2.14.5)
35
+ rspec-expectations (2.14.4)
39
36
  diff-lcs (>= 1.1.3, < 2.0)
40
37
  trollop (2.0)
41
38
 
@@ -2,7 +2,7 @@ class Hiera
2
2
  module Backend
3
3
  module Eyaml
4
4
 
5
- VERSION = "2.0.2"
5
+ VERSION = "2.0.3"
6
6
  DESCRIPTION = "Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties"
7
7
 
8
8
  class RecoverableError < StandardError
@@ -14,7 +14,7 @@ class Hiera
14
14
 
15
15
  def self.find encryption_scheme = nil
16
16
  encryption_scheme = Eyaml.default_encryption_scheme if encryption_scheme.nil?
17
- require "hiera/backend/eyaml/encryptors/#{encryption_scheme.downcase}"
17
+ require "hiera/backend/eyaml/encryptors/#{File.basename encryption_scheme.downcase}"
18
18
  encryptor_module = Module.const_get('Hiera').const_get('Backend').const_get('Eyaml').const_get('Encryptors')
19
19
  encryptor_class = Utils.find_closest_class :parent_class => encryptor_module, :class_name => encryption_scheme
20
20
  raise StandardError, "Could not find hiera-eyaml encryptor: #{encryption_scheme}. Try gem install hiera-eyaml-#{encryption_scheme.downcase} ?" if encryptor_class.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-eyaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Poulton
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2014-05-06 00:00:00 Z
12
+ date: 2014-07-23 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop