Project

gh_compare

0.0
No commit activity in last 3 years
No release in over 3 years
Generate GitHub compare url
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.17
~> 10.0
~> 3.0
 Project Readme

GhCompare

Generate GitHub compare url like this.

Installation

Add this line to your application's Gemfile:

gem install gh_compare

Usage

gh_compare -n [number]

# e.g. Generates a comparison URL from 3 commits ago to HEAD
gh_compare -n 3
gh_compare -d [from-hash],[to-hash]

# e.g. Generate a comparison URL from [from-hash] to [to-hash]
gh_compare -d c794e7718ef18011b9d96f812f62f31608deeca8,45c38cac44e96ee2545f1e70dba80b23058309bf

Development

bundle install
bundle exec rspec

License

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

Code of Conduct

Everyone interacting in the GhCompare project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.