From 647ba87417ef09d9a0baea296053b8d3fcc52261 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Sun, 24 Sep 2017 22:33:27 -0300 Subject: Ensure correct Array of Symbol syntax for 1.9 --- .rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 3ab76a8..f4401a2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -59,3 +59,11 @@ Style/OptionalArguments: Style/MethodMissing: Exclude: - 'lib/highline/template_renderer.rb' + +# This is a breaking change for MRI 1.9. +# Revoke when updating to MRI 2.0 as minimum. +# Cop supports --auto-correct. +# Configuration parameters: MinSize, SupportedStyles. +# SupportedStyles: percent, brackets +Style/SymbolArray: + EnforcedStyle: brackets -- cgit v1.2.1