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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a210d97aeb15cde25f91fae2f9574295d075eb32c91cb73154142f21d250e66c
4
- data.tar.gz: 3192c110188450543803da61d7f7de524f6b9f12ff47a9f1099487176ed0dc17
3
+ metadata.gz: f830526bc708218047c91c766887acc1c2e8be3d3bfb84d0dfa48e518367e768
4
+ data.tar.gz: 27bcecb0e88b0059dd224dc8cee3a6c1c17c64d02bfdbe1342ed775acfc0212f
5
5
  SHA512:
6
- metadata.gz: 28913d0d3371eabe95d351f0c7c45b08ba5aef15a1410e60846b1c362597ea4b19250aeb3098f1ad3c4f18215c5b625a3670f3fe87983e858a2c7550c9e4c3d5
7
- data.tar.gz: 3cba8f1a33b143e6afd8dd9858301d61e86d167b1786eeeb301708cbd8cce13f9d57af7dbc394e0d6da1245094bf26e058c412c57ad30d9b53f9b77b333c065b
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? ? '^' : '>')} #{escape_brackets(return_type.to_s)}" unless return_type.undefined?
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("<", "\\<").gsub(">", "\\>")
91
+ text.gsub("<", '\<').gsub(">", '\>')
92
92
  end
93
93
  end
94
94
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solargraph
4
- VERSION = '0.37.0'
4
+ VERSION = '0.37.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.37.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder