Skip to content

Latest commit

 

History

History
289 lines (189 loc) · 11.8 KB

CHANGELOG.md

File metadata and controls

289 lines (189 loc) · 11.8 KB

Change Log

The format is described in Contributing notes.

master

1.5.0 (2023-09-11)

Added

Changed

  • (Breaking) Support Ruby >= 2.7.0

  • Update rubocop to 1.56.3. ([@Set27])

  • Update rubocop-rails to 2.21.0. ([@Set27])

  • Update rubocop-spec to 2.24.0. ([@Set27])

1.4.0 (2023-02-11)

Changed

1.3.0 (2022-12-02)

Added

Changed

Fixed

  • #196 Fix Layout/ArrayAlignmentExtended cop. (@r.dubrovsky)
  • #258 Fix conflict between Layout/ArrayAlignmentExtended and Layout/FirstArrayElementIndentation cops. (@r.dubrovsky)

1.2.0 (2021-02-24)

Added

Changed

  • #233 Setup EnforcedStyleForMultiline for Style/TrailingCommaInArguments and Style/TrailingCommaInArrayLiteral rules. (@paydaylight)
  • #124 Move gem dependencies to ./datarockets-style.gemspec and drop Gemfile.lock tracking. (@paydaylight)
  • #253 Update rubocop to 1.10. (@paydaylight)
  • #124 Update rubocop-rails to 2.9. (@paydaylight)

Fixed

1.1.0 (2021-02-09)

Changed

  • Setup EnforcedStyleForMultiline for Style/TrailingCommaInHashLiteral rule. (@r.dubrovsky)
  • Update rubocop to 1.9.1. (@paydaylight)
  • Update rubocop-rails requirement to >= 2.8.0, < 2.10.0. (@paydaylight)
  • Update rubocop-rspec to 2.2.0. (@paydaylight)
  • Change Datarockets::Style module to DatarocketsStyle. (@paydaylight)

Fixed

1.0.0 (2020-11-10)

Changed

  • Update rubocop to 1.2.0.
  • Update rubocop-rails to 2.8.1.
  • Update rubocop-rspec tp 2.0.0.

0.11.0 (2020-11-07)

Changed

  • Update rubocop to '0.93.1'. (@r.dubrovsky)
    • Enable new cops Lint/BinaryOperatorWithIdenticalOperands, Lint/DuplicateRescueException, Lint/EmptyConditionalBody, Lint/FloatComparison, Lint/MissingSuper , Lint/OutOfRangeRegexpRef, Lint/SelfAssignment, Lint/TopLevelReturnWithArgument, Lint/UnreachableLoop, Style/ExplicitBlockArgument, Style/GlobalStdStream, Style/OptionalBooleanParameter, Style/SingleArgumentDig, Style/SoleNestedConditional and Style/StringConcatenation in version 0.89.
    • Allow to add all new lints automatically.
    • Add auto-correctable count notification.
    • Fix tests
  • Update rubocop-rails to 2.7.1.
  • Update rubocop-rspec tp 1.43.2.
    • Disable RSpec/MultipleMemoizedHelpers cop.

0.10.0 (2020-07-17)

Changed

  • Update rubocop to 0.88.0. (@r.dubrovsky)

    • Enable new cops Lint/MixedRegexpCaptureTypes, Style/RedundantRegexpCharacterClass and Style/RedundantRegexpEscape. Cops were added in version 0.85.
    • Enable new cop Style/RedundantFetchBlock. Cop was added in version 0.86.
    • Enable new cops Style/AccessorGrouping, Style/BisectedAttrAccessor and Style/RedundantAssignment. Cops were added in version 0.87.
    • Enable new cops Lint/DuplicateElsifCondition, Style/ArrayCoercion, Style/CaseLikeIf, Style/HashAsLastArrayItem, Style/HashLikeCase and Style/RedundantFileExtensionInRequire. Cops were added in version 0.88.
  • Update rubocop-rails to 2.6.0.

  • Update rubocop-rspec to 1.42.0.

  • Setup no_braces rule for Style/HashAsLastArrayItem cop which added in the rubocop version 0.88.

0.9.0 (2020-05-27)

Changed

  • (Breaking) Drop support for Ruby 2.3. (@r.dubrovsky)

  • Update rubocop to 0.84.0. (@r.dubrovsky)

    • Enable new cops Lint/RaiseException and Lint/StructNewOverride. Cops were added in version 0.81.
    • Enable new cops Layout/SpaceAroundMethodCallOperator and Style/ExponentialNotation. Cops were added in version 0.82.
    • Enable new cops Layout/EmptyLinesAroundAttributeAccessor and Style/SlicingWithRange. Cops were added in version 0.83.
    • Enable new cop Lint/DeprecatedOpenSSLConstant. Cop was added in version 0.84.
  • Update rubocop-rails to 2.5.2.

  • Update rubocop-rspec to 1.39.

  • Update activesupport for fixing security issues.

