diff --git a/lib/hiera/backend/eyaml.rb b/lib/hiera/backend/eyaml.rb index 28b25a41..193a116d 100644 --- a/lib/hiera/backend/eyaml.rb +++ b/lib/hiera/backend/eyaml.rb @@ -2,7 +2,7 @@ class Hiera module Backend module Eyaml - VERSION = "2.0.8" + VERSION = "2.1.0.stpst1" DESCRIPTION = "Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties" class RecoverableError < StandardError diff --git a/lib/hiera/backend/eyaml/plugins.rb b/lib/hiera/backend/eyaml/plugins.rb index ee106066..e29e6ca9 100644 --- a/lib/hiera/backend/eyaml/plugins.rb +++ b/lib/hiera/backend/eyaml/plugins.rb @@ -33,6 +33,7 @@ def self.find specs.each do |spec| next if @@plugins.include? spec + spec = Gem::VERSION >= "3.3.7" ? spec.to_spec() : spec dependency = spec.dependencies.find { |d| d.name == "hiera-eyaml" } next if dependency && !dependency.requirement.satisfied_by?( this_version )