From b731b5c726885f3f2ab86468e1762fe1538be678 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Sat, 31 Aug 2019 13:29:55 +0530 Subject: [PATCH] Fix code climate rubocop version (#24) * Downgrade rubocop * Init codeclimate config --- .codeclimate.yml | 5 +++++ Gemfile | 2 +- Gemfile.lock | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 000000000..fbb6d4dad --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,5 @@ +version: "2" +plugins: + rubocop: + enabled: true + channel: rubocop-0-73 diff --git a/Gemfile b/Gemfile index 4b5bf7270..95ff841c0 100644 --- a/Gemfile +++ b/Gemfile @@ -67,7 +67,7 @@ group :development, :test do gem 'spring' gem 'spring-watcher-listen' gem 'seed_dump' - gem 'rubocop', '~> 0.74.0', require: false + gem 'rubocop', '~> 0.73.0', require: false gem 'rspec-rails', '~> 3.8' end diff --git a/Gemfile.lock b/Gemfile.lock index ca6f104e2..f0e7bce69 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -278,7 +278,7 @@ GEM omniauth (~> 1.9) orm_adapter (0.5.0) parallel (1.17.0) - parser (2.6.3.0) + parser (2.6.4.0) ast (~> 2.4.0) pg (1.1.4) phantomjs (2.1.1.0) @@ -350,7 +350,7 @@ GEM rspec-mocks (~> 3.8.0) rspec-support (~> 3.8.0) rspec-support (3.8.2) - rubocop (0.74.0) + rubocop (0.73.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) parser (>= 2.6) @@ -479,7 +479,7 @@ DEPENDENCIES responders rest-client rspec-rails (~> 3.8) - rubocop (~> 0.74.0) + rubocop (~> 0.73.0) sass-rails (~> 5.0) seed_dump sentry-raven