rubocop 0.61.0 → 0.61.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +3 -1
- data/lib/rubocop/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2f3af102582affbb1b9735d2af44ac0dccb270ab
|
4
|
+
data.tar.gz: cca031307df0c706e0b1f65254659dfc7ee04686
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38a3804680b872219520c3e651c6bd863b5adadacb1729d6e251e76288192981b12f5d257f91ed704bcf53985b3770cdf0a309d1c008e3d26074fdba1447361
|
7
|
+
data.tar.gz: 82f6ab2d61dd493269f3550ed0ba36672c3912b72073d12ea5d1f1ba0825a3fd3b40af339dd6b8cb7dbd5a093dae10b9bd60db058535f8ef1b730ae8a15fae11
|
data/README.md
CHANGED
@@ -53,7 +53,7 @@ haven't reached version 1.0 yet). To prevent an unwanted RuboCop update you
|
|
53
53
|
might want to use a conservative version locking in your `Gemfile`:
|
54
54
|
|
55
55
|
```rb
|
56
|
-
gem 'rubocop', '~> 0.61.
|
56
|
+
gem 'rubocop', '~> 0.61.1', require: false
|
57
57
|
```
|
58
58
|
|
59
59
|
## Quickstart
|
@@ -114,7 +114,9 @@ module RuboCop
|
|
114
114
|
|
115
115
|
def alignment_node(node)
|
116
116
|
ancestor_node = ancestor_node(node)
|
117
|
-
|
117
|
+
|
118
|
+
return ancestor_node if ancestor_node.nil? ||
|
119
|
+
ancestor_node.kwbegin_type?
|
118
120
|
|
119
121
|
assignment_node = assignment_node(ancestor_node)
|
120
122
|
return assignment_node unless assignment_node.nil?
|
data/lib/rubocop/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module RuboCop
|
4
4
|
# This module holds the RuboCop version information.
|
5
5
|
module Version
|
6
|
-
STRING = '0.61.
|
6
|
+
STRING = '0.61.1'.freeze
|
7
7
|
|
8
8
|
MSG = '%<version>s (using Parser %<parser_version>s, running on ' \
|
9
9
|
'%<ruby_engine>s %<ruby_version>s %<ruby_platform>s)'.freeze
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.61.
|
4
|
+
version: 0.61.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bozhidar Batsov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-12-
|
13
|
+
date: 2018-12-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jaro_winkler
|
@@ -820,7 +820,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
820
820
|
version: '0'
|
821
821
|
requirements: []
|
822
822
|
rubyforge_project:
|
823
|
-
rubygems_version: 2.
|
823
|
+
rubygems_version: 2.6.11
|
824
824
|
signing_key:
|
825
825
|
specification_version: 4
|
826
826
|
summary: Automatic Ruby code style checking tool.
|