solargraph 0.32.0 → 0.32.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: 5509f89d971f0a22e8256a0492ce0acd036c2bc1fa01f55b3ca9fb08ff358030
4
- data.tar.gz: 53f76eccd7206efdb918507752201c4a61aeabd2c67d69ad64686e6bae4bec41
3
+ metadata.gz: 51463c0c8d89512dafa3f4ff9dc36f1b17247f3624ac11ea434af3022dbdf9ad
4
+ data.tar.gz: eeab854453e908f0106d1a15241f2261bb286e7f8353a0490027d822995025a3
5
5
  SHA512:
6
- metadata.gz: 140976ad7f59ab810812bcc7ebc6ea141c07337effd78e025c3fda5112e4b130996b7697835b64fc16aca8e4457b0255a55cd3c1c8906479af08af6c78e29ec2
7
- data.tar.gz: 1af8ccbb0d7e16bb8a49e2f8c5214deb0bbcd33164e704434bd33b6be8b909397385e615b1d2bad34a179303aa2c258f642bf28d2790018b60d00de519955817
6
+ metadata.gz: e5ce65116ddc68b6a485b0d02be1b5fb8c2690b45bc2d02c8e58c548953d8382f59e516860ac2427655770cfb71d62ff290ff6f4c4c43bf84c3e83e98d534e81
7
+ data.tar.gz: 3efd573fa3d457eafe950f6860cb50517b922ce064cb0d334ddbcabc7647d6fd9f46ff76fa7e88008fb7d54e93a4c6ebc5ad15b571c6fddcc2d6fcd5f563fcf4
@@ -27,6 +27,7 @@ module Solargraph
27
27
  # @param text [String]
28
28
  # @return [Hash{Symbol => String}]
29
29
  def markup_content text
30
+ return nil if text.strip.empty?
30
31
  {
31
32
  kind: 'markdown',
32
33
  value: text
@@ -1,3 +1,3 @@
1
1
  module Solargraph
2
- VERSION = '0.32.0'
2
+ VERSION = '0.32.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-04 00:00:00.000000000 Z
11
+ date: 2019-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backport