0.0
No release in over a year
GemCompatScan helps Ruby on Rails developers keep their project's dependencies up-to-date and ensure compatibility with their application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.12.0

Runtime

~> 1.2.0
~> 2.4
~> 0.2.2
 Project Readme

GemCompatScan

GemCompatScan is a Ruby gem that helps you scan your project's Gemfile, compare the currently used gem versions with the latest available versions, and generate a PDF report with the results.

Installation

Add this line to your application's Gemfile:

gem 'gem_compat_scan'

Usage

To use GemCompatScan, simply add below code in your project file

require 'gem_compat_scan'
GemCompatScan.run

This command will scan your project's Gemfile, compare the currently used gem versions with the latest available versions, and generate a PDF report named gem_updates_report.pdf in the same directory.

Example

Assuming you have the following Gemfile:

source 'https://rubygems.org'

gem 'rails', '6.0.3'
gem 'devise', '~> 4.7'
gem 'sidekiq', '6.2.1'

Running gem_compat_scan will generate a PDF report that looks like this:

Gem Updates Report

Gem: rails
Current Version: 6.0.3
Latest Version: 7.0.0

Gem: devise
Current Version: 4.7.0
Latest Version: 5.0.0

Gem: sidekiq
Current Version: 6.2.1
Latest Version: 6.3.0

Contributing

  • Fork the repository.
  • Create a feature branch (git checkout -b feature/my-feature).
  • Commit your changes (git commit -am 'Add some feature').
  • Push to the branch (git push origin feature/my-feature).
  • Create a new Pull Request.

License

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