Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gem-insight

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gem-insight

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem::Insight

GemInsight is a Ruby gem that provides insights into the gems listed in a Rails application's Gemfile. It fetches details about each gem from the RubyGems API and displays them in an organized manner.

Installation

Add this line to your application's Gemfile::

$ gem 'gem-insight'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install gem-insight

Usage

GemInsight is designed to be used as a Rails Engine gem. After adding the gem to your Gemfile and running bundle install, you can access the GemInsight dashboard at http://localhost:3000/gem-insight (assuming your Rails server is running on the default port).

The dashboard will display a table containing details about each gem listed in your Gemfile. The details include the gem's name, current version, latest available version, recent release date, compatibility, documentation URL, GitHub repository, rubygem URL and changelog.

Once you've installed and included the GemInsight gem in your Rails application, you can directly visit the dashboard URL(/gem-insight) to view the gem details.

Features

  • Fetches gem details from the RubyGems API
  • Displays gem details in a user-friendly dashboard
  • Organizes gem information in a tabular format
  • Handles errors gracefully in case of API fetch failures
  • Provides insights into the gems used in your Rails application
  • Provides one-click gem management, allowing users to upgrade, downgrade, or remove gems effortlessly.
Geminsight Dashboard
Screenshot 2023-07-31 at 3 26 01 AM
Upgrade Gem
Screenshot 2023-07-31 at 3 28 09 AM
Downgrade Gem
Screenshot 2023-07-31 at 3 26 20 AM
Remove Gem
Screenshot 2023-07-31 at 3 26 30 AM

Development

  • Clone the GemInsight repository to your local machine.
  • Install the required gem dependencies using bundle install.
  • Run tests to ensure the gem's functionality is maintained.
  • Use the included dummy Rails application to test the gem in a real-world scenario.
  • Create a new branch for your changes and make desired code modifications.
  • Run tests again to ensure everything is functioning correctly after your changes.
  • Adhere to the Ruby Style Guide for consistent code formatting.
  • Report bugs and suggest new features by opening an issue on the GitHub repository.
  • Follow Semantic Versioning for versioning.
  • Encourage community engagement and contributions to the project.

Contributing

Contributions are welcome! If you find a bug or want to suggest an enhancement, please open an issue on GitHub. If you want to contribute code, fork the repository, create a new branch, and submit a pull reques

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Gem::Insight project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 31 Jul 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