Skip to content

Releases: datarockets/ruby-style

0.8.1

02 Mar 13:02

Choose a tag to compare

Changed

  • Update rubocop to 0.80.1. List of changes here

0.8.0

20 Feb 09:28

Choose a tag to compare

Added

Changed

  • Update rubocop to 0.80.0. List of changes here. (@r.dubrovsky)

    • Add Style/HashEachMethods, Style/HashTransformKey, Style/HashTransformValues cops.
    • #7641: Remove Style/BracesAroundHashParameters cop.
  • Update rubocop-rspec to 1.38.1. List of changes for 1.38.0 and 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)

Thank you @ula for a great impact on this version ❤️

0.7.0

27 Jan 14:53

Choose a tag to compare

Added

Changed

  • Update rubocop to 0.79.0. List of changes for 0.78.0 and 0.79.0.
  • Update rubocop-rspec to 1.37.1. List of changes for 1.37.0 and 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)

Thank @ula and @nikitasakov for huge impact into that version ❤️

0.6.2

06 Dec 16:55
f58dddf

Choose a tag to compare

Changed

  • Update rubocop to 0.77.0.

Fixed

  • #137: Usage of rubocop 0.77.0 version causes errors.

0.6.1

06 Nov 20:50

Choose a tag to compare

Fixed

0.6.0

06 Nov 10:54

Choose a tag to compare

Added

Changed

  • Update rubocop to 0.76. List of changes for 0.76.0.
  • Change default value for RSpec/ExampleLength cop. (@a.branzeanu)
  • Disable RSpec/NestedGroups cop by default. (@r.dubrovsky)

@a.branzeanu, thank you for a great help for preparing that version ❤️

0.5.0

26 Oct 08:18

Choose a tag to compare

Changed

  • Finally, rubbocop config was split to smaller smaller parts (for ruby, rails and rspec). (@r.dubrovsky)
  • Update rubocop to 0.75.1. List of changes for 0.75.0 and 0.75.1.
  • Update rubocop-rspec to 1.36.0. List of changes here.
  • 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

13 Aug 12:17

Choose a tag to compare

Changed

  • Update rubocop-rspec to 1.35.0. List of changes here. (@r.dubrovsky)
  • Use contenxt-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 wiht RSpec/ContextWording cop. (@r.dubrovsky)
  • Change Layout/AlignArguments and Layout/IndentFirstHashElement cops for aliging arguments with fixed indentation. (@r.dubrovsky)
  • Enable Layout/MultilineMethodCallIndentation cop for aliging arguments with fixed indentation. (@r.dubrovsky, @ula)

Also, thank you all guys who help us with reviewing (especially @aleks) ❤️.

0.3.0

02 Aug 10:07

Choose a tag to compare

Changed

Fixed

As usual, thank you @aleks for help with reviewing PRs and issues ❤️

0.2.0

17 Jul 10:36

Choose a tag to compare

Changed

  • Update rubocop to 0.73.0. List of changes you can find here. (@r.dubrovsky)
  • Use prefered variable name in rescued exceptions (cop: Naming/RescuedExceptionsVariableName). (@ula)
  • Disable RSpec/ImplicitSubject cop for rspec files. (@r.dubrovsky)

Thank you @aleks for a huge help with reviewing PRs and issues ❤️