From 5264e1e9caa6ec4d83e9dfb1a9dff6784bf7fc52 Mon Sep 17 00:00:00 2001 From: Craig Little Date: Wed, 3 Feb 2016 00:36:18 -0800 Subject: [PATCH 1/3] Disable `FrozenStringLiteralComment` cop This cop enforces use of the frozen-string-literal magic comment in all files that contain mutable strings. Until the list of Ruby versions we support no longer contains a runtime that does not support either the magic comment or full-blown immutable strings outright, we'll continue to explicitly freeze all mutable objects and forgo magic comments. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 094eeb8..58ca41c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -33,6 +33,9 @@ Style/EmptyLinesAroundClassBody: Style/EmptyLinesAroundModuleBody: EnforcedStyle: no_empty_lines +Style/FrozenStringLiteralComment: + Enabled: false + Style/GuardClause: MinBodyLength: 2 From c51d440b1b7369e3cbf80ed2a1e6bf575e3a7a87 Mon Sep 17 00:00:00 2001 From: Craig Little Date: Wed, 3 Feb 2016 01:02:39 -0800 Subject: [PATCH 2/3] Remove redundant module-spacing cop configuration This is a RuboCop default. --- .rubocop.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 58ca41c..6079018 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -30,9 +30,6 @@ Style/Documentation: Style/EmptyLinesAroundClassBody: EnforcedStyle: empty_lines -Style/EmptyLinesAroundModuleBody: - EnforcedStyle: no_empty_lines - Style/FrozenStringLiteralComment: Enabled: false From 483e1976e10ed69ded0a6494952267e0329c2a11 Mon Sep 17 00:00:00 2001 From: Craig Little Date: Wed, 3 Feb 2016 00:16:30 -0800 Subject: [PATCH 3/3] Start running build against Ruby 2.3 The Future is now. Oh well: https://twitter.com/roidrage/status/681760928229134336 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9152318..7d22023 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ rvm: - 2.0 - 2.1 - 2.2 + - 2.3.0 cache: bundler