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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: e88fc0398de2241ea3dbc2ef8403018874800ea68f78cbb450fba8e44a1571cd
4
- data.tar.gz: cce387c16f166a02b9fec1de5e8d13cc3392f67b1ed9f786411a33cb3ced24ea
2
+ SHA1:
3
+ metadata.gz: 2f3af102582affbb1b9735d2af44ac0dccb270ab
4
+ data.tar.gz: cca031307df0c706e0b1f65254659dfc7ee04686
5
5
  SHA512:
6
- metadata.gz: '02226368c150bca198e27e3b389f59b851e8a027ebb740d7a3caf20756afa68b8509dabd2cd3d02c8906607034544637933e90f9f1e06651d08d6d32018d345c'
7
- data.tar.gz: b745797d0eba8bf0f729f7e7ad1ff0ad0fe110fa3ef0fb62c1f4519dcae9191a5e953c83f3dcbb978959b4141e39cc946f5246fc5e264f42769ae9cd5134ad1b
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.0', require: false
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
- return nil if ancestor_node.nil?
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?
@@ -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.0'.freeze
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.0
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-05 00:00:00.000000000 Z
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.7.6
823
+ rubygems_version: 2.6.11
824
824
  signing_key:
825
825
  specification_version: 4
826
826
  summary: Automatic Ruby code style checking tool.