rubocop-ast 1.33.1 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e1c456800be1ceb1fb7a4630d70c5a238da25bf1779fb7eb2a58208dd939353
4
- data.tar.gz: c5d685fd17a57937dfbac96524e32d74202a3adede4c124c55ec912ae096d360
3
+ metadata.gz: 6aeec8c30cc0c6867ba22dcc54d1f6fbbf400465930563d3e777cadef39bd7a9
4
+ data.tar.gz: 84512971edea6c49a505879088031a866d52dfd4450005a8864240523d8205af
5
5
  SHA512:
6
- metadata.gz: 6afe4fbfe2eec07c674048563d64fd0f227b00059e934bfa4af2e9fdf30de28689f86b35b4b52a4a78054327e303ff7d6a850e881637d68feb2fdd5c4c588f13
7
- data.tar.gz: ed27c2ff0660fe0efeeca327faf44fa8a20878999e3f1533b6d89962451b41f59be06a7f385baef08a4609ec2982a078eded43c7f8e4cb25a40fd293956a84d1
6
+ metadata.gz: 7a0f34ce3cdcb2161ba584a24766f8d180b62643a41e9efd3711b248abe579860315950516013b5e579294776832b3e174299da5a0305eeb0baaeab234d61ef5
7
+ data.tar.gz: 9c4664492b5fd8184633ff13f91b9ab8ffb2b90f31176a15c7455979e38484442243367074a3ada5393f59ff132652a57ffdefe91dc8dd0633c02c5e8dcb6c52
@@ -12,6 +12,7 @@ module RuboCop
12
12
  def name
13
13
  node_parts[0]
14
14
  end
15
+ alias lhs name
15
16
 
16
17
  # The expression being assigned to the variable.
17
18
  #
@@ -19,6 +20,7 @@ module RuboCop
19
20
  def expression
20
21
  node_parts[1]
21
22
  end
23
+ alias rhs expression
22
24
  end
23
25
  end
24
26
  end
@@ -9,6 +9,7 @@ module RuboCop
9
9
  include ConstantNode
10
10
 
11
11
  alias name short_name
12
+ alias lhs short_name
12
13
 
13
14
  # The expression being assigned to the variable.
14
15
  #
@@ -16,6 +17,7 @@ module RuboCop
16
17
  def expression
17
18
  node_parts[2]
18
19
  end
20
+ alias rhs expression
19
21
  end
20
22
  end
21
23
  end
@@ -10,6 +10,7 @@ module RuboCop
10
10
  def assignment_node
11
11
  node_parts[0]
12
12
  end
13
+ alias lhs assignment_node
13
14
 
14
15
  # The name of the variable being assigned as a symbol.
15
16
  #
@@ -31,6 +32,7 @@ module RuboCop
31
32
  def expression
32
33
  node_parts.last
33
34
  end
35
+ alias rhs expression
34
36
  end
35
37
  end
36
38
  end
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  module AST
5
5
  module Version
6
- STRING = '1.33.1'
6
+ STRING = '1.34.0'
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.33.1
4
+ version: 1.34.0
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: 2024-11-02 00:00:00.000000000 Z
13
+ date: 2024-11-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parser