rubocop-ast 1.15.1 → 1.15.2

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
2
  SHA256:
3
- metadata.gz: 81689137631e287fd256ecec1afe9ce91033dcb77663f11c7a7d06a778630b9c
4
- data.tar.gz: 6bfab6b417e2318d0a3d8d0ae5df70ce06de90a9826b39a00ba17c00a88021aa
3
+ metadata.gz: aac49ca3995eb3db7cbaf7983c8ebc40c0e7782147d3c0c0f501bff87fe78738
4
+ data.tar.gz: 57372bcc10931495c9001ce0b7521cac1034cca0fc56fda28b4480ee7cb8ab5b
5
5
  SHA512:
6
- metadata.gz: 50af89026c7e223a9ba293bdbe7d129586793dfbc853eba03e813f5f37d2b1baeffd3bfccc2b8b68e3f8b927d250ec8cf258d12cf7816a6580f80345fd00a9d2
7
- data.tar.gz: 23ac600eb4d70e3cf2d978ecfa85e966dfc9ccc3347cff3e26d6862508a1a63bae483a56f3f21b60c9fb32cea250d47ec503f5b311492f9c641c99c1754d9f05
6
+ metadata.gz: 378c302ab6c0d052d28610174d04fe61ad8e8f35a5d4792c90696e4367c8a52e5bf7b969694e592b0c5dfbbedd54139ab94d2c99c9965607df686275adee7eda
7
+ data.tar.gz: 2f4bc4fd4c1ea1f7d1829d6ad4b448f9a00b40a7b641d30e87ab1784de5f654afbf6ecdff9a98f12cd4c91b273448cf5668de198aebd903205ae460599956e1f
@@ -12,7 +12,7 @@ class RuboCop::AST::NodePattern::LexerRex
12
12
 
13
13
  macros
14
14
  CONST_NAME /[A-Z:][a-zA-Z_:]+/
15
- SYMBOL_NAME /[\w+@*\/?!<>=~|%^-]+|\[\]=?/
15
+ SYMBOL_NAME /[\w+@*\/?!<>=~|%^&-]+|\[\]=?/
16
16
  IDENTIFIER /[a-z][a-zA-Z0-9_]*/
17
17
  NODE_TYPE /[a-z][a-zA-Z0-9_-]*/ # Same as identifier but allows '-'
18
18
  CALL /(?:#{CONST_NAME}\.)?#{IDENTIFIER}[!?]?/
@@ -25,7 +25,7 @@ class RuboCop::AST::NodePattern::LexerRex
25
25
 
26
26
  # :stopdoc:
27
27
  CONST_NAME = /[A-Z:][a-zA-Z_:]+/
28
- SYMBOL_NAME = /[\w+@*\/?!<>=~|%^-]+|\[\]=?/
28
+ SYMBOL_NAME = /[\w+@*\/?!<>=~|%^&-]+|\[\]=?/
29
29
  IDENTIFIER = /[a-z][a-zA-Z0-9_]*/
30
30
  NODE_TYPE = /[a-z][a-zA-Z0-9_-]*/
31
31
  CALL = /(?:#{CONST_NAME}\.)?#{IDENTIFIER}[!?]?/
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module AST
5
5
  module Version
6
- STRING = '1.15.1'
6
+ STRING = '1.15.2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.1
4
+ version: 1.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-12-27 00:00:00.000000000 Z
13
+ date: 2022-02-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parser
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []
178
- rubygems_version: 3.2.3
178
+ rubygems_version: 3.3.3
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: RuboCop tools to deal with Ruby code AST.