
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
ruby-lsp-cell is an addon for [Ruby LSP][ruby-lsp] that adds smart CodeLens links and navigation helpers for projects that use [ViewComponent::Cell][cells] or any other Cell-based view layer. Its goal is to make jumping between a Cell class and its ERB/Haml template.
Add this line to your application's Gemfile:
gem 'ruby-lsp-cell'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install ruby-lsp-cell
Create (or edit) .vscode/settings.json
in your project root:
{
"rubyLsp.addonSettings": {
"Ruby LSP Cell": {
"enabled": true,
"defaultViewFileName": "show.erb"
}
}
}
When you open app/cells/user_cell.rb
Ruby LSP Cell inserts a single Go to template CodeLens in two places:
app/cells/user/show.erb
unless you changed defaultViewFileName
in .vscode/settings.json
).render
– jumps to the template rendered by that method.After checking out the repo, run bin/setup
to install dependencies. Then, run bundle exec rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To release a new version, update the version number in version.rb
.
Bug reports and pull requests are welcome on GitHub at https://github.com/guzmanem/ruby-lsp-cell.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that ruby-lsp-cell demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.