Skip to content

Commit 922d7af

Browse files
committed
Cut 1.3
1 parent 195656b commit 922d7af

File tree

8 files changed

+43
-6
lines changed

8 files changed

+43
-6
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler.
3636

3737
```
3838
$ [bundle exec] rubocop -V
39-
1.2.0 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
39+
1.3.0 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
4040
```

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master (unreleased)
44

5+
## 1.3.0 (2020-11-12)
6+
57
### New features
68

79
* [#8761](https://github.com/rubocop-hq/rubocop/issues/8761): Read `required_ruby_version` from gemspec file if it exists #8761. ([@HeroProtagonist][])

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ do so.
1717

1818
```
1919
$ rubocop -V
20-
1.2.0 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
20+
1.3.0 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux)
2121
```
2222

2323
* Include any relevant code to the issue summary.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To prevent an unwanted RuboCop update you might want to use a conservative versi
5151
in your `Gemfile`:
5252

5353
```rb
54-
gem 'rubocop', '~> 1.2', require: false
54+
gem 'rubocop', '~> 1.3', require: false
5555
```
5656

5757
See [versioning](https://docs.rubocop.org/rubocop/1.0/versioning.html) for further details.

docs/antora.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: rubocop
22
title: RuboCop
33
# We always provide version without patch here (e.g. 1.1),
44
# as patch versions should not appear in the docs.
5-
version: 'master'
5+
version: '1.3'
66
nav:
77
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/installation.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ in your `Gemfile`:
2222

2323
[source,rb]
2424
----
25-
gem 'rubocop', '~> 1.2', require: false
25+
gem 'rubocop', '~> 1.3', require: false
2626
----
2727

2828
NOTE: You can check out our progress on the road to version 1.0 https://github.com/rubocop-hq/rubocop/milestone/4[here].

lib/rubocop/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
# This module holds the RuboCop version information.
55
module Version
6-
STRING = '1.2.0'
6+
STRING = '1.3.0'
77

88
MSG = '%<version>s (using Parser %<parser_version>s, '\
99
'rubocop-ast %<rubocop_ast_version>s, ' \

relnotes/v1.3.0.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
### New features
2+
3+
* [#8761](https://github.com/rubocop-hq/rubocop/issues/8761): Read `required_ruby_version` from gemspec file if it exists #8761. ([@HeroProtagonist][])
4+
* [#9001](https://github.com/rubocop-hq/rubocop/pull/9001): Add new `Lint/EmptyClass` cop. ([@fatkodima][])
5+
* [#9025](https://github.com/rubocop-hq/rubocop/issues/9025): Add `AllowedMethods` option to `Lint/ConstantDefinitionInBlock`. ([@koic][])
6+
* [#9014](https://github.com/rubocop-hq/rubocop/pull/9014): Support auto-correction for `Style/IfInsideElse`. ([@koic][])
7+
* [#8483](https://github.com/rubocop-hq/rubocop/pull/8483): Add new `Style/StaticClass` cop. ([@fatkodima][])
8+
* [#9020](https://github.com/rubocop-hq/rubocop/pull/9020): Add new `Style/NilLambda` cop to check for lambdas that always return nil. ([@dvandersluis][])
9+
* [#8404](https://github.com/rubocop-hq/rubocop/pull/8404): Add new `Lint/DuplicateBranch` cop. ([@fatkodima][])
10+
11+
### Bug fixes
12+
13+
* [#8499](https://github.com/rubocop-hq/rubocop/issues/8499): Fix `Style/IfUnlessModifier` and `Style/WhileUntilModifier` to prevent an offense if there are both first-line comment and code after `end` block. ([@dsavochkin][])
14+
* [#8996](https://github.com/rubocop-hq/rubocop/issues/8996): Fix a false positive for `Style/MultipleComparison` when comparing two sides of the disjunction is unrelated. ([@koic][])
15+
* [#8975](https://github.com/rubocop-hq/rubocop/issues/8975): Fix an infinite loop when autocorrecting `Layout/TrailingWhitespace` + `Lint/LiteralInInterpolation`. ([@fatkodima][])
16+
* [#8998](https://github.com/rubocop-hq/rubocop/issues/8998): Fix an error for `Style/NegatedIfElseCondition` when using negated condition and `if` branch body is empty. ([@koic][])
17+
* [#9008](https://github.com/rubocop-hq/rubocop/pull/9008): Mark `Style/InfiniteLoop` as unsafe. ([@marcandre][])
18+
19+
### Changes
20+
21+
* [#8978](https://github.com/rubocop-hq/rubocop/issues/8978): Update `Layout/LineLength` autocorrection to be able to handle method calls with long argument lists. ([@dvandersluis][])
22+
* [#9015](https://github.com/rubocop-hq/rubocop/issues/9015): Update `Lint/EmptyBlock` to allow for empty lambdas. ([@dvandersluis][])
23+
* [#9022](https://github.com/rubocop-hq/rubocop/issues/9022): Add `NOTE` to keywords of `Style/CommentAnnotation`. ([@koic][])
24+
* [#9011](https://github.com/rubocop-hq/rubocop/issues/9011): Mark autocorrection for `Lint/Loop` as unsafe. ([@dvandersluis][])
25+
* [#9026](https://github.com/rubocop-hq/rubocop/issues/9026): Update `Style/DocumentDynamicEvalDefinition` to detect comment blocks that document the evaluation. ([@dvandersluis][])
26+
* [#9004](https://github.com/rubocop-hq/rubocop/pull/9004): Remove obsolete gem `SafeYAML` compatibility. ([@marcandre][])
27+
* [#9023](https://github.com/rubocop-hq/rubocop/issues/9023): Mark unsafe for `Style/CollectionCompact`. ([@koic][])
28+
* [#9012](https://github.com/rubocop-hq/rubocop/issues/9012): Allow `AllowedIdentifiers` to be specified for `Naming/VariableNumber`. ([@dvandersluis][])
29+
30+
[@HeroProtagonist]: https://github.com/HeroProtagonist
31+
[@fatkodima]: https://github.com/fatkodima
32+
[@koic]: https://github.com/koic
33+
[@dvandersluis]: https://github.com/dvandersluis
34+
[@dsavochkin]: https://github.com/dsavochkin
35+
[@marcandre]: https://github.com/marcandre

0 commit comments

Comments
 (0)