Releases: lekemula/solargraph-rspec
Releases · lekemula/solargraph-rspec
v0.4.0
Full Changelog: v0.3.0...v0.4.0
v.0.4.0 - 2024-08-25
Added
-
Support for 3rd party helpers from most known RSpec extension libraries.
-
Implement RSpec one-liner syntax helpers:
is_expected
,should
andshould_not
v0.3.0
v0.2.2
Full Changelog: v0.2.1...v0.2.2
v0.2.2 - 2024-06-23
Fixed
- Suggest keeping
spec/**/*
in theexclude
section of.solargraph.yml
to avoid performance issues (see commit) - Fix
let
definitions when do/end keywords overlap with body definitionlet(:todo) do # "do" keyword overlap { 'todo' => 'end' # "end" keyword overlap } end
- Error handling in SpecWalker::FakeLetMethod
v0.2.1
Full Changelog: v0.2.0...v0.2.1
[0.2.1] - 2024-06-09
Added
- Documentation for
RSpec::ExampleGroups
DSL methods likeit
,fit
,example
etc.
Fixed
- Fix nameless
subject
method completion inside nestedcontext
blocks - (Hack-ish) Fix
described_class
type collision whenRSpec.describe SomeClassWithoutNamespace
v0.2.0
[0.2.0] - 2024-05-20
Added
let
andsubject
type inference 🚀 (Resolves: Issue #1)
Changed
- Migrate from
parser
gem to using ruby's built-in RubyVM::AbstractSyntaxTree (see why)
Fixed
- Fix subject without name block completion:
subject { ... }
- Fix subject return class overlap with
Rspec::ExampleGroups::
when class has no namespace
Full Changelog: v0.1.1...v0.2.0
v0.1.1
v0.1.0
Full Changelog: https://github.com/lekemula/solargraph-rspec/commits/v0.1.0
First Release 🎉
Added:
describe
andit
methods completion- memoized
let
andlet!
methods completion - implicit and explicit
subject
methods described_class
with appropriate type inferenceRSpec::Matchers
methods completion- Completes normal ruby methods within
describe/context
blocks - RSpec DSL suggestions (eg.
it
,describe
,fit
.. etc.)