Skip to content
This repository was archived by the owner on Jun 6, 2020. It is now read-only.

Update rubocop-rails_config: 0.2.5 → 0.5.1 (major)#34

Closed
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-rails_config-0.5.1
Closed

Update rubocop-rails_config: 0.2.5 → 0.5.1 (major)#34
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-rails_config-0.5.1

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Apr 15, 2019

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop-rails_config (0.2.5 → 0.5.1) · Repo · Changelog

Release Notes

0.5.1

  • Enable Layout/SpaceBeforeComment cop #39 @koic
  • Fix typo #40

0.5.0

  • CI against RuboCop 0.64, 0.65, and 0.66 #36 @koic
  • Drop Ruby 2.2 Support / Drop rubocop v0.58 & v0.59 Support #37

0.4.4

  • Enable Performance/ReverseEach cop #33 @koic
  • Enable Lint/AmbiguousOperator and Lint/AmbiguousRegexpLiteral cops #34 @koic

0.4.3

0.4.2

  • Enable Lint/DeprecatedClassMethods cop #29

0.4.1

  • Enable Lint/UselessAssignment cop #28
  • Rails Integration Test (#27)

0.4.0

  • Drop rubocop v0.56/v0.57 Support #26
  • Fix CI #25

0.3.2

  • Enable Lint/ShadowingOuterLocalVariable cop #24 by @koic

0.3.1

  • Enable Style/RedundantBegin cop #22 by @koic
  • Add Ruby 2.6 Support #23

0.3.0

  • Enable Layout/SpaceAfterSemicolon cop #21 @koic

Not all release notes shown. View the full release notes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 62 commits:

↗️ concurrent-ruby (indirect, 1.0.5 → 1.1.5) · Repo · Changelog

Release Notes

1.1.5 (from changelog)

concurrent-ruby:

  • fix potential leak of context on JRuby and Java 7

concurrent-ruby-edge:

  • Add finalized Concurrent::Cancellation
  • Add finalized Concurrent::Throttle
  • Add finalized Concurrent::Promises::Channel
  • Add new Concurrent::ErlangActor

1.1.4 (from changelog)

  • (#780) Remove java_alias of 'submit' method of Runnable to let executor service work on java 11
  • (#776) Fix NameError on defining a struct with a name which is already taken in an ancestor

1.1.0

concurrent-ruby:

  • requires at least Ruby 2.0
  • Promises
    are moved from concurrent-ruby-edge to concurrent-ruby
  • Add support for TruffleRuby
    • (#734) Fix Array/Hash/Set construction broken on TruffleRuby
    • AtomicReference fixed
  • fixed documentation and README links
  • fix Set for TruffleRuby and Rubinius
  • CI stabilization
  • remove sharp dependency edge -> core
  • remove warnings
  • documentation updates
  • Exchanger is no longer documented as edge since it was already available in
    concurrent-ruby
  • (#644) Fix Map#each and #each_pair not returning enumerator outside of MRI
  • (#659) Edge promises fail during error handling
  • (#741) Raise on recursive Delay#value call
  • (#727) #717 fix global IO executor on JRuby
  • (#740) Drop support for CRuby 1.9, JRuby 1.7, Rubinius.
  • (#737) Move AtomicMarkableReference out of Edge
  • (#708) Prefer platform specific memory barriers
  • (#735) Fix wrong expected exception in channel spec assertion
  • (#729) Allow executor option in Promise#then
  • (#725) fix timeout check to use timeout_interval
  • (#719) update engine detection
  • (#660) Add specs for Promise#zip/Promise.zip ordering
  • (#654) Promise.zip execution changes
  • (#666) Add thread safe set implementation
  • (#651) #699 #to_s, #inspect should not output negative object IDs.
  • (#685) Avoid RSpec warnings about raise_error
  • (#680) Avoid RSpec monkey patching, persist spec results locally, use RSpec
    v3.7.0
  • (#665) Initialize the monitor for new subarrays on Rubinius
  • (#661) Fix error handling in edge promises

concurrent-ruby-edge:

  • (#659) Edge promises fail during error handling
  • Edge files clearly separated in lib-edge
  • added ReInclude
  • add Promises.zip_futures_over_on

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ erubi (indirect, 1.7.1 → 1.8.0) · Repo · Changelog

Release Notes

1.8.0 (from changelog)

* Support :yield_returns_buffer option in capture_end for always returning the (potentially modified) buffer in <%|= tags (evanleck) (#15)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ i18n (indirect, 1.1.0 → 1.6.0) · Repo · Changelog

Release Notes

1.2.0

  • Provide a uniform API between Simple, KeyValue and Chain backends - #109 (one of our oldest PRs, and I am pleased that @kidpollo has persisted for all this time!)
  • Support translation hashes with numeric keys in Simple backend - #422
  • Add CacheFile backend module - #423
  • Add JSON backend module - #429
  • Updated README to point to the wiki - #438
  • Added plural rules for oc locale - #440
  • Removed tests from the bundled gem (leading to smaller download sizes) - #441
  • Added a post-install message about fallback breaking change introduced in v1.1.0 - #442

1.1.1

  • Expose translations with an option to perform initialization (if it hasn't been done already) (#353 / #254)
  • Removed un-used Kernel core extension #436
  • Added project metadata for RubyGems #434

Does any of this look wrong? Please let us know.

↗️ jaro_winkler (indirect, 1.5.1 → 1.5.2) · Repo · Changelog

Release Notes

1.5.2 (from changelog)

Bug Fixes

  • raises TypeError when input type is not string (c146491), closes #24
  • memory: make sure codepoints will be allocated/freed after rb_raise to prevent memory leak (fe9d784), closes #20

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 8 commits:

↗️ loofah (indirect, 2.2.2 → 2.2.3) · Repo · Changelog

Release Notes

2.2.3

Notably, this release addresses CVE-2018-16468.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 5 commits:

↗️ method_source (indirect, 0.9.0 → 0.9.2) · Repo

Commits

See the full diff on Github. The new version differs by 12 commits:

↗️ mini_portile2 (indirect, 2.3.0 → 2.4.0) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 10 commits:

↗️ nokogiri (indirect, 1.8.5 → 1.10.2) · Repo · Changelog

Release Notes

1.10.2

1.10.2 / 2019-03-24

Security

  • [MRI] Remove support from vendored libxml2 for future script macros. [#1871]
  • [MRI] Remove support from vendored libxml2 for server-side includes within attributes. [#1877]

Bug fixes

  • [JRuby] Fix node ownership in duplicated documents. [#1060]
  • [JRuby] Rethrow exceptions caught by Java SAX handler. [#1847, #1872] (Thanks, @adjam!)

1.10.1

1.10.1 / 2019-01-13

Features

  • [MRI] During installation, handle Xcode 10's new library pathOS. [#1801, #1851] (Thanks, @mlj and @deepj!)
  • Avoid unnecessary creation of Procs in many methods. [#1776] (Thanks, @chopraanmol1!)

Bug fixes

  • CSS selector :has() now correctly matches against any descendant. Previously this selector matched against only direct children). [#350] (Thanks, @Phrogz!)
  • NodeSet#attr now returns nil if it's empty. Previously this raised a NoMethodError.
  • [MRI] XPath errors are no longer suppressed during XSLT::Stylesheet#transform. Previously these errors were suppressed which led to silent failures and a subsequent segfault. [#1802]

1.10.0

1.10.0 / 2019-01-04

Features

  • [MRI] Cross-built Windows gems now support Ruby 2.6 [#1842, #1850]

Backwards incompatibilities

This release ends support for:

Dependencies

  • [MRI] libxml2 is updated from 2.9.8 to 2.9.9
  • [MRI] libxslt is updated from 1.1.32 to 1.1.33

1.9.1

1.9.1 / 2018-12-17

Bug fixes

  • Fix a bug introduced in v1.9.0 where XML::DocumentFragment#dup no longer returned an instance of the callee's class, instead always returning an XML::DocumentFragment. This notably broke any subclass of XML::DocumentFragment including HTML::DocumentFragment as well as the Loofah gem's Loofah::HTML::DocumentFragment. [#1846]

1.9.0

1.9.0 / 2018-12-17

Security Notes

  • [JRuby] Upgrade Xerces dependency from 2.11.0 to 2.12.0 to address upstream vulnerability CVE-2012-0881 [#1831] (Thanks @grajagandev for reporting.)

Notable non-functional changes

  • Decrease installation size by removing many unneeded files (e.g., /test) from the packaged gems. [#1719] (Thanks, @stevecrozz!)

Features

  • XML::Attr#value= allows HTML node attribute values to be set to either a blank string or an empty boolean attribute. [#1800]
  • Introduce XML::Node#wrap which does what XML::NodeSet#wrap has always done, but for a single node. [#1531] (Thanks, @ethirajsrinivasan!)
  • [MRI] Improve installation experience on macOS High Sierra (Darwin). [#1812, #1813] (Thanks, @gpakosz and @nurse!)
  • [MRI] Node#dup supports copying a node directly to a new document. See the method documentation for details.
  • [MRI] DocumentFragment#dup is now more memory-efficient, avoiding making unnecessary copies. [#1063]
  • [JRuby] NodeSet has been rewritten to improve performance! [#1795]

Bug fixes

  • NodeSet#each now returns self instead of zero. [#1822] (Thanks, @olehif!)
  • [MRI] Address a memory leak when using XML::Builder to create nodes with namespaces. [#1810]
  • [MRI] Address a memory leak when unparenting a DTD. [#1784] (Thanks, @stevecheckoway!)
  • [MRI] Use RbConfig::CONFIG instead of ::MAKEFILE_CONFIG to fix installations that use Makefile macros. [#1820] (Thanks, @nobu!)
  • [JRuby] Decrease large memory usage when making nested XPath queries. [#1749]
  • [JRuby] Fix failing tests on JRuby 9.2.x
  • [JRuby] Fix default namespaces in nodes reparented into a different document [#1774]
  • [JRuby] Fix support for Java 9. [#1759] (Thanks, @Taywee!)

Dependencies

  • [MRI] Upgrade mini_portile2 dependency from ~> 2.3.0 to ~> 2.4.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ parallel (indirect, 1.12.1 → 1.17.0) · Repo

Commits

See the full diff on Github. The new version differs by 70 commits:

↗️ parser (indirect, 2.5.1.2 → 2.6.2.1) · Repo · Changelog

Release Notes

2.6.2.1 (from changelog)

API modifications:

  • Bump 2.4 branch to 2.4.6. (#569) (Ilya Bylich)
  • Lexer should know about current parsing context. (#566) (Ilya Bylich)

2.6.2.0 (from changelog)

API modifications:

  • Bump ruby versions to 2.5.5 and 2.6.2. (#563) (Ilya Bylich)
  • Bump Ruby version to 2.6.1. (#554) (Ilya Bylich)

Features implemented:

  • ruby27.y: dsym should be treated as string. (#560) (Ilya Bylich)
  • ruby27.y: Refactored symbol rules. (#557) (Ilya Bylich)
  • ruby27.y: Added method reference operator. (#556) (Ilya Bylich)
  • ruby27.y: branch parser. (#546) (Ilya Bylich)

2.6.0.0 (from changelog)

API modifications:

  • 2.6.0 was released, unmark is as -dev. (#538) (Ilya Bylich)

Bugs fixed:

  • Fix parsing of "\\n" escaped sequences in various literals. (#539) (Ilya Bylich)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 28 commits:

↗️ rack (indirect, 2.0.5 → 2.0.7) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ rake (indirect, 12.3.1 → 12.3.2) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 41 commits:

↗️ rubocop (indirect, 0.59.2 → 0.67.2) · Repo · Changelog

Release Notes

0.67.2

Bug fixes

  • #6882: Fix an error for Rails/RedundantAllowNil when not using both allow_nil and allow_blank. (@koic)

0.67.1

Changes

  • #6881: Set default PreferredName to e for Naming/RescuedExceptionsVariableName. (@koic)

0.67.0

New features

  • #5184: Add new multiline element line break cops. (@maxh)
  • Add new cop Rails/ActiveRecordOverride that checks for overriding Active Record methods instead of using callbacks. (@elebow)
  • Add new cop Rails/RedundantAllowNil that checks for cases when allow_blank makes allow_nil unnecessary in model validations. (@elebow)
  • Add new Naming/RescuedExceptionsVariableName cop. (@AdrienSldy)

Bug fixes

  • #6761: Make Naming/UncommunicativeMethodParamName account for param names prefixed with underscores. (@thomthom)
  • #6855: Fix an exception in Rails/RedundantReceiverInWithOptions when the body is empty. (@ericsullivan)
  • #6856: Fix auto-correction for Style/BlockComments when the file is missing a trailing blank line. (@ericsullivan)
  • #6858: Fix an incorrect auto-correct for Lint/ToJSON when there are no to_json arguments. (@koic)
  • #6865: Fix deactivated StyleGuideBaseURL for Layout/ClassStructure. (@aeroastro)
  • #6868: Fix Rails/LinkToBlank auto-correct bug when using symbol for target. (@r7kamura)
  • #6869: Fix false positive for Rails/LinkToBlank when rel is a symbol value. (@r7kamura)
  • Add IncludedMacros param to default rubocop config for Style/MethodCallWithArgsParentheses. (@maxh)
  • #6785: Do not register an offense for Rails/Present or Rails/Blank in an unless else context when Style/UnlessElse is enabled. (@rrosenblum)

Changes

  • #6854: Mark Rails/LexicallyScopedActionFilter as unsafe and document risks. (@urbanautomaton)
  • #5977: Warn for Performance Cops. (@koic)
  • #6637: Move LstripRstrip from Performance to Style department and rename it to Strip. (@anuja-joshi)
  • #6875: Mention block form of Struct.new in Style/StructInheritance. (@XrXr)
  • #6871: Move Performance/RedundantSortBy, Performance/UnneededSort and Performance/Sample to the Style department. (@bbatsov)

0.66.0

New features

  • #6393: Add AllowBracesOnProceduralOneLiners option to fine-tune Style/BlockDelimiter's semantic mode. (@davearonson)
  • #6383: Add AllowBeforeTrailingComments option on Layout/ExtraSpacing cop. (@davearonson)
  • New cop Lint/SafeNavigationWithEmpty checks for foo&.empty? in conditionals. (@rspeicher)
  • Add new Style/ConstantVisibility cop for enforcing visibility declarations of class and module constants. (@drenmi)
  • #6378: Add Lint/ToJSON cop to enforce an argument when overriding #to_json. (@allcentury)
  • #6346: Add auto-correction to Rails/TimeZone. (@dcluna)
  • #6840: Node patterns now allow unlimited elements after .... (@marcandre)

Bug fixes

  • #4321: Fix false offense for Style/RedundantSelf when the method is also defined on Kernel. (@mikegee)
  • #6821: Fix false negative for Rails/LinkToBlank when _blank is a symbol. (@Intrepidd)
  • #6699: Fix infinite loop for Layout/IndentationWidth and Layout/IndentationConsistency when bad modifier indentation before good method definition. (@koic)
  • #6777: Fix a false positive for Style/TrivialAccessors when using trivial reader/writer methods at the top level. (@koic)
  • #6799: Fix errors for Style/ConditionalAssignment, Style/IdenticalConditionalBranches, Lint/ElseLayout, and Layout/IndentationWidth with empty braces. (@pocke)
  • #6802: Fix auto-correction for Style/SymbolArray with array contains interpolation when EnforcedStyle is brackets. (@pocke)
  • #6797: Fix false negative for Layout/SpaceAroundBlockParameters on block parameter with parens. (@pocke)
  • #6798: Fix infinite loop for Layout/SpaceAroundBlockParameters with EnforcedStyleInsidePipes: :space. (@pocke)
  • #6803: Fix error for Style/NumericLiterals on a literal that contains spaces. (@pocke)
  • #6801: Fix auto-correction for Style/Lambda with no-space argument. (@pocke)
  • #6804: Fix auto-correction of Style/NumericLiterals on numeric literal with exponent. (@pocke)
  • #6800: Fix an incorrect auto-correct for Rails/Validation when method arguments are enclosed in parentheses. (@koic)
  • #6808: Prevent false positive in Naming/ConstantName when assigning a frozen range. (@drenmi)
  • Fix the calculation of Metrics/AbcSize. Comparison methods and else branches add to the comparison count. (@rrosenblum)
  • #6791: Allow Rails/ReflectionClassName to use symbol argument for class_name. (@unasuke)
  • #5465: Fix Layout/ClassStructure to allow grouping macros by their visibility. (@gprado)
  • #6461: Restrict Ctrl-C handling to RuboCop's loop and simplify it to a single phase. (@deivid-rodriguez)

Changes

  • Add $stdout/$stderr and STDOUT/STDERR method calls to Rails/Output. (@elebow)
  • #6688: Add iterator? to deprecated methods and prefer block_given? instead. (@tejasbubane)
  • #6806: Remove powerpack dependency. (@dduugg)
  • #6810: Exclude gemspec file by default for Metrics/BlockLength cop. (@koic)
  • #6813: Allow unicode/display_width dependency version 1.5.0. (@tagliala)
  • Make Style/RedundantFreeze aware of methods that will produce frozen objects. (@rrosenblum)
  • #6675: Avoid printing deprecation warnings about constants. (@elmasantos)
  • #6746: Avoid offense on $stderr.puts with no arguments. (@luciamo)
  • Replace md5 with sha1 for FIPS compliance. (@dirtyharrycallahan)

0.65.0

New features

  • #6126: Add an experimental strict mode to Style/MutableConstant that will freeze all constants, rather than just literals. (@rrosenblum)

Bug fixes

  • #6765: Fix false positives in keyword arguments for Style/MethodCallWithArgsParentheses omit_parentheses. (@gsamokovarov)
  • #6763: Fix false positives in range literals for Style/MethodCallWithArgsParentheses omit_parentheses. (@gsamokovarov)
  • #6748: Fix Style/RaiseArgs auto-correction breaking in contexts that require parentheses. (@drenmi)
  • #6751: Prevent Style/OneLineConditional from breaking on retry and break keywords. (@drenmi)
  • #6755: Prevent Style/TrailingCommaInArgument from breaking when a safe method call is chained on the offending method. (@drenmi, @hoshinotsuyoshi)

Changes

  • #6766: Drop support for Ruby 2.2.0 and 2.2.1. (@pocke)
  • #6733: Warn duplicated keys in .rubocop.yml. (@pocke)
  • #6613: Mark Style/ModuleFunction as SafeAutocorrect: false and disable autocorrect by default. (@dduugg)

0.64.0

New features

  • #6704: Add new Rails/ReflectionClassName cop. (@Bhacaz)
  • #6643: Support AllowParenthesesInCamelCaseMethod option on Style/MethodCallWithArgsParentheses omit_parentheses. (@dazuma)

Bug fixes

  • #6254: Fix Layout/RescueEnsureAlignment for non-local assignments. (@marcotc)
  • #6648: Fix auto-correction of Style/EmptyLiteral when Hash.new is passed as the first argument to super. (@rrosenblum)
  • #6351: Fix a false positive for Layout/ClosingParenthesisIndentation when first argument is multiline. (@antonzaytsev)
  • #6689: Support more complex argument patterns on Rails/Validation auto-correction. (@r7kamura)
  • #6668: Fix autocorrection for Style/UnneededCondition when conditional has the unless form. (@mvz)
  • #6382: Fix Layout/IndentationWidth with Layout/EndAlignment set to start_of_line. (@dischorde, @siegfault, @mhelmetag)
  • #6710: Fix Naming/MemoizedInstanceVariableName on method starts with underscore. (@pocke)
  • #6722: Fix an error for Style/OneLineConditional when then branch has no body. (@koic)
  • #6702: Fix TrailingComma regression where heredoc with commas caused false positives. (@abrom)
  • #6737: Fix an incorrect auto-correct for Rails/LinkToBlank when link_to method arguments are enclosed in parentheses. (@koic)
  • #6720: Fix detection of :native line ending for Layout/EndOfLine on JRuby. (@enkessler)

Changes

  • #6597: Style/LineEndConcatenation is now known to be unsafe for auto-correct. (@jaredbeck)
  • #6725: Mark Style/SymbolProc as unsafe for auto-correct. (@drenmi)
  • #6708: Make Style/CommentedKeyword allow the :yields: RDoc comment. (@bquorning)
  • #6749: Make some cops aware of safe navigation operator. (@hoshinotsuyoshi)

0.63.1

Bug fixes

  • #6678: Fix Lint/DisjunctiveAssignmentInConstructor when it finds an empty constructor. (@rmm5t)
  • Do not attempt to auto-correct mass assignment or optional assignment in Rails/RelativeDateConstant. (@rrosenblum)
  • Fix auto-correction of Style/WordArray and Style/SymbolArray when all elements are on separate lines and there is a trailing comment after the closing bracket. (@rrosenblum)
  • Fix an exception that occurs when auto-correcting Layout/ClosingParenthesesIndentation when there are no arguments. (@rrosenblum)

0.63.0

New features

Bug fixes

  • #6627: Fix handling of hashes in trailing comma. (@abrom)
  • #6623: Fix heredoc detection in trailing comma. (@palkan)
  • #6100: Fix a false positive in Naming/ConstantName cop when rhs is a conditional expression. (@tatsuyafw)
  • #6526: Fix a wrong line highlight in Lint/ShadowedException cop. (@tatsuyafw)
  • #6617: Prevent traversal error on infinite ranges. (@drenmi)
  • #6625: Revert the "auto-exclusion of files ignored by git" feature. (@bbatsov)
  • #4460: Fix the determination of unsafe auto-correct in Style/TernaryParentheses. (@jonas054)
  • #6651: Fix auto-correct issue in Style/RegexpLiteral cop when there is string interpolation. (@roooodcastro)
  • #6670: Fix a false positive for Style/SafeNavigation when a method call safeguarded with a negative check for the object. (@koic)
  • #6633: Fix Lint/SafeNavigation complaining about use of to_d. (@tejasbubane)
  • #6575: Fix Naming/PredicateName suggesting invalid rename. (@tejasbubane)
  • #6673: Fix Style/DocumentationMethod cop to recognize documentation comments for def inline with module_function. (@tejasbubane)

Changes

  • #6607: Improve CLI usage message for --stdin option. (@jaredbeck)
  • #6641: Specify Performance/RangeInclude as unsafe because Range#include? and Range#cover? are not equivalent. (@koic)
  • #6636: Move FlipFlop cop from Style to Lint department because flip-flop is deprecated since Ruby 2.6.0. (@koic)
  • #6661: Abandon making frozen string literals default for Ruby 3.0. (@koic)

0.62.0

New features

  • #6580: New cop Rails/LinkToBlank checks for link_to calls with target: '_blank' and no rel: 'noopener'. (@Intrepidd)

Bug fixes

  • #6560: Consider file count, not offense count, for --exclude-limit in combination with --auto-gen-only-exclude. (@jonas054)
  • #4229: Fix unexpected Style/HashSyntax consistency offence. (@timon)
  • #6500: Add offense to use in_time_zone instead of deprecated to_time_in_current_zone. (@nadiyaka)
  • #6577: Prevent Rails/Blank cop from adding offense when define the blank method. (@jonatas)
  • #6554: Prevent Layout/RescueEnsureAlignment cop from breaking on block assignment when assignment is on a separate line. (@timmcanty)
  • #6343: Optimise --auto-gen-config when Metrics/LineLength cop is disabled. (@tom-lord)
  • #6389: Fix false negative for Style/TrailingCommaInHashLiteral/Style/TrailingCommaInArrayLiteral when there is a comment in the last line. (@bayandin)
  • #6566: Fix false positive for Layout/EmptyLinesAroundAccessModifier when at the end of specifying a superclass is missing blank line. (@koic)
  • #6571: Fix a false positive for Layout/TrailingCommaInArguments when a line break before a method call and EnforcedStyleForMultiline is set to consistent_comma. (@koic)
  • #6573: Make Layout/AccessModifierIndentation work for dynamic module or class definitions. (@deivid-rodriguez)
  • #6562: Fix a false positive for Style/MethodCallWithArgsParentheses omit_parentheses enforced style after safe navigation call. (@gsamokovarov)
  • #6570: Fix a false positive for Style/MethodCallWithArgsParentheses omit_parentheses enforced style while splatting the result of a method invocation. (@gsamokovarov)
  • #6598: Fix a false positive for Style/MethodCallWithArgsParentheses omit_parentheses enforced style for calls with regexp slash literals argument. (@gsamokovarov)
  • #6598: Fix a false positive for Style/MethodCallWithArgsParentheses omit_parentheses enforced style for default argument value calls. (@gsamokovarov)
  • #6598: Fix a false positive for Style/MethodCallWithArgsParentheses omit_parentheses enforced style for argument calls with braced blocks. (@gsamokovarov)
  • #6594: Fix a false positive for Rails/OutputSafety when the receiver is a non-interpolated string literal. (@amatsuda)
  • #6574: Fix Style/AccessModifierIndentation not handling arbitrary blocks. (@deivid-rodriguez)
  • #6370: Fix the enforcing style from extend self into module_function when there are private methods. (@Ruffeng)

Changes

  • #595: Exclude files ignored by git. (@AlexWayfer)
  • #6429: Fix autocorrect in Rails/Validation to not wrap hash options with braces in an extra set of braces. (@bquorning)
  • #6533: Improved warning message for unrecognized cop parameters to include Supported parameters. (@MagedMilad)

0.61.0

New features

  • #6457: Support inner slash correction on Style/RegexpLiteral. (@r7kamura)
  • #6475: Support brace correction on Style/Lambda. (@r7kamura)
  • #6469: Enforce no parentheses style in the Style/MethodCallWithArgsParentheses cop. (@gsamokovarov)
  • New cop Performance/OpenStruct checks for OpenStruct.new calls. (@xlts)

Bug fixes

  • #6433: Fix Ruby 2.5 Layout/RescueEnsureAlignment error on assigned blocks. (@gmcgibbon)
  • #6405: Fix a false positive for Lint/UselessAssignment when using a variable in a module name. (@itsWill)
  • #5934: Handle the combination of --auto-gen-config and --config FILE correctly. (@jonas054)
  • #5970: Make running --auto-gen-config in a subdirectory work. (@jonas054)
  • #6412: Fix an unknown keywords error when using Psych.safe_load with Ruby 2.6.0-preview2. (@koic)
  • #6436: Fix exit status code to be 130 when rubocop is interrupted. (@deivid-rodriguez)
  • #6443: Fix an incorrect autocorrect for Style/BracesAroundHashParameters when the opening brace is before the first hash element at same line. (@koic)
  • #6445: Treat yield and super like regular method calls in Style/AlignHash. (@mvz)
  • #3301: Don't suggest or make semantic changes to the code in Style/InfiniteLoop. (@jonas054)
  • #3586: Handle single argument spanning multiple lines in Style/TrailingCommaInArguments. (@jonas054)
  • #6478: Fix EmacsComment#encoding to match the coding variable. (@akihiro17)
  • Don't show "unrecognized parameter" warning for inherit_mode parameter to individual cop configurations. (@maxh)
  • #6449: Fix a false negative for Layout/IndentationWidth when setting EnforcedStyle: rails of Layout/IndentationConsistency and method definition indented to access modifier in a singleton class. (@koic)
  • #6482: Fix a false positive for Lint/FormatParameterMismatch when using (digit)$ flag. (@koic)
  • #6489: Fix an error for Style/UnneededCondition when if condition and then branch are the same and it has no else branch. (@koic)
  • Fix NoMethodError for Style/FrozenStringLiteral when a file contains only a shebang. (@takaram)
  • #6511: Fix an incorrect auto-correct for Style/EmptyCaseCondition when used as an argument of a method. (@koic)
  • #6509: Fix an incorrect auto-correct for Style/RaiseArgs when an exception object is assigned to a local variable. (@koic)
  • #6534: Fix a false positive for Lint/UselessAccessModifier when using private_class_method. (@dduugg)
  • #6545: Fix a regression where Performance/RedundantMerge raises an error on a sole double splat argument passed to merge!. (@mmedal)
  • #6360: Detect bad indentation in if nodes even if the first branch is empty. (@bquorning)

Changes

  • #6492: Auto-correct chunks of comment lines in Layout/CommentIndentation to avoid unnecessary iterations for rubocop -a. (@jonas054)

Not all release notes shown. View the full release notes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ thor (indirect, 0.20.0 → 0.20.3) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 73 commits:

↗️ unicode-display_width (indirect, 1.4.0 → 1.5.0) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

🆕 psych (added, 3.1.0)

🗑️ powerpack (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu
Copy link
Contributor Author

depfu bot commented Jun 16, 2019

Closed in favor of #37.

@depfu depfu bot closed this Jun 16, 2019
@depfu depfu bot deleted the depfu/update/rubocop-rails_config-0.5.1 branch June 16, 2019 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants