From 5f9d1224bce469681feb38fb34c1e38309e519b1 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2020 13:40:05 +0000 Subject: [PATCH 1/2] Bump rubocop-govuk from 3.1.0 to 3.3.0 Bumps [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) from 3.1.0 to 3.3.0. - [Release notes](https://github.com/alphagov/rubocop-govuk/releases) - [Changelog](https://github.com/alphagov/rubocop-govuk/blob/master/CHANGELOG.md) - [Commits](https://github.com/alphagov/rubocop-govuk/compare/v3.1.0...v3.3.0) Signed-off-by: dependabot-preview[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ab055850d..a61512164 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -257,7 +257,7 @@ GEM rexml ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 1.7) - rubocop-govuk (3.1.0) + rubocop-govuk (3.3.0) rubocop (= 0.80.1) rubocop-rails (~> 2) rubocop-rspec (~> 1.28) From 1440dcb6d16afd80a87f529ba0a9640c74738f27 Mon Sep 17 00:00:00 2001 From: Bill Franklin Date: Tue, 17 Mar 2020 13:01:59 +0000 Subject: [PATCH 2/2] Fix rubocop issues --- lib/helpers/wraith_config_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/wraith_config_helper.rb b/lib/helpers/wraith_config_helper.rb index 0578f6b68..e18066cdc 100644 --- a/lib/helpers/wraith_config_helper.rb +++ b/lib/helpers/wraith_config_helper.rb @@ -27,7 +27,7 @@ def build_paths config_paths = {} if @paths.is_a? Hash - @paths.keys.each do |key| + @paths.each_key do |key| @paths.fetch(key).each_with_index do |path, index| config_paths[path_index(key, index + 1)] = path end