ruby-lsp-shoulda-context 0.4.6 → 0.4.7

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: 04f22ddf8c9f78095c72ec291d1a33d4287e85f0623565d135241d987003fe46
4
- data.tar.gz: 766a0c8df442e9229cfa3cdc6bc74cdafba99a9595db8c67a536bd301089ba85
3
+ metadata.gz: 3a32d34e9c2eab56b23bfc41b0f6abb7896c8d21dc44128cf50e8fce94a0fb06
4
+ data.tar.gz: d1fb00bb6a24b053e8161e0c2b408c586d49f747cf6f263c4b7bef3e110f7a72
5
5
  SHA512:
6
- metadata.gz: b9b0037ba9db4ed0e33dc434c23406b4320f77ec52e81b14eba24d6b369ca0b7aa6221cb0fe0a1c560829f00bdfac9131f139118b30d8a99c9b3cb5b87c22b37
7
- data.tar.gz: 86e4768315a0f789705d69c3e784a87f017911feb74be269c2eb5d989605496fcec3dd3522b53108c4efc2bc44ed84757e6ec7603af5f908fc15ff59149baa56
6
+ metadata.gz: 6c9df145460415fcf9327f3cd8e60309b2963f7f35438bbf6aad3bda77b351a940e514d38be28b9daf271c42c262636ecd05c7cdc641aa199235352762da74ad
7
+ data.tar.gz: 3853a79f2c6108249cfac4b09da8d7df1800ce8c83008ceaf209004a0d606e26a970f1cc2a6235ab714ca59f4c8f3be5a4b694be51600974a4904d547be23a56
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ## [Unreleased]
2
+ ## [0.4.7] - 2024-11-18
3
+ - Updated Ruby LSP version to 0.21.0 and changed version dependency locking in gemspec to version constraint vía [RubyLSP constraint](https://github.com/Shopify/ruby-lsp/pull/2638) to make it more forward compatible.
2
4
  ## [0.4.6] - 2024-08-31
3
5
  - Updated Ruby LSP version to 0.17.17
4
6
  ## [0.4.5] - 2024-07-12
@@ -6,6 +6,9 @@ require "ruby_lsp/internal"
6
6
  require "dotenv/load"
7
7
 
8
8
  require_relative "code_lens"
9
+ require_relative "../shoulda_context/version"
10
+
11
+ RubyLsp::Addon.depend_on_ruby_lsp!("~> 0.21.0")
9
12
 
10
13
  module RubyLsp
11
14
  module ShouldaContext
@@ -30,6 +33,10 @@ module RubyLsp
30
33
  def create_code_lens_listener(response_builder, uri, dispatcher)
31
34
  CodeLens.new(response_builder, uri, dispatcher, @global_state)
32
35
  end
36
+
37
+ def version
38
+ RubyLsp::ShouldaContext::VERSION
39
+ end
33
40
  end
34
41
  end
35
42
  end
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RubyLsp
5
5
  module ShouldaContext
6
- VERSION = "0.4.6"
6
+ VERSION = "0.4.7"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp-shoulda-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domingo Edwards
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -30,26 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.0'
33
- - !ruby/object:Gem::Dependency
34
- name: ruby-lsp
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: 0.17.17
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.17.17
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: 0.17.17
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.17.17
53
33
  description: An addon for the Ruby LSP that enables shoulda-context testing
54
34
  email:
55
35
  - domingo.edwards@uc.cl