rubocop-lsp 0.1.5 → 0.1.6

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: 764e9fc1c28866c816e63128566630c67a64de01806866564321f79d24f8b6a0
4
- data.tar.gz: 6fe1eec7178a026983f631c66e82c764994d86f4c4eb9336d6df947808547c31
3
+ metadata.gz: ac8fd19fc238910e86f2c8abfa03012be286ff2af399b44ea4b5fdda63980bc8
4
+ data.tar.gz: 5c4c6707a1ab16c7fd16fed74befca83d74688665f08d89d95fa5ed15aba986e
5
5
  SHA512:
6
- metadata.gz: d2f731dae661bd512c8531918d8f69e977b2acc992f683678761fa1cb9d88b5454cae9b7e3abdbb5d273b42c0a36f8842084369ccfd6e1a0143760d26bf52cf7
7
- data.tar.gz: b824829e84e030748ef6808e3acd7b84744d7127baf6afa23e7904825cd7d0d4ade4f89ce34f5f9f91d1e053b8635f4a109e0a7e3150913556828415450d2b85
6
+ metadata.gz: 657ba77190d8707641aa2163d75342f150a021f1a6575862335b5a5d948c27801e3d1827353a5ce2db008a54932f9910bedc11ff97b66e68a2fbe58a9fbc18fc
7
+ data.tar.gz: 941e7c81ce62851f4c5b7afe18028cb0033168f4d9ef99f3e902695d2ea5ed2352f7818a9e5e1908f1b3a8b7c40250b0c0bed5b9e1f5361b7abc3a544353b028
data/.rubocop.yml CHANGED
@@ -4,3 +4,6 @@ inherit_gem:
4
4
  AllCops:
5
5
  TargetRubyVersion: 2.6
6
6
  SuggestExtensions: false
7
+
8
+ Layout/HashAlignment:
9
+ EnforcedColonStyle: table
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-lsp (0.1.5)
4
+ rubocop-lsp (0.1.6)
5
5
  language_server-protocol (>= 3.16)
6
6
  rubocop (>= 1.0)
7
7
 
@@ -61,8 +61,11 @@ module Model
61
61
  def doc_url
62
62
  @doc_url ||= begin
63
63
  anchor = cop_name.downcase.gsub(%r{/}, "")
64
+ docs_url_template = DOCS_URLS[badge.department]
64
65
 
65
- format(DOCS_URLS[badge.department], anchor: anchor)
66
+ return unless docs_url_template
67
+
68
+ format(docs_url_template, anchor: anchor)
66
69
  end
67
70
  end
68
71
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Lsp
5
- VERSION = "0.1.5"
5
+ VERSION = "0.1.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-lsp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-05 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop