Sha256: 28f40c482ac6659e8b7773a5bd926e2d66a6eda5e6098b8767306e4435a88eb7
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
= gemstalker GemStalker is a small library to determine if GitHub has built a gem yet. require 'gem_stalker' stalker = GemStalker.new(:username => 'technicalpickles', :repository => 'jeweler', :version => '0.7.2' if stalker.built? puts "zomg, it's built, im so telling everyone" if stalker.in_specfile? puts "sweeeet, i can install it nao" end end You can also omit the version, and it will take the version from the repository's gemspec on the master branch. Origin code borrowed and inspired by hasmygembuiltyet.org. Contributions from Jeff Rafter. == COPYRIGHT Copyright (c) 2009 Josh Nichols. See LICENSE for details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
technicalpickles-gemstalker-0.3.1 | README.rdoc |
technicalpickles-gemstalker-0.3.2 | README.rdoc |