syntax_tree_ext 0.9.1 → 0.9.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: 94cf1c0bce41162c264343f6d729c42e3bf52e2c6fdc3ea94fa89db6a94c65cc
4
- data.tar.gz: 80603cadb4661cc660986b896133e5564f67d363eda25d183080bc851a5fc0bb
3
+ metadata.gz: 1f40ff3f6ebf13f9a2c731adf95152e393d3e4f968593533567ce174450ed044
4
+ data.tar.gz: c39d53ff02f7e2945dab26da88ff677d26e54d72b955cb55031d818d9a933232
5
5
  SHA512:
6
- metadata.gz: 9a7dee237d8baa6d1253d59f367925e8298641c07404799b32a3018d452993a5448ccfcfa37985de9003ac511591f3303696a16e0c5cc7330f894a43496d73e4
7
- data.tar.gz: f90ae48c7303a092454c1be8f6ebed8aa13ef48432bc8f3b4eaa67a4c806dec0c795bc0d92b7a8c49d25089ab4327b271876d81a5cb4106de97e0210647f1275
6
+ metadata.gz: 140e0500d7f4efbc1b1574785aa26899aa39966a573fa3bd18ec95826cd540b65f04ae20750b4143a1a052ce03aedbb37417825a322ad4d635b589ea31270310
7
+ data.tar.gz: c53492d01cbcf64c327932f5dd52ff059c5bcd3a36610f7c03935abe5d68dca35c9fc6c2f1fb381a146f01bf95d61556efb64db9aab70aa11c91bf6366008576
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.9.2 (2024-07-17)
4
+
5
+ * Rename `fullname` to `full_name`
6
+
3
7
  ## 0.9.1 (2024-07-17)
4
8
 
5
9
  * Add `fullname` to `ModuleDeclaration` and `ClassDeclaration`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- syntax_tree_ext (0.9.1)
4
+ syntax_tree_ext (0.9.2)
5
5
  syntax_tree
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SyntaxTreeExt
4
- VERSION = "0.9.1"
4
+ VERSION = "0.9.2"
5
5
  end
@@ -12,10 +12,10 @@ module SyntaxTreeExt
12
12
  end
13
13
 
14
14
  module SyntaxTree
15
- module FullnameExt
16
- def fullname
17
- if parent_node&.parent_node&.parent_node&.respond_to?(:fullname)
18
- "#{parent_node.parent_node.parent_node.fullname}::#{constant.to_source}"
15
+ module FullNameExt
16
+ def full_name
17
+ if parent_node&.parent_node&.parent_node&.respond_to?(:full_name)
18
+ "#{parent_node.parent_node.parent_node.full_name}::#{constant.to_source}"
19
19
  else
20
20
  constant.to_source
21
21
  end
@@ -79,11 +79,11 @@ module SyntaxTree
79
79
  end
80
80
 
81
81
  class ClassDeclaration
82
- include FullnameExt
82
+ include FullNameExt
83
83
  end
84
84
 
85
85
  class ModuleDeclaration
86
- include FullnameExt
86
+ include FullNameExt
87
87
  end
88
88
 
89
89
  class Node
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syntax_tree_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.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: syntax_tree