Sha256: 2fbf7483a141c0dfcb923f2a2f77955fcd0308508814d089652b6f6167f65096

Contents?: true

Size: 1.19 KB

Versions: 7

Compression:

Stored size: 1.19 KB

Contents

# Gem Version Checker

Check gem dependencies of ruby apps and generate report.

At XING we use this gem in combination with jenkins to automatically check on gem versions across our many projects.

## Installation

    gem install gem_version_check

## Usage

Use the Github project name:

    gem_version_check fdietz/team_dashboard

Use any url to a Gemfile.lock:

    gem_version_check https://raw.github.com/fdietz/team_dashboard/raw/master/Gemfile.lock

## Configuration

Use --host option if you use Enterprise Github:

    gem_version_check fdietz/team_dashboard --host github.mycompany.com

Use --only option if you want to specify the list of gems

    gem_version_check fdietz/team_dashboard --only activesupport,rspec

Use --except option if you want to exclude certain gems from the check

    gem_version_check fdietz/team_dashboard --except activesupport,rspec

Use --output-format if you want different formats

    gem_version_check fdietz/team_dashboard --output-format=json

## Example Report

### Pretty Print

Example command: gem_version_check fdietz/team_dashboard --only activesupport,rspec

Output:

    Project: fdietz/team_dashboard
     * activesupport:  != 3.2.8
     * rspec:  != 2.11.0

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gem_version_check-0.5.1 README.md
gem_version_check-0.5.0 README.md
gem_version_check-0.5.2 README.md
gem_version_check-0.4.1 README.md
gem_version_check-0.4.0 README.md
gem_version_check-0.3.1 README.md
gem_version_check-0.3.0 README.md