From af63af286acbea58f68faa8d221291a9a6dd0761 Mon Sep 17 00:00:00 2001 From: Yann Cezard Date: Thu, 28 Jan 2016 11:17:38 +0100 Subject: [PATCH] Fix idempotency error when using latest. --- lib/puppet/type/rvm_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/type/rvm_gem.rb b/lib/puppet/type/rvm_gem.rb index e8aba2d7..07b83688 100644 --- a/lib/puppet/type/rvm_gem.rb +++ b/lib/puppet/type/rvm_gem.rb @@ -86,7 +86,7 @@ def insync?(is) end case is - when is.is_a?(Array) + when Array if is.include?(@latest) return true else