hind 0.1.8 → 0.1.9
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 +4 -4
- data/lib/hind/lsif/generator.rb +3 -3
- data/lib/hind/lsif/global_state.rb +0 -1
- data/lib/hind/lsif/visitors/declaration_visitor.rb +0 -1
- data/lib/hind/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 046343c3a41a8a05497b40d7bdcb9f6d2b36fb86552939100ddc11f0315ad7c2
|
|
4
|
+
data.tar.gz: c02124f19d952e174f6b4c37481c940f552c1a2847601ba58905526e12d78acc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26451ad30df53aa0ebcf4eb301dff7864473cef23b292165bc4c2d6e4eefad41a3a8d4bc8c00c628f29997e0d7e9301abbe5f72c5e4b240a193373d2b68c9d23
|
|
7
|
+
data.tar.gz: 7d4017a84074b81466a37141b8a8ed91b7f8bc11f3fd104b4637a73b6a47e4c69b87b1bac501196f73d7cb5180d3e315d81f88f72b135d2eb47dd33aceb1ce63
|
data/lib/hind/lsif/generator.rb
CHANGED
|
@@ -218,11 +218,11 @@ module Hind
|
|
|
218
218
|
|
|
219
219
|
range_id = emit_vertex('range', {
|
|
220
220
|
start: {
|
|
221
|
-
line: start_location.start_line
|
|
221
|
+
line: start_location.start_line,
|
|
222
222
|
character: start_location.start_column
|
|
223
223
|
},
|
|
224
224
|
end: {
|
|
225
|
-
line: end_location.end_line
|
|
225
|
+
line: end_location.end_line,
|
|
226
226
|
character: end_location.end_column
|
|
227
227
|
}
|
|
228
228
|
})
|
|
@@ -286,7 +286,7 @@ module Hind
|
|
|
286
286
|
when :module
|
|
287
287
|
"module #{declaration[:name]}"
|
|
288
288
|
when :constant
|
|
289
|
-
value_info = declaration[:node].value ? " = #{declaration[:node].value.
|
|
289
|
+
value_info = declaration[:node].value.content ? " = #{declaration[:node].value.content}" : ''
|
|
290
290
|
"#{declaration[:name]}#{value_info}"
|
|
291
291
|
else
|
|
292
292
|
declaration[:name].to_s
|
data/lib/hind/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hind
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aboobacker MK
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-02-
|
|
10
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: prism
|