From 38d81849385ed9f33b8534277f963b96b011a07b Mon Sep 17 00:00:00 2001 From: Simon Hildrew Date: Wed, 2 Mar 2016 21:47:38 +0000 Subject: [PATCH 1/2] Bump version to 2.1.0 --- lib/hiera/backend/eyaml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hiera/backend/eyaml.rb b/lib/hiera/backend/eyaml.rb index 28b25a41..e6fff162 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" DESCRIPTION = "Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties" class RecoverableError < StandardError From 6e05bd4ec8b0157060b81d96afa6245173afd47b Mon Sep 17 00:00:00 2001 From: "Robin F. Pronk" Date: Fri, 16 Feb 2024 13:11:48 +0100 Subject: [PATCH 2/2] Make 2.1.0 compatible with Ruby 2.7.8 --- lib/hiera/backend/eyaml.rb | 2 +- lib/hiera/backend/eyaml/plugins.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hiera/backend/eyaml.rb b/lib/hiera/backend/eyaml.rb index e6fff162..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.1.0" + 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 )