From 1bd7d7df04321ebf39cc39d06486768df7245650 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 7 Jan 2018 14:29:19 +0000 Subject: Use parser 2.4.0.0 This matches the version that supports Ruby 2.3.3 syntax (which is the version we use). --- Library/Homebrew/cmd/style.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 89484d67d..27047dfd0 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -70,6 +70,7 @@ module Homebrew def check_style_impl(files, output_type, options = {}) fix = options[:fix] + Homebrew.install_gem_setup_path! "parser", HOMEBREW_RUBOCOP_PARSER_VERSION, "ruby-parse" Homebrew.install_gem_setup_path! "rubocop", HOMEBREW_RUBOCOP_VERSION require "rubocop" require_relative "../rubocops" -- cgit v1.2.3