From fa24333ca19e70eba9150eab1547f2d89605dbf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Mon, 4 May 2015 15:48:54 +0200 Subject: [PATCH] bump rubocop --- .rubocop.yml | 8 +++----- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e3ea0b991..2e55fe82e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -36,10 +36,8 @@ Style/AlignHash: EnforcedColonStyle: table # Mixing the styles looks just silly. -# REVIEW: Enable once https://github.com/bbatsov/rubocop/commit/760ce1ed2cf10beda5e163f934c03a6fb6daa38e -# is released. -#Style/HashSyntax: -# EnforcedStyle: ruby19_no_mixed_keys +Style/HashSyntax: + EnforcedStyle: ruby19_no_mixed_keys # has_key? and has_value? are far more readable than key? and value? Style/DeprecatedHashMethods: @@ -93,7 +91,7 @@ Style/SpaceInsideHashLiteralBraces: # { ... } for multi-line blocks is okay, follow Weirichs rule instead: # https://web.archive.org/web/20140221124509/http://onestepback.org/index.cgi/Tech/Ruby/BraceVsDoEnd.rdoc -Style/Blocks: +Style/BlockDelimiters: Enabled: false # do / end blocks should be used for side effects, diff --git a/Gemfile b/Gemfile index 508c7cfa3..0006bbc27 100644 --- a/Gemfile +++ b/Gemfile @@ -227,7 +227,7 @@ group :development do # Linters gem "jshintrb", "0.3.0" - gem "rubocop", "0.29.1" + gem "rubocop", "0.31.0" # Preloading environment diff --git a/Gemfile.lock b/Gemfile.lock index d29fa32d8..b1f2499e8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -447,10 +447,10 @@ GEM faraday (~> 0.9.0) nokogiri (~> 1.6) orm_adapter (0.5.0) - parser (2.2.0.3) + parser (2.2.2.2) ast (>= 1.1, < 3.0) phantomjs (1.9.8.0) - powerpack (0.1.0) + powerpack (0.1.1) pry (0.10.1) coderay (~> 1.1.0) method_source (~> 0.8.1) @@ -601,9 +601,9 @@ GEM rspec-mocks (~> 3.2.0) rspec-support (~> 3.2.0) rspec-support (3.2.2) - rubocop (0.29.1) + rubocop (0.31.0) astrolabe (~> 1.3) - parser (>= 2.2.0.1, < 3.0) + parser (>= 2.2.2.1, < 3.0) powerpack (~> 0.1) rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.4) @@ -808,7 +808,7 @@ DEPENDENCIES roxml (= 3.1.6) rspec-instafail (= 0.2.6) rspec-rails (= 3.2.1) - rubocop (= 0.29.1) + rubocop (= 0.31.0) ruby-oembed (= 0.8.14) sass-rails (= 5.0.1) selenium-webdriver (= 2.45.0) -- GitLab