Changelog rubocop-bitcrowd

Presented in reverse chronological order.

master

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.2.0…HEAD

Put high-level summary here before releasing a new version

Deprecations:

Potentially breaking changes:

New features:

Fixes:

2.2.0 (2020-03-26)

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.2.0…HEAD

With this version update, rubocop-bitcrowd adapts to RuboCop's new modularized architecture of having separate gems for different cop targets (Rails, Rspec, Performance).

rubocop-bitcrowd includes separate configuration files for each RuboCop gem. To continue using the previous configuration including rules for Rspec and Rails, add the respective gems to your Gemfile:

gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false

And update the configuration in your .rubocop.yml to include the bitcrowd rules:

inherit_gem:
  rubocop-bitcrowd:
    - .rubocop.yml
    - .rubocop-rspec.yml
    - .rubocop-rails.yml

As a new addition, rubocop-bitcrowd now also includes rules for the rubocop-performance gem. To use them, add the gem to your Gemfile:

gem 'rubocop-performance', require: false

Then include the bitcrowd config in your .rubocop.yml:

inherit_gem:
  rubocop-bitcrowd:
    - .rubocop.yml
    - .rubocop-rspec.yml
    - .rubocop-rails.yml
    - .rubocop-performance.yml

Potentially breaking changes:

New features:

2.1.3 (2020-03-26)

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.1.3…HEAD

This releases silences some deprecation warnings and locks down the minimal rubocop version rubocop-bitcrowd depends on.

Fixes:

2.1.2 (2019-12-17)

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.1.1…v2.1.2

Fixes:

2.1.1 (2019-12-17)

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.1.0…v2.1.1

Fixes:

2.1.0 (2019-11-29)

github.com/bitcrowd/rubocop-bitcrowd/compare/v2.0.0…v2.1.0

New features:

2.0.0 (2019-02-06)

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.3.0…v2.0.0

This release changes our approach on excluding certain file paths and directories from being inspected by the linter. Instead of fully overriding RuboCop's default AllCops:Exclude list (which used to be necessary up until rubocop v0.57.0), rubocop-bitcrowd now only provides some extra patterns as an extension to the default list.

We in addition to the default directories, e.g. want to exclude log, tmp and storage in Rails projects.

In order to keep excluding both, the bitcrowd patterns and the RuboCop's default ones, add this to your .rubocop.yml file:

inherit_mode:
  merge:
    - Exclude

Potentially breaking changes:

Fixes:

1.3.0 (2018-10-22)

This release is a maintenance release. Most notably it let's us be compatile with rubocop versions >= 0.56 again. For a full list of changes, see the link or summary below.

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.2.1…v1.3.0

New features:

Fixes:

1.2.1 (2018-03-22)

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.2.0…v1.2.1

Potentially breaking changes:

Fixes

1.2.0 (2018-02-07)

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.1.2…v1.2.0

Fixes:

1.1.2 (2017-10-23)

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.1.1…v1.1.2

Potentially breaking changes:

1.1.1 (2017-09-21)

github.com/bitcrowd/rubocop-bitcrowd/compare/v1.1.0…v1.1.1

Fixes:

1.1.0 (2017-09-21)

github.com/bitcrowd/rubocop-bitcrowd/compare/695fb551bcd1e17a12f80e34c9bbcb842cee35ea…v1.1.1