rubocop 0.37.0 → 0.37.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubocop might be problematic. Click here for more details.

Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/config/default.yml +2 -3
  4. data/config/enabled.yml +2 -2
  5. data/lib/rubocop.rb +2 -1
  6. data/lib/rubocop/ast_node.rb +34 -17
  7. data/lib/rubocop/ast_node/traversal.rb +2 -1
  8. data/lib/rubocop/config.rb +1 -1
  9. data/lib/rubocop/cop/commissioner.rb +5 -5
  10. data/lib/rubocop/cop/corrector.rb +17 -3
  11. data/lib/rubocop/cop/lint/debugger.rb +2 -2
  12. data/lib/rubocop/cop/lint/nested_method_definition.rb +5 -1
  13. data/lib/rubocop/cop/lint/unneeded_disable.rb +1 -1
  14. data/lib/rubocop/cop/metrics/parameter_lists.rb +1 -1
  15. data/lib/rubocop/cop/performance/redundant_match.rb +2 -1
  16. data/lib/rubocop/cop/performance/redundant_merge.rb +1 -2
  17. data/lib/rubocop/cop/rails/find_each.rb +1 -1
  18. data/lib/rubocop/cop/style/block_end_newline.rb +1 -1
  19. data/lib/rubocop/cop/style/conditional_assignment.rb +25 -7
  20. data/lib/rubocop/cop/style/empty_line_between_defs.rb +13 -7
  21. data/lib/rubocop/cop/style/frozen_string_literal_comment.rb +1 -12
  22. data/lib/rubocop/cop/style/guard_clause.rb +3 -1
  23. data/lib/rubocop/cop/style/initial_indentation.rb +1 -1
  24. data/lib/rubocop/cop/style/line_end_concatenation.rb +1 -1
  25. data/lib/rubocop/cop/style/multiline_block_layout.rb +14 -12
  26. data/lib/rubocop/cop/style/not.rb +1 -1
  27. data/lib/rubocop/cop/style/semicolon.rb +14 -7
  28. data/lib/rubocop/cop/style/space_around_keyword.rb +13 -4
  29. data/lib/rubocop/cop/style/space_around_operators.rb +2 -2
  30. data/lib/rubocop/cop/style/trailing_underscore_variable.rb +32 -27
  31. data/lib/rubocop/cop/style/word_array.rb +1 -1
  32. data/lib/rubocop/cop/team.rb +20 -9
  33. data/lib/rubocop/cop/util.rb +4 -5
  34. data/lib/rubocop/formatter/formatter_set.rb +3 -3
  35. data/lib/rubocop/version.rb +1 -1
  36. metadata +5 -43
  37. data/.yardopts +0 -2
  38. data/CHANGELOG.md +0 -1941
  39. data/CONTRIBUTING.md +0 -68
  40. data/assets/logo.png +0 -0
  41. data/assets/output.html.erb +0 -247
  42. data/logo/rubo-logo-horizontal.png +0 -0
  43. data/logo/rubo-logo-square.png +0 -0
  44. data/logo/rubo-logo-symbol.png +0 -0
  45. data/relnotes/v0.19.0.md +0 -94
  46. data/relnotes/v0.19.1.md +0 -16
  47. data/relnotes/v0.20.0.md +0 -69
  48. data/relnotes/v0.20.1.md +0 -24
  49. data/relnotes/v0.21.0.md +0 -56
  50. data/relnotes/v0.22.0.md +0 -77
  51. data/relnotes/v0.23.0.md +0 -79
  52. data/relnotes/v0.24.0.md +0 -77
  53. data/relnotes/v0.24.1.md +0 -15
  54. data/relnotes/v0.25.0.md +0 -91
  55. data/relnotes/v0.26.0.md +0 -89
  56. data/relnotes/v0.26.1.md +0 -12
  57. data/relnotes/v0.27.0.md +0 -77
  58. data/relnotes/v0.27.1.md +0 -66
  59. data/relnotes/v0.28.0.md +0 -90
  60. data/relnotes/v0.29.0.md +0 -116
  61. data/relnotes/v0.29.1.md +0 -12
  62. data/relnotes/v0.30.0.md +0 -145
  63. data/relnotes/v0.30.1.md +0 -103
  64. data/relnotes/v0.31.0.md +0 -120
  65. data/relnotes/v0.32.0.md +0 -139
  66. data/relnotes/v0.32.1.md +0 -122
  67. data/relnotes/v0.33.0.md +0 -157
  68. data/relnotes/v0.34.0.md +0 -182
  69. data/relnotes/v0.34.1.md +0 -129
  70. data/relnotes/v0.34.2.md +0 -139
  71. data/relnotes/v0.35.0.md +0 -210
  72. data/relnotes/v0.36.0.md +0 -307
  73. data/relnotes/v0.37.0.md +0 -200
  74. data/rubocop.gemspec +0 -49
@@ -1,157 +0,0 @@
1
- ### New features
2
-
3
- * [#2081](https://github.com/bbatsov/rubocop/pull/2081): New cop `Style/Send` checks for the use of `send` and instead encourages changing it to `BasicObject#__send__` or `Object#public_send` (disabled by default). ([@syndbg][])
4
- * [#2057](https://github.com/bbatsov/rubocop/pull/2057): New cop `Lint/FormatParameterMismatch` checks for a mismatch between the number of fields expected in format/sprintf/% and what was pased to it. ([@edmz][])
5
- * [#2010](https://github.com/bbatsov/rubocop/pull/2010): Add `space` style for SpaceInsideStringInterpolation. ([@gotrevor][])
6
- * [#2007](https://github.com/bbatsov/rubocop/pull/2007): Allow any modifier before `def`, not only visibility modifiers. ([@fphilipe][])
7
- * [#1980](https://github.com/bbatsov/rubocop/pull/1980): `--auto-gen-config` now outputs an excluded files list for failed cops (up to a maxiumum of 15 files). ([@bmorrall][])
8
- * [#2004](https://github.com/bbatsov/rubocop/pull/2004): Introduced `--exclude-limit COUNT` to configure how many files `--auto-gen-config` will exclude. ([@awwaiid][], [@jonas054][])
9
- * [#1918](https://github.com/bbatsov/rubocop/issues/1918): New configuration parameter `AllCops:DisabledByDefault` when set to `true` makes only cops found in user configuration enabled, which makes cop selection *opt-in*. ([@jonas054][])
10
- * New cop `Performance/StringReplacement` checks for usages of `gsub` that can be replaced with `tr` or `delete`. ([@rrosenblum][])
11
- * [#2001](https://github.com/bbatsov/rubocop/issues/2001): New cop `Style/InitialIndentation` checks for indentation of the first non-blank non-comment line in a file. ([@jonas054][])
12
- * [#2060](https://github.com/bbatsov/rubocop/issues/2060): New cop `Style/RescueEnsureAlignment` checks for bad alignment of `rescue` and `ensure` keywords. ([@lumeet][])
13
- * New cop `Style/OptionalArguments` checks for optional arguments that do not appear at the end of an argument list. ([@rrosenblum][])
14
- * New cop `Lint/CircularArgumentReference` checks for "circular argument references" in keyword arguments, which Ruby 2.2 warns against. ([@maxjacobson][], [@sliuu][])
15
- * [#2030](https://github.com/bbatsov/rubocop/issues/2030): New cop `Style/OptionHash` checks for option hashes and encourages changing them to keyword arguments (disabled by default). ([@maxjacobson][])
16
-
17
- ### Changes
18
-
19
- * [#2052](https://github.com/bbatsov/rubocop/pull/2052): `Style/RescueModifier` uses token stream to identify offenses. ([@urbanautomaton][])
20
- * Rename `Rails/Date` and `Rails/TimeZone` style names to "strict" and "flexible" and make "flexible" to be default. ([@palkan][])
21
- * [#2035](https://github.com/bbatsov/rubocop/issues/2035): `Style/ExtraSpacing` is now enabled by default and has a configuration parameter `AllowForAlignment` that is `true` by default, making it allow extra spacing if it's used for alignment purposes. ([@jonas054][])
22
-
23
- ### Bugs fixed
24
-
25
- * [#2014](https://github.com/bbatsov/rubocop/pull/2014): Fix `Style/TrivialAccessors` to support AllowPredicates: false. ([@gotrevor][])
26
- * [#1988](https://github.com/bbatsov/rubocop/issues/1988): Fix bug in `Style/ParallelAssignment` when assigning from `Module::CONSTANT`. ([@rrosenblum][])
27
- * [#1995](https://github.com/bbatsov/rubocop/pull/1995): Improve message for `Rails/TimeZone`. ([@palkan][])
28
- * [#1977](https://github.com/bbatsov/rubocop/issues/1977): Fix bugs in `Rails/Date` and `Rails/TimeZone` when using namespaced Time/Date. ([@palkan][])
29
- * [#1973](https://github.com/bbatsov/rubocop/issues/1973): Do not register an offense in `Performance/Detect` when `select` is called on `Enumerable::Lazy`. ([@palkan][])
30
- * [#2015](https://github.com/bbatsov/rubocop/issues/2015): Fix bug occurring for auto-correction of a misaligned `end` in a file with only one method. ([@jonas054][])
31
- * Allow string interpolation segments inside single quoted string literals when double quotes are preferred. ([@segiddins][])
32
- * [#2026](https://github.com/bbatsov/rubocop/issues/2026): Allow `Time.current` when style is "acceptable".([@palkan][])
33
- * [#2029](https://github.com/bbatsov/rubocop/issues/2029): Fix bug where `Style/RedundantReturn` auto-corrects returning implicit hashes to invalid syntax. ([@rrosenblum][])
34
- * [#2021](https://github.com/bbatsov/rubocop/issues/2021): Fix bug in `Style/BlockDelimiters` when a `semantic` expression is used in an array or a range. ([@lumeet][])
35
- * [#1992](https://github.com/bbatsov/rubocop/issues/1992): Allow parentheses in assignment to a variable with the same name as the method's in `Style/MethodCallParentheses`. ([@lumeet][])
36
- * [#2045](https://github.com/bbatsov/rubocop/issues/2045): Fix crash in `Style/IndentationWidth` when using `private_class_method def self.foo` syntax. ([@unmanbearpig][])
37
- * [#2006](https://github.com/bbatsov/rubocop/issues/2006): Fix crash in `Style/FirstParameterIndentation` in case of nested offenses. ([@unmanbearpig][])
38
- * [#2059](https://github.com/bbatsov/rubocop/issues/2059): Don't check for trivial accessors in modules. ([@bbatsov][])
39
- * Add proper punctuation to the end of offense messages, where it is missing. ([@lumeet][])
40
- * [#2071](https://github.com/bbatsov/rubocop/pull/2071): Keep line breaks in place on WordArray autocorrect.([@unmanbearpig][])
41
- * [#2075](https://github.com/bbatsov/rubocop/pull/2075): Properly correct `Style/PercentLiteralDelimiters` with escape characters in them. ([@rrosenblum][])
42
- * [#2023](https://github.com/bbatsov/rubocop/issues/2023): Avoid auto-correction corruption in `IndentationWidth`. ([@jonas054][])
43
- * [#2080](https://github.com/bbatsov/rubocop/issues/2080): Properly parse code in `Performance/Count` when calling `select..count` in a class that extends an enumerable. ([@rrosenblum][])
44
- * [#2093](https://github.com/bbatsov/rubocop/issues/2093): Fix bug in `Style/OneLineConditional` which should not raise an offense with an 'if/then/end' statement. ([@sliuu][])
45
-
46
- [@bbatsov]: https://github.com/bbatsov
47
- [@jonas054]: https://github.com/jonas054
48
- [@yujinakayama]: https://github.com/yujinakayama
49
- [@dblock]: https://github.com/dblock
50
- [@nevir]: https://github.com/nevir
51
- [@daviddavis]: https://github.com/daviddavis
52
- [@sds]: https://github.com/sds
53
- [@fancyremarker]: https://github.com/fancyremarker
54
- [@sinisterchipmunk]: https://github.com/sinisterchipmunk
55
- [@vonTronje]: https://github.com/vonTronje
56
- [@agrimm]: https://github.com/agrimm
57
- [@pmenglund]: https://github.com/pmenglund
58
- [@chulkilee]: https://github.com/chulkilee
59
- [@codez]: https://github.com/codez
60
- [@emou]: https://github.com/emou
61
- [@skanev]: http://github.com/skanev
62
- [@claco]: http://github.com/claco
63
- [@rifraf]: http://github.com/rifraf
64
- [@scottmatthewman]: https://github.com/scottmatthewman
65
- [@ma2gedev]: http://github.com/ma2gedev
66
- [@jeremyolliver]: https://github.com/jeremyolliver
67
- [@hannestyden]: https://github.com/hannestyden
68
- [@geniou]: https://github.com/geniou
69
- [@jkogara]: https://github.com/jkogara
70
- [@tmorris-fiksu]: https://github.com/tmorris-fiksu
71
- [@mockdeep]: https://github.com/mockdeep
72
- [@hiroponz]: https://github.com/hiroponz
73
- [@tamird]: https://github.com/tamird
74
- [@fshowalter]: https://github.com/fshowalter
75
- [@cschramm]: https://github.com/cschramm
76
- [@bquorning]: https://github.com/bquorning
77
- [@bcobb]: https://github.com/bcobb
78
- [@irrationalfab]: https://github.com/irrationalfab
79
- [@tommeier]: https://github.com/tommeier
80
- [@sfeldon]: https://github.com/sfeldon
81
- [@biinari]: https://github.com/biinari
82
- [@barunio]: https://github.com/barunio
83
- [@molawson]: https://github.com/molawson
84
- [@wndhydrnt]: https://github.com/wndhydrnt
85
- [@ggilder]: https://github.com/ggilder
86
- [@salbertson]: https://github.com/salbertson
87
- [@camilleldn]: https://github.com/camilleldn
88
- [@mcls]: https://github.com/mcls
89
- [@yous]: https://github.com/yous
90
- [@vrthra]: https://github.com/vrthra
91
- [@SkuliOskarsson]: https://github.com/SkuliOskarsson
92
- [@jspanjers]: https://github.com/jspanjers
93
- [@sch1zo]: https://github.com/sch1zo
94
- [@smangelsdorf]: https://github.com/smangelsdorf
95
- [@mvz]: https://github.com/mvz
96
- [@jfelchner]: https://github.com/jfelchner
97
- [@janraasch]: https://github.com/janraasch
98
- [@jcarbo]: https://github.com/jcarbo
99
- [@oneamtu]: https://github.com/oneamtu
100
- [@toy]: https://github.com/toy
101
- [@Koronen]: https://github.com/Koronen
102
- [@blainesch]: https://github.com/blainesch
103
- [@marxarelli]: https://github.com/marxarelli
104
- [@katieschilling]: https://github.com/katieschilling
105
- [@kakutani]: https://github.com/kakutani
106
- [@rrosenblum]: https://github.com/rrosenblum
107
- [@mattjmcnaughton]: https://github.com/mattjmcnaughton
108
- [@huerlisi]: https://github.com/huerlisi
109
- [@volkert]: https://github.com/volkert
110
- [@lumeet]: https://github.com/lumeet
111
- [@mmozuras]: https://github.com/mmozuras
112
- [@d4rk5eed]: https://github.com/d4rk5eed
113
- [@cshaffer]: https://github.com/cshaffer
114
- [@eitoball]: https://github.com/eitoball
115
- [@iainbeeston]: https://github.com/iainbeeston
116
- [@pimterry]: https://github.com/pimterry
117
- [@palkan]: https://github.com/palkan
118
- [@jdoconnor]: https://github.com/jdoconnor
119
- [@meganemura]: https://github.com/meganemura
120
- [@zvkemp]: https://github.com/zvkemp
121
- [@vassilevsky]: https://github.com/vassilevsky
122
- [@gerry3]: https://github.com/gerry3
123
- [@ypresto]: https://github.com/ypresto
124
- [@clowder]: https://github.com/clowder
125
- [@mudge]: https://github.com/mudge
126
- [@mzp]: https://github.com/mzp
127
- [@bankair]: https://github.com/bankair
128
- [@crimsonknave]: https://github.com/crimsonknave
129
- [@renuo]: https://github.com/renuo
130
- [@sdeframond]: https://github.com/sdeframond
131
- [@til]: https://github.com/til
132
- [@carhartl]: https://github.com/carhartl
133
- [@dylandavidson]: https://github.com/dylandavidson
134
- [@tmr08c]: https://github.com/tmr08c
135
- [@hbd225]: https://github.com/hbd225
136
- [@l8nite]: https://github.com/l8nite
137
- [@sumeet]: https://github.com/sumeet
138
- [@ojab]: https://github.com/ojab
139
- [@chastell]: https://github.com/chastell
140
- [@glasnt]: https://github.com/glasnt
141
- [@crazydog115]: https://github.com/crazydog115
142
- [@RGBD]: https://github.com/RGBD
143
- [@panthomakos]: https://github.com/panthomakos
144
- [@matugm]: https://github.com/matugm
145
- [@m1foley]: https://github.com/m1foley
146
- [@tejasbubane]: https://github.com/tejasbubane
147
- [@bmorrall]: https://github.com/bmorrall
148
- [@fphilipe]: https://github.com/fphilipe
149
- [@gotrevor]: https://github.com/gotrevor
150
- [@awwaiid]: https://github.com/awwaiid
151
- [@segiddins]: https://github.com/segiddins
152
- [@urbanautomaton]: https://github.com/urbanautomaton.com
153
- [@unmanbearpig]: https://github.com/unmanbearpig
154
- [@maxjacobson]: https://github.com/maxjacobson
155
- [@sliuu]: https://github.com/sliuu
156
- [@edmz]: https://github.com/edmz
157
- [@syndbg]: https://github.com/syndbg
@@ -1,182 +0,0 @@
1
- Apart from the usual myriad of bugfixes, improvements and new cops,
2
- this version introduces a results caching functionality. This
3
- functionality will speed up tremendously consecutive RuboCop runs on
4
- the same codebase.
5
-
6
- Another news to share with you - the project now has a crowdfunding
7
- campaign [here](https://salt.bountysource.com/teams/rubocop). If you like RuboCop
8
- you might consider supporting its development.
9
-
10
- Enjoy!
11
-
12
- ### New features
13
-
14
- * [#2143](https://github.com/bbatsov/rubocop/pull/2143): New cop `Performance/CaseWhenSplat` will identify and rearange `case` `when` statements that contain a `when` condition with a splat. ([@rrosenblum][])
15
- * New cop `Lint/DuplicatedKey` checks for duplicated keys in hashes, which Ruby 2.2 warns against. ([@sliuu][])
16
- * [#2106](https://github.com/bbatsov/rubocop/issues/2106): Add `SuspiciousParamNames` option to `Style/OptionHash`. ([@wli][])
17
- * [#2193](https://github.com/bbatsov/rubocop/pull/2193): `Style/Next` supports more `Enumerable` methods. ([@rrosenblum][])
18
- * [#2179](https://github.com/bbatsov/rubocop/issues/2179): Add `--list-target-files` option to CLI, which prints the files which will be inspected. ([@maxjacobson][])
19
- * New cop `Style/MutableConstant` checks for assignment of mutable objects to constants. ([@bbatsov][])
20
- * New cop `Style/RedudantFreeze` checks for usages of `Object#freeze` on immutable objects. ([@bbatsov][])
21
- * [#1924](https://github.com/bbatsov/rubocop/issues/1924): New option `--cache` and configuration parameter `AllCops: UseCache` turn result caching on (default) or off. ([@jonas054][])
22
- * [#2204](https://github.com/bbatsov/rubocop/pull/2204): New cop `Style/StringMethods` will check for preferred method `to_sym` over `intern`. ([@imtayadeway][])
23
-
24
- ### Changes
25
-
26
- * [#1351](https://github.com/bbatsov/rubocop/issues/1351): Allow class emitter methods in `Style/MethodName`. ([@jonas054][])
27
- * [#2126](https://github.com/bbatsov/rubocop/pull/2126): `Style/RescueModifier` can now auto-correct. ([@rrosenblum][])
28
- * [#2109](https://github.com/bbatsov/rubocop/issues/2109): Allow alignment with a token on the nearest line with same indentation in `Style/ExtraSpacing`. ([@jonas054][])
29
- * `Lint/EndAlignment` handles the `case` keyword. ([@lumeet][])
30
- * [#2146](https://github.com/bbatsov/rubocop/pull/2146): Add STDIN support. ([@caseywebdev][])
31
- * [#2175](https://github.com/bbatsov/rubocop/pull/2175): Files that are excluded from a cop (e.g. using the `Exclude:` config option) are no longer being processed by that cop. ([@bquorning][])
32
- * `Rails/ActionFilter` now handles complete list of methods found in the Rails 4.2 [release notes](https://github.com/rails/rails/blob/4115a12da1409c753c747fd4bab6e612c0c6e51a/guides/source/4_2_release_notes.md#notable-changes-1). ([@MGerrior][])
33
- * [*2138](https://github.com/bbatsov/rubocop/issues/2138): Change the offense in `Style/Next` to highlight the condition instead of the iteration. ([@rrosenblum][])
34
- * `Style/EmptyLineBetweenDefs` now handles class methods as well. ([@unmanbearpig][])
35
- * Improve handling of `super` in `Style/SymbolProc`. ([@lumeet][])
36
- * `Style/SymbolProc` is applied to methods receiving arguments. ([@lumeet][])
37
- * [#1839](https://github.com/bbatsov/rubocop/issues/1839): Remove Rainbow monkey patching of String which conflicts with other gems like colorize. ([@daviddavis][])
38
- * `Style/HashSyntax` is now a bit faster when checking Ruby 1.9 syntax hash keys. ([@bquorning][])
39
- * `Lint/DeprecatedClassMethods` is now a whole lot faster. ([@bquorning][])
40
- * `Lint/BlockAlignment`, `Style/IndentationWidth`, and `Style/MultilineOperationIndentation` are now quite a bit faster. ([@bquorning][])
41
-
42
- ### Bug Fixes
43
-
44
- * [#2123](https://github.com/bbatsov/rubocop/pull/2123): Fix handing of dynamic widths `Lint/FormatParameterMismatch`. ([@edmz][])
45
- * [#2116](https://github.com/bbatsov/rubocop/pull/2116): Fix named params (using hash) `Lint/FormatParameterMismatch`. ([@edmz][])
46
- * [#2135](https://github.com/bbatsov/rubocop/issues/2135): Ignore `super` and `zsuper` nodes in `Style/SymbolProc`. ([@bbatsov][])
47
- * [#2165](https://github.com/bbatsov/rubocop/issues/2165): Fix a NPE in `Style/Alias`. ([@bbatsov][])
48
- * [#2168](https://github.com/bbatsov/rubocop/issues/2168): Fix a NPE in `Rails/TimeZone`. ([@bbatsov][])
49
- * [#2169](https://github.com/bbatsov/rubocop/issues/2169): Fix a NPE in `Rails/Date`. ([@bbatsov][])
50
- * [#2105](https://github.com/bbatsov/rubocop/pull/2105): Fix a warning that was thrown when enabling `Style/OptionHash`. ([@wli][])
51
- * [#2107](https://github.com/bbatsov/rubocop/pull/2107): Fix auto-correct of `Style/ParallelAssignment` for nested expressions. ([@rrosenblum][])
52
- * [#2111](https://github.com/bbatsov/rubocop/issues/2111): Deal with byte order mark in `Style/InitialIndentation`. ([@jonas054][])
53
- * [#2113](https://github.com/bbatsov/rubocop/issues/2113): Handle non-string tokens in `Style/ExtraSpacing`. ([@jonas054][])
54
- * [#2129](https://github.com/bbatsov/rubocop/issues/2129): Handle empty interpolations in `Style/SpaceInsideStringInterpolation`. ([@lumeet][])
55
- * [#2119](https://github.com/bbatsov/rubocop/issues/2119): Do not raise an error in `Style/RescueEnsureAlignment` and `Style/RescueModifier` when processing an excluded file. ([@rrosenblum][])
56
- * [#2149](https://github.com/bbatsov/rubocop/issues/2149): Do not register an offense in `Rails/Date` when `Date#to_time` is called with a time zone argument. ([@maxjacobson][])
57
- * Do not register a `Rails/TimeZone` offense when using Time.new safely. ([@maxjacobson][])
58
- * [#2124](https://github.com/bbatsov/rubocop/issues/2124): Fix bug in `Style/EmptyLineBetweenDefs` when there are only comments between method definitions. ([@lumeet][])
59
- * [#2154](https://github.com/bbatsov/rubocop/issues/2154): `Performance/StringReplacement` can auto-correct replacements with backslash in them. ([@rrosenblum][])
60
- * [#2009](https://github.com/bbatsov/rubocop/issues/2009): Fix bug in `RuboCop::ConfigLoader.load_file` when `safe_yaml` is required. ([@eitoball][])
61
- * [#2155](https://github.com/bbatsov/rubocop/issues/2155): Configuration `EndAlignment: AlignWith: variable` only applies when the operands of `=` are on the same line. ([@jonas054][])
62
- * Fix bug in `Style/IndentationWidth` when `rescue` or `ensure` is preceded by an empty body. ([@lumeet][])
63
- * [#2183](https://github.com/bbatsov/rubocop/issues/2183): Fix bug in `Style/BlockDelimiters` when auto-correcting adjacent braces. ([@lumeet][])
64
- * [#2199](https://github.com/bbatsov/rubocop/issues/2199): Make `rubocop` exit with error when there are only `Lint/UnneededDisable` offenses. ([@jonas054][])
65
- * Fix handling of empty parentheses when auto-correcting in `Style/SymbolProc`. ([@lumeet][])
66
-
67
- [@bbatsov]: https://github.com/bbatsov
68
- [@jonas054]: https://github.com/jonas054
69
- [@yujinakayama]: https://github.com/yujinakayama
70
- [@dblock]: https://github.com/dblock
71
- [@nevir]: https://github.com/nevir
72
- [@daviddavis]: https://github.com/daviddavis
73
- [@sds]: https://github.com/sds
74
- [@fancyremarker]: https://github.com/fancyremarker
75
- [@sinisterchipmunk]: https://github.com/sinisterchipmunk
76
- [@vonTronje]: https://github.com/vonTronje
77
- [@agrimm]: https://github.com/agrimm
78
- [@pmenglund]: https://github.com/pmenglund
79
- [@chulkilee]: https://github.com/chulkilee
80
- [@codez]: https://github.com/codez
81
- [@emou]: https://github.com/emou
82
- [@skanev]: http://github.com/skanev
83
- [@claco]: http://github.com/claco
84
- [@rifraf]: http://github.com/rifraf
85
- [@scottmatthewman]: https://github.com/scottmatthewman
86
- [@ma2gedev]: http://github.com/ma2gedev
87
- [@jeremyolliver]: https://github.com/jeremyolliver
88
- [@hannestyden]: https://github.com/hannestyden
89
- [@geniou]: https://github.com/geniou
90
- [@jkogara]: https://github.com/jkogara
91
- [@tmorris-fiksu]: https://github.com/tmorris-fiksu
92
- [@mockdeep]: https://github.com/mockdeep
93
- [@hiroponz]: https://github.com/hiroponz
94
- [@tamird]: https://github.com/tamird
95
- [@fshowalter]: https://github.com/fshowalter
96
- [@cschramm]: https://github.com/cschramm
97
- [@bquorning]: https://github.com/bquorning
98
- [@bcobb]: https://github.com/bcobb
99
- [@irrationalfab]: https://github.com/irrationalfab
100
- [@tommeier]: https://github.com/tommeier
101
- [@sfeldon]: https://github.com/sfeldon
102
- [@biinari]: https://github.com/biinari
103
- [@barunio]: https://github.com/barunio
104
- [@molawson]: https://github.com/molawson
105
- [@wndhydrnt]: https://github.com/wndhydrnt
106
- [@ggilder]: https://github.com/ggilder
107
- [@salbertson]: https://github.com/salbertson
108
- [@camilleldn]: https://github.com/camilleldn
109
- [@mcls]: https://github.com/mcls
110
- [@yous]: https://github.com/yous
111
- [@vrthra]: https://github.com/vrthra
112
- [@SkuliOskarsson]: https://github.com/SkuliOskarsson
113
- [@jspanjers]: https://github.com/jspanjers
114
- [@sch1zo]: https://github.com/sch1zo
115
- [@smangelsdorf]: https://github.com/smangelsdorf
116
- [@mvz]: https://github.com/mvz
117
- [@jfelchner]: https://github.com/jfelchner
118
- [@janraasch]: https://github.com/janraasch
119
- [@jcarbo]: https://github.com/jcarbo
120
- [@oneamtu]: https://github.com/oneamtu
121
- [@toy]: https://github.com/toy
122
- [@Koronen]: https://github.com/Koronen
123
- [@blainesch]: https://github.com/blainesch
124
- [@marxarelli]: https://github.com/marxarelli
125
- [@katieschilling]: https://github.com/katieschilling
126
- [@kakutani]: https://github.com/kakutani
127
- [@rrosenblum]: https://github.com/rrosenblum
128
- [@mattjmcnaughton]: https://github.com/mattjmcnaughton
129
- [@huerlisi]: https://github.com/huerlisi
130
- [@volkert]: https://github.com/volkert
131
- [@lumeet]: https://github.com/lumeet
132
- [@mmozuras]: https://github.com/mmozuras
133
- [@d4rk5eed]: https://github.com/d4rk5eed
134
- [@cshaffer]: https://github.com/cshaffer
135
- [@eitoball]: https://github.com/eitoball
136
- [@iainbeeston]: https://github.com/iainbeeston
137
- [@pimterry]: https://github.com/pimterry
138
- [@palkan]: https://github.com/palkan
139
- [@jdoconnor]: https://github.com/jdoconnor
140
- [@meganemura]: https://github.com/meganemura
141
- [@zvkemp]: https://github.com/zvkemp
142
- [@vassilevsky]: https://github.com/vassilevsky
143
- [@gerry3]: https://github.com/gerry3
144
- [@ypresto]: https://github.com/ypresto
145
- [@clowder]: https://github.com/clowder
146
- [@mudge]: https://github.com/mudge
147
- [@mzp]: https://github.com/mzp
148
- [@bankair]: https://github.com/bankair
149
- [@crimsonknave]: https://github.com/crimsonknave
150
- [@renuo]: https://github.com/renuo
151
- [@sdeframond]: https://github.com/sdeframond
152
- [@til]: https://github.com/til
153
- [@carhartl]: https://github.com/carhartl
154
- [@dylandavidson]: https://github.com/dylandavidson
155
- [@tmr08c]: https://github.com/tmr08c
156
- [@hbd225]: https://github.com/hbd225
157
- [@l8nite]: https://github.com/l8nite
158
- [@sumeet]: https://github.com/sumeet
159
- [@ojab]: https://github.com/ojab
160
- [@chastell]: https://github.com/chastell
161
- [@glasnt]: https://github.com/glasnt
162
- [@crazydog115]: https://github.com/crazydog115
163
- [@RGBD]: https://github.com/RGBD
164
- [@panthomakos]: https://github.com/panthomakos
165
- [@matugm]: https://github.com/matugm
166
- [@m1foley]: https://github.com/m1foley
167
- [@tejasbubane]: https://github.com/tejasbubane
168
- [@bmorrall]: https://github.com/bmorrall
169
- [@fphilipe]: https://github.com/fphilipe
170
- [@gotrevor]: https://github.com/gotrevor
171
- [@awwaiid]: https://github.com/awwaiid
172
- [@segiddins]: https://github.com/segiddins
173
- [@urbanautomaton]: https://github.com/urbanautomaton.com
174
- [@unmanbearpig]: https://github.com/unmanbearpig
175
- [@maxjacobson]: https://github.com/maxjacobson
176
- [@sliuu]: https://github.com/sliuu
177
- [@edmz]: https://github.com/edmz
178
- [@syndbg]: https://github.com/syndbg
179
- [@wli]: https://github.com/wli
180
- [@caseywebdev]: https://github.com/caseywebdev
181
- [@MGerrior]: https://github.com/MGerrior
182
- [@imtayadeway]: https://github.com/imtayadeway
@@ -1,129 +0,0 @@
1
- ## RuboCop 0.34.1
2
-
3
- ### Bug Fixes
4
-
5
- * [#2212](https://github.com/bbatsov/rubocop/issues/2212): Handle methods without parentheses in auto-correct. ([@karreiro][])
6
- * [#2214](https://github.com/bbatsov/rubocop/pull/2214): Fix `File name too long error` when `STDIN` option is provided. ([@mrfoto][])
7
- * [#2217](https://github.com/bbatsov/rubocop/issues/2217): Allow block arguments in `Style/SymbolProc`. ([@lumeet][])
8
- * [#2213](https://github.com/bbatsov/rubocop/issues/2213): Write to cache with binary encoding to avoid transcoding exceptions in some locales. ([@jonas054][])
9
- * [#2218](https://github.com/bbatsov/rubocop/issues/2218): Fix loading config error when safe yaml is only partially loaded. ([@maxjacobson][])
10
- * [#2161](https://github.com/bbatsov/rubocop/issues/2161): Allow an explicit receiver (except `Kernel`) in `Style/SignalException`. ([@lumeet][])
11
-
12
- [@bbatsov]: https://github.com/bbatsov
13
- [@jonas054]: https://github.com/jonas054
14
- [@yujinakayama]: https://github.com/yujinakayama
15
- [@dblock]: https://github.com/dblock
16
- [@nevir]: https://github.com/nevir
17
- [@daviddavis]: https://github.com/daviddavis
18
- [@sds]: https://github.com/sds
19
- [@fancyremarker]: https://github.com/fancyremarker
20
- [@sinisterchipmunk]: https://github.com/sinisterchipmunk
21
- [@vonTronje]: https://github.com/vonTronje
22
- [@agrimm]: https://github.com/agrimm
23
- [@pmenglund]: https://github.com/pmenglund
24
- [@chulkilee]: https://github.com/chulkilee
25
- [@codez]: https://github.com/codez
26
- [@emou]: https://github.com/emou
27
- [@skanev]: http://github.com/skanev
28
- [@claco]: http://github.com/claco
29
- [@rifraf]: http://github.com/rifraf
30
- [@scottmatthewman]: https://github.com/scottmatthewman
31
- [@ma2gedev]: http://github.com/ma2gedev
32
- [@jeremyolliver]: https://github.com/jeremyolliver
33
- [@hannestyden]: https://github.com/hannestyden
34
- [@geniou]: https://github.com/geniou
35
- [@jkogara]: https://github.com/jkogara
36
- [@tmorris-fiksu]: https://github.com/tmorris-fiksu
37
- [@mockdeep]: https://github.com/mockdeep
38
- [@hiroponz]: https://github.com/hiroponz
39
- [@tamird]: https://github.com/tamird
40
- [@fshowalter]: https://github.com/fshowalter
41
- [@cschramm]: https://github.com/cschramm
42
- [@bquorning]: https://github.com/bquorning
43
- [@bcobb]: https://github.com/bcobb
44
- [@irrationalfab]: https://github.com/irrationalfab
45
- [@tommeier]: https://github.com/tommeier
46
- [@sfeldon]: https://github.com/sfeldon
47
- [@biinari]: https://github.com/biinari
48
- [@barunio]: https://github.com/barunio
49
- [@molawson]: https://github.com/molawson
50
- [@wndhydrnt]: https://github.com/wndhydrnt
51
- [@ggilder]: https://github.com/ggilder
52
- [@salbertson]: https://github.com/salbertson
53
- [@camilleldn]: https://github.com/camilleldn
54
- [@mcls]: https://github.com/mcls
55
- [@yous]: https://github.com/yous
56
- [@vrthra]: https://github.com/vrthra
57
- [@SkuliOskarsson]: https://github.com/SkuliOskarsson
58
- [@jspanjers]: https://github.com/jspanjers
59
- [@sch1zo]: https://github.com/sch1zo
60
- [@smangelsdorf]: https://github.com/smangelsdorf
61
- [@mvz]: https://github.com/mvz
62
- [@jfelchner]: https://github.com/jfelchner
63
- [@janraasch]: https://github.com/janraasch
64
- [@jcarbo]: https://github.com/jcarbo
65
- [@oneamtu]: https://github.com/oneamtu
66
- [@toy]: https://github.com/toy
67
- [@Koronen]: https://github.com/Koronen
68
- [@blainesch]: https://github.com/blainesch
69
- [@marxarelli]: https://github.com/marxarelli
70
- [@katieschilling]: https://github.com/katieschilling
71
- [@kakutani]: https://github.com/kakutani
72
- [@rrosenblum]: https://github.com/rrosenblum
73
- [@mattjmcnaughton]: https://github.com/mattjmcnaughton
74
- [@huerlisi]: https://github.com/huerlisi
75
- [@volkert]: https://github.com/volkert
76
- [@lumeet]: https://github.com/lumeet
77
- [@mmozuras]: https://github.com/mmozuras
78
- [@d4rk5eed]: https://github.com/d4rk5eed
79
- [@cshaffer]: https://github.com/cshaffer
80
- [@eitoball]: https://github.com/eitoball
81
- [@iainbeeston]: https://github.com/iainbeeston
82
- [@pimterry]: https://github.com/pimterry
83
- [@palkan]: https://github.com/palkan
84
- [@jdoconnor]: https://github.com/jdoconnor
85
- [@meganemura]: https://github.com/meganemura
86
- [@zvkemp]: https://github.com/zvkemp
87
- [@vassilevsky]: https://github.com/vassilevsky
88
- [@gerry3]: https://github.com/gerry3
89
- [@ypresto]: https://github.com/ypresto
90
- [@clowder]: https://github.com/clowder
91
- [@mudge]: https://github.com/mudge
92
- [@mzp]: https://github.com/mzp
93
- [@bankair]: https://github.com/bankair
94
- [@crimsonknave]: https://github.com/crimsonknave
95
- [@renuo]: https://github.com/renuo
96
- [@sdeframond]: https://github.com/sdeframond
97
- [@til]: https://github.com/til
98
- [@carhartl]: https://github.com/carhartl
99
- [@dylandavidson]: https://github.com/dylandavidson
100
- [@tmr08c]: https://github.com/tmr08c
101
- [@hbd225]: https://github.com/hbd225
102
- [@l8nite]: https://github.com/l8nite
103
- [@sumeet]: https://github.com/sumeet
104
- [@ojab]: https://github.com/ojab
105
- [@chastell]: https://github.com/chastell
106
- [@glasnt]: https://github.com/glasnt
107
- [@crazydog115]: https://github.com/crazydog115
108
- [@RGBD]: https://github.com/RGBD
109
- [@panthomakos]: https://github.com/panthomakos
110
- [@matugm]: https://github.com/matugm
111
- [@m1foley]: https://github.com/m1foley
112
- [@tejasbubane]: https://github.com/tejasbubane
113
- [@bmorrall]: https://github.com/bmorrall
114
- [@fphilipe]: https://github.com/fphilipe
115
- [@gotrevor]: https://github.com/gotrevor
116
- [@awwaiid]: https://github.com/awwaiid
117
- [@segiddins]: https://github.com/segiddins
118
- [@urbanautomaton]: https://github.com/urbanautomaton.com
119
- [@unmanbearpig]: https://github.com/unmanbearpig
120
- [@maxjacobson]: https://github.com/maxjacobson
121
- [@sliuu]: https://github.com/sliuu
122
- [@edmz]: https://github.com/edmz
123
- [@syndbg]: https://github.com/syndbg
124
- [@wli]: https://github.com/wli
125
- [@caseywebdev]: https://github.com/caseywebdev
126
- [@MGerrior]: https://github.com/MGerrior
127
- [@imtayadeway]: https://github.com/imtayadeway
128
- [@mrfoto]: https://github.com/mrfoto
129
- [@karreiro]: https://github.com/karreiro