0.8.1 (2020-03-02)

Changed

  • Update rubocop to 0.80.1.

0.8.0 (2020-02-20)

Added

Changed

  • Update rubocop to 0.80.0. (@r.dubrovsky)

    • Add Style/HashEachMethods, Style/HashTransformKey, Style/HashTransformValues cops.
    • #7641: Remove Style/BracesAroundHashParameters cop.
  • Update rubocop-rspec to 1.38.1.

    • Add RSpec/RepeatedExampleGroupBody cop. (@ula)
    • Add RSpec/RepeatedExampleGroupDescription cop. (@ula)
  • Enable rubocop-rails cops for rails config. (@ula)

  • Setup Style/Documentation for rails config. (@r.dubrovsky)

  • Setup Style/ClassAndModuleChildren cop. (@r.dubrovsky)

  • Enable RSpec/LetSetup cop. (@r.dubrovsky)

0.7.0 (2020-01-27)

Added

Changed

  • Update rubocop to 0.79.0.
  • Update rubocop-rspec to 1.37.1.
  • Add notes for setting up Rspec configuration for fixing Rspec internal style issues. (@r.dubrovsky)
  • #58: Disable RSpec/LetSetup cop by default. (@ula)

Fixed

  • #80: Allows adding additional files and directories to excluding block for rubocop. (@nikitasakov)
  • Fix documentation issues. (@ula)

0.6.2 (2019-12-05)

Changed

  • Update rubocop to 0.77.0.

Fixed

  • #137: Usage of rubocop 0.77.0 version causes errors. ([@d.kachur][])

0.6.1 (2019-11-06)

Fixed

0.6.0 (2019-11-06)

Added

Changed

0.5.0 (2019-10-26)

Changed

  • Split single rubocop config to smaller (for ruby, rails and rspec). (@r.dubrovsky)
  • Update rubocop to 0.75.1.
  • Update rubocop-rspec to 1.36.0.
  • Use block style for RSpec/ExpectChange cop. (@r.dubrovsky)
  • Add RSpec/MessageSpies cop to style guide. (@r.dubrovsky)

Fixed

  • Fix RSpec/DescribedClass's error when described_class is used as part of a constant. This is part of rubocop-rspec changes.

0.4.0 (2019-08-13)

Changed

  • Update rubocop-rspec to 1.35.0. (@r.dubrovsky)
  • Use context-dependent style for curly braces around hash params. (@v.kuzmik)
  • Use leading underscores in cached instance variable name (cop: Naming/MemoizedInstanceVariableName). (@ula)
  • Allow use for with RSpec/ContextWording cop. (@r.dubrovsky)
  • Change Layout/AlignArguments and Layout/IndentFirstHashElement cops for aligning arguments with fixed indentation. (@r.dubrovsky)
  • Enable Layout/MultilineMethodCallIndentation cop for aligning arguments with fixed indentation. (@r.dubrovsky, @ula)

0.3.0 (2019-08-02)

Changed

Fixed

0.2.0 (2019-07-17)

Changed

  • Update rubocop to 0.73.0. (@r.dubrovsky)
  • Use preferred variable name in rescued exceptions (cop: Naming/RescuedExceptionsVariableName). (@ula)
  • Disable RSpec/ImplicitSubject cop for rspec files. (@r.dubrovsky)

0.1.0 (2019-06-27)

Added

  • Base config with community rules and some basic override rules. (@r.dubrovsky, @aleks)
  • Config is based on rubocop version 0.72.0. (@r.dubrovsky)
  • Enable rubocop-spec cops by default. (@r.dubrovsky)
  • Enable Bundler/DuplicatedGem cop by default. (@r.dubrovsky)
  • Enable Bundler/OrderedGems cop with allowing ordering by groups. (@r.dubrovsky)

Changed

  • Change the limit for size of line to 120 symbols. (@r.dubrovsky)
  • Disable Metrics/BlockLength cop for rspec files. (@r.dubrovsky)
  • Exclude rubocop checking for some config directories. (@r.dubrovsky)
  • Enable preferring double quotes for string literals. (@r.dubrovsky)
  • Do not add spaces between hash literal braces (cop Layout/SpaceInsideHashLiteralBraces). (@r.dubrovsky)
  • Prefer normal style for Layout/IndentationConsistency cop for Rails apps too. (@r.dubrovsky)
  • Change style to variable for Layout/EndAlignment cop. (@r.dubrovsky)
  • Change style to with_fixed_indentation with indentation width 2 for Layout/AlignParameter cop. (@r.dubrovsky)
  • Always ignore hash aligning for key word arguments. (cop: Layout/AlignHash) (@r.dubrovsky)