Readme.md in ruby-lsp-shoulda-context-0.4.0 vs Readme.md in ruby-lsp-shoulda-context-0.4.1
- old
+ new
@@ -1,17 +1,18 @@
+[![Gem Version](https://badge.fury.io/rb/ruby-lsp-shoulda-context.svg)](https://badge.fury.io/rb/ruby-lsp-shoulda-context)
+![Build Status](https://github.com/domingo2000/ruby-lsp-shoulda-context/actions/workflows/main.yml/badge.svg)
+
# RubyLsp::ShouldaContext
This gem provides support for [shoulda-context](https://github.com/thoughtbot/shoulda-context) using [ruby-lsp](https://github.com/Shopify/ruby-lsp/blob/main/lib/rubocop/cop/ruby_lsp/use_register_with_handler_method.rb)
## Installation
-TODO: Replace `ruby-lsp-shoulda-context` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
+Add the gem to the application's Gemfile `:development` group:
-Install the gem and add to the application's Gemfile by executing:
+ gem 'ruby-lsp-shoulda-context', '~> 0.4.0', require: false
- bundle add ruby-lsp-shoulda-context
-
If bundler is not being used to manage dependencies, install the gem by executing:
gem install ruby-lsp-shoulda-context
## Usage
@@ -39,10 +40,10 @@
## Roadmap
- [x] Make context runnable
- [x] Make should with string runnable
- [x] Make should with method runnable
-- [ ] Make exec method conditional to rails or Minitest setup
+- [x] Make exec method conditional to rails or Minitest setup
- [x] Make inner context or inner should with collissions with outer DSL not collide using full name of the test (Currently if 2 tests have the same name both are executed)
- [x] Provide grouping with classes that ends with "..Test" syntax (Note: The codelens is duplicated becuase lsp support minitest by default and LSP responses are merged)
- [ ] Provide support for Inner Classes
**Note**: This project is in very early stage and could have major bugs