
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
rake routes
command for Sinatra applications for printing out all defined routes.
Install by adding the following to your Gemfile:
gem 'sinatra-rake-routes'
Add the below code to your Rakefile. Make sure to require sinatra-rake-routes/tasks
after the :configure_routes
task is defined, otherwise it won't be picked up correctly.
# Rakefile
task :configure_routes do
require "sinatra-rake-routes"
# Tell SinatraRakeRoutes what your Sinatra::Base application class is called:
require './my_app'
SinatraRakeRoutes.set_app_class(MyApp)
end
require "sinatra-rake-routes/tasks"
bundle exec rake routes
POST
/users
/users/:user_id/messages
GET
/users/:user_id
/users/:user_id/messages
/users/:user_id/messages/:message_id
HEAD
/users/:user_id
/users/:user_id/messages
/users/:user_id/messages/:message_id
PUT
/users/:user_id
/users/:user_id/messages/:message_id
DELETE
/users/:user_id
FAQs
Unknown package
We found that sinatra-rake-routes demonstrated a not healthy version release cadence and project activity because the last version was released 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
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.