solargraph-rspec 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 564e27d7603007e361d842c417b1baca62c166806ade9887b2c18971b30a2142
4
- data.tar.gz: 9f4ce7fe9e22d8bfd6687732f54c7ec3b11b44af79c300ac4041819e3f594da8
3
+ metadata.gz: 24c1205ed3940572fa4426a348213279990036bd48d6f097dfec5be2e81fcac5
4
+ data.tar.gz: 26397bb59d638a2de7e64e30cc5687d5247feb23662c071a5eba85aadb71707b
5
5
  SHA512:
6
- metadata.gz: fc3f3fd7e8cde55700c1b19bf9dc460ebc4d302d1edda3ea0983d1ee275f43717191a39282b827f04811761123fff0127582485b08cb9411289f7684770dcdbf
7
- data.tar.gz: 7eb9d7ae7f4b3df3ad9e201d1a127a43279f7a116199674b12f4eeb39846c2454ba7b0c5c7fc3c76d4eec5851f44d31a1452d4602974ca890213913b793abafc
6
+ metadata.gz: 96641c86e4c32dcafa422efe61825c768ae1a7620c67d3004c4d7b0f5b794f25baaee0c11abd77c7a6b1df2cf0bb5c9beaaf0d6893ba2cf593f23b9022ce1b22
7
+ data.tar.gz: e79b218d6df5102e1bb26d1b15deffc80cfb353f5b3f394492ea5c62001df507623828e3e7b50fafa74faf33c8d92587a31643fc696875d74264a585626a16c6
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.5.2] - 2025-06-26
11
+
12
+ ### Fixed
13
+
14
+ - Prevent issues for solargraph prism update (c574b4d)
15
+
16
+ ## [0.5.1] - 2025-04-05
17
+
18
+ ### Fixed
19
+
20
+ - Exclude doc/ directory from gemspecs - reduce gem size
21
+
10
22
  ## [0.5.0] - 2025-04-05
11
23
 
12
24
  ### Changed
@@ -10,7 +10,8 @@ module Solargraph
10
10
  class << self
11
11
  # Transforms let block to method ast node
12
12
  # @param block_ast [RubyVM::AbstractSyntaxTree::Node]
13
- # @return [RubyVM::AbstractSyntaxTree::Node, ::Parser::AST::Node, nil]
13
+ # @param code [String] code
14
+ # @return [::Parser::AST::Node, nil]
14
15
  def transform_block(block_ast, code, method_name = nil)
15
16
  method_name ||= NodeTypes.let_method_name(block_ast)
16
17
 
@@ -24,7 +25,7 @@ module Solargraph
24
25
  (block_ast.first_lineno - 1)..(block_ast.last_lineno - 1)
25
26
  ].join("\n")
26
27
 
27
- let_definition_ast = ::Parser::CurrentRuby.parse(let_definition_code)
28
+ let_definition_ast = Solargraph::Parser.parse(let_definition_code)
28
29
  method_body = let_definition_ast.children[2]
29
30
  ::Parser::AST::Node.new( # transform let block to a method ast node
30
31
  :def,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Solargraph
4
4
  module Rspec
5
- VERSION = '0.5.0'
5
+ VERSION = '0.5.2'
6
6
  end
7
7
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.files = Dir.chdir(__dir__) do
22
22
  `git ls-files -z`.split("\x0").reject do |f|
23
23
  (File.expand_path(f) == __FILE__) ||
24
- f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
24
+ f.start_with?(*%w[bin/ test/ spec/ features/ doc/ .git .circleci appveyor Gemfile])
25
25
  end
26
26
  end
27
27
  spec.bindir = 'exe'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lekë Mula
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: solargraph
@@ -46,10 +46,6 @@ files:
46
46
  - README.md
47
47
  - Rakefile
48
48
  - codecov.yml
49
- - doc/images/3rd_party_matchers.png
50
- - doc/images/one_liners_demo.gif
51
- - doc/images/vim_demo.gif
52
- - doc/images/vscode_demo.gif
53
49
  - gemfiles/.bundle/config
54
50
  - gemfiles/default.gemfile
55
51
  - gemfiles/default.gemfile.lock
@@ -96,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
92
  - !ruby/object:Gem::Version
97
93
  version: '0'
98
94
  requirements: []
99
- rubygems_version: 3.6.3
95
+ rubygems_version: 3.6.9
100
96
  specification_version: 4
101
97
  summary: Solargraph plugin supporting RSpec code completion
102
98
  test_files: []
Binary file
Binary file
Binary file
Binary file