ruby-lsp 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,12 +25,15 @@ module RubyLsp
25
25
  sig { returns(T::Array[RuboCop::Cop::Offense]) }
26
26
  attr_reader :offenses
27
27
 
28
- DEFAULT_ARGS = T.let([
29
- "--stderr", # Print any output to stderr so that our stdout does not get polluted
30
- "--force-exclusion",
31
- "--format",
32
- "RuboCop::Formatter::BaseFormatter", # Suppress any output by using the base formatter
33
- ].freeze, T::Array[String])
28
+ DEFAULT_ARGS = T.let(
29
+ [
30
+ "--stderr", # Print any output to stderr so that our stdout does not get polluted
31
+ "--force-exclusion",
32
+ "--format",
33
+ "RuboCop::Formatter::BaseFormatter", # Suppress any output by using the base formatter
34
+ ].freeze,
35
+ T::Array[String],
36
+ )
34
37
 
35
38
  sig { params(args: String).void }
36
39
  def initialize(*args)
@@ -8,13 +8,16 @@ module URI
8
8
  class Source < URI::File
9
9
  extend T::Sig
10
10
 
11
- COMPONENT = T.let([
12
- :scheme,
13
- :gem_name,
14
- :gem_version,
15
- :path,
16
- :line_number,
17
- ].freeze, T::Array[Symbol])
11
+ COMPONENT = T.let(
12
+ [
13
+ :scheme,
14
+ :gem_name,
15
+ :gem_version,
16
+ :path,
17
+ :line_number,
18
+ ].freeze,
19
+ T::Array[Symbol],
20
+ )
18
21
 
19
22
  T.unsafe(self).alias_method(:gem_name, :host)
20
23
  T.unsafe(self).alias_method(:line_number, :fragment)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: language_server-protocol
@@ -44,20 +44,20 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 4.0.2
47
+ version: 5.0.0
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: 5.0.0
50
+ version: '6'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 4.0.2
57
+ version: 5.0.0
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: 5.0.0
60
+ version: '6'
61
61
  description: An opinionated language server for Ruby
62
62
  email:
63
63
  - ruby@shopify.com