parser_node_ext 1.4.1 → 1.4.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: 9abeb78d465d5e90a8cd5d921d8cf4e18ccbab4b4cb55997fb49bea0255125a0
4
- data.tar.gz: c084ba2e63f1575d8167aac4a970966a0ef0d7ce9b8da2e19dc5ce360d16ee27
3
+ metadata.gz: 38f6c53aa638d806867806a9e77d88b5913d1fdae8a8732bdf4e4cb956ae1d65
4
+ data.tar.gz: f5dc50ea99aa207fb609e4f4b0f1dc69103f9d192e39d1a3026781cdc8d0cae7
5
5
  SHA512:
6
- metadata.gz: d30a4c0ef68c37ab8232dbadacabc4d28099395bbebb3b54e3de6f2c0697de5fff91ba83ec81fc9ba14b98bd4226c59f1da1a1dff3349c39e2e5bc6bce5ca732
7
- data.tar.gz: f6f7b429dafe2547a302efd8b58dbdb65cc8700de0b09b3373e30efb5042358db1ceabfde5334237d18c8ad630cf11f879862c9c55e212556bf33ce9461b5b0f
6
+ metadata.gz: 1bbd2d563cc990b48712ec385927b4a3cd6d96758399b938dde4f735a8b83258f4ecbca486f83d857b2ec9b4978db00717390c3f0ccf7d358078bfc2dd1582d2
7
+ data.tar.gz: e62d5e4cfc01601d98a63765056e7274e25556da3e2514ed427b7fd815294ab2c3fe639d78152a0f9a243c3d1e959a5fd4f9d292c255db459fac884c4054b576
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.4.2 (2024-07-17)
4
+
5
+ * Rename `fullname` to `full_name`
6
+
3
7
  ## 1.4.1 (2024-07-17)
4
8
 
5
9
  * Add `fullname` to `module` and `class`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parser_node_ext (1.4.1)
4
+ parser_node_ext (1.4.2)
5
5
  parser
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ParserNodeExt
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
@@ -130,10 +130,10 @@ module ParserNodeExt
130
130
  end
131
131
  end
132
132
 
133
- def fullname
133
+ def full_name
134
134
  if %i[class module].include?(type)
135
- if parent&.respond_to?(:fullname)
136
- "#{parent.fullname}::#{name.to_source}"
135
+ if parent&.respond_to?(:full_name)
136
+ "#{parent.full_name}::#{name.to_source}"
137
137
  else
138
138
  name.to_source
139
139
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parser_node_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser