From 0500063a365c1149a9be420a5c313c0e4082cfb8 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 3 Jul 2020 15:21:37 -0400 Subject: [PATCH 1/2] Adjustments per RuboCop --- bin/dotutils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dotutils.rb b/bin/dotutils.rb index 0df94a7..086c27b 100644 --- a/bin/dotutils.rb +++ b/bin/dotutils.rb @@ -3,7 +3,7 @@ def existing_symlink(source, destination) return if File.readlink(destination).eql?(source) - # rubocop:disable Metrics/LineLength + # rubocop:disable Layout/LineLength if @prompt.yes?("#{destination} currently points to #{File.readlink(destination)}, do you want point it at #{source}?") File.unlink(destination) puts "Linking #{destination} to #{source}" @@ -12,7 +12,7 @@ def existing_symlink(source, destination) else puts "#{destination} is unchanged" end - # rubocop:enable Metrics/LineLength + # rubocop:enable Layout/LineLength end # rubocop:disable Metrics/MethodLength From b3ee2131099cf4b7bc5ca7e19f2879e9b4e83fa3 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 3 Jul 2020 15:23:05 -0400 Subject: [PATCH 2/2] Add Ruby 2.7 to test matrix --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4dd725e..02f0158 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ os: rvm: - 2.5 - 2.6 + - 2.7 before_install: - gem update --system