Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.bundle/
Gemfile.lock
pkg
8 changes: 8 additions & 0 deletions Development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Releasing a new version

1. To release a new version, update the version number in
`git-game.spec` and commit your changes.

2. Run `rake release`. This will create a git tag for the version,
push git commits and tags, and push the `.gem` file to
[rubygems.org](https://rubygems.org).
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in git-game.gemspec
gemspec
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ The goal is to get the longest streak! (It's harder than you think...)

## How do I play?

- [Download the `git-game` executable](https://github.com/jsomers/git-game/releases/tag/1.2)
- Put it somewhere on your PATH (like /usr/local/bin)
- `gem install git-game` (or perform [manual installation](#manual-installation)).
- Then, in any git repository, run `git game`
- (If you'd like, you can select a subset of commits, for example, `git game --after={2014-08-08}`. For more options, see [http://gitref.org/inspect/](http://gitref.org/inspect/).)

### Manual Installation

- [Download the `git-game` executable](https://github.com/jsomers/git-game/releases/tag/1.2)
- Put it somewhere on your PATH (like /usr/local/bin)

## Requirements

- Requires Ruby >1.8
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require "bundler/gem_tasks"
File renamed without changes.
15 changes: 15 additions & 0 deletions git-game.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# coding: utf-8

Gem::Specification.new do |spec|
spec.name = "git-game"
spec.version = 1.1
spec.authors = ["jsomers"]
spec.summary = %q{The git committer guessing game!}
spec.homepage = "https://github.com/jsomers/git-game"
spec.license = "MIT"

spec.executables = 'git-game'

spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
end