solargraph 0.37.0 → 0.37.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solargraph/pin/conversions.rb +2 -2
- data/lib/solargraph/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f830526bc708218047c91c766887acc1c2e8be3d3bfb84d0dfa48e518367e768
|
4
|
+
data.tar.gz: 27bcecb0e88b0059dd224dc8cee3a6c1c17c64d02bfdbe1342ed775acfc0212f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27dc873bc5e79b7cb2e0d87adb04cdc53b5068082a679ebca0a9d0c87dd7d30285897f03e3658d3064ba7898d2d456dfbac570f9112d45fbdfea1db5ae9d8e1d
|
7
|
+
data.tar.gz: 2a114fe815f3f6f0bf64f282d72f7b4a5b3215675f294c1465f4377196fd7fdead1f23021a665db71210752c69fd6249a42a0d86c9991d9ed0fa9ffe0d6d4ceb
|
@@ -47,7 +47,7 @@ module Solargraph
|
|
47
47
|
# change when pins get proxied.
|
48
48
|
detail = String.new
|
49
49
|
detail += "(#{parameters.join(', ')}) " unless !is_a?(Pin::BaseMethod) or parameters.empty?
|
50
|
-
detail += "=#{probed? ? '~' : (proxied? ? '^' : '>')} #{
|
50
|
+
detail += "=#{probed? ? '~' : (proxied? ? '^' : '>')} #{return_type.to_s}" unless return_type.undefined?
|
51
51
|
detail.strip!
|
52
52
|
return nil if detail.empty?
|
53
53
|
detail
|
@@ -88,7 +88,7 @@ module Solargraph
|
|
88
88
|
# @return [String]
|
89
89
|
def escape_brackets text
|
90
90
|
# text.gsub(/(\<|\>)/, "\\#{$1}")
|
91
|
-
text.gsub("<",
|
91
|
+
text.gsub("<", '\<').gsub(">", '\>')
|
92
92
|
end
|
93
93
|
end
|
94
94
|
end
|
data/lib/solargraph/version.rb
CHANGED