From fddff13b3652e9b04605b8658d235d74beebf677 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 23:18:44 +0000 Subject: [PATCH 1/2] Update diffy requirement from = 3.4.0 to = 3.4.2 Updates the requirements on [diffy](https://github.com/samg/diffy) to permit the latest version. - [Release notes](https://github.com/samg/diffy/releases) - [Changelog](https://github.com/samg/diffy/blob/main/CHANGELOG) - [Commits](https://github.com/samg/diffy/commits) --- updated-dependencies: - dependency-name: diffy dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- colorls.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorls.gemspec b/colorls.gemspec index cd93c03..beb75bf 100644 --- a/colorls.gemspec +++ b/colorls.gemspec @@ -69,7 +69,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'codecov', '~> 0.1' - spec.add_development_dependency 'diffy', '3.4.0' + spec.add_development_dependency 'diffy', '3.4.2' spec.add_development_dependency 'rake', '~> 13' spec.add_development_dependency 'rdoc', '~> 6.1' spec.add_development_dependency 'ronn', '~> 0' From b053d33309d9e32fee56a728579c8969894b8ae6 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Mon, 4 Jul 2022 17:11:12 +0200 Subject: [PATCH 2/2] Workaround `NameError` in diffy 3.4.2 See https://github.com/samg/diffy#119 --- spec/support/yaml_sort_checker.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/support/yaml_sort_checker.rb b/spec/support/yaml_sort_checker.rb index 4aa9e79..fefbaf3 100644 --- a/spec/support/yaml_sort_checker.rb +++ b/spec/support/yaml_sort_checker.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'yaml' +require 'open3' # workaround https://github.com/samg/diffy#119 require 'diffy' # Check Yaml if Alphabetically sorted