New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jets-upgrade

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jets-upgrade

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Jets Upgrade

Gem Version

BoltOps Badge

BoltOps Learn Badge

This is a standalone CLI tool to help with jets upgrades.

  • It can handle going from Jets v3 or v4 to Jets v5.

Usage

cd old-jets-project
jets-upgrade go

Before proceeding, the tool will prompt you with a "Are you sure" message.

What It Does

Here are some of the things the tool does. It updates:

  • config/application.rb: to the new inherited based style
  • Rakefile: use Jets.application.load_tasks
  • Gemfile: update to add jets v5 related gems and comment out the current ones in your Gemfile
  • config/environment: update environment files to new config settings
  • controllers: updates controller to use def destroy instead of def delete

Important

It's unfeasible to account for all cases and Jets apps. This script cannot perform miracle upgrades. It's a best-effort script, and the hope is that this script gets you pretty far and is helpful. 😄

Install

gem install jets-upgrade

Javascript Option

By default, the jets-upgrade go command also tries to upgrade JavaScript. Jets v5 goes from webpacker to importmap. So, the node-related files are no longer needed. The upgrade command will remove node-related files. If you do not want this behavior, use the --no-javascript option.

Docs

Jets Upgrade Docs

FAQs

Package last updated on 08 Dec 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc