Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use rubygems.org instead of gemcutter.org.

  • Loading branch information...
commit 33438bb6d1b50365b061b1265188dd8ae2a67660 1 parent 81985f4
@botandrose authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bard/check.rb
View
2  lib/bard/check.rb
@@ -1,7 +1,7 @@
class Bard < Thor
private
def auto_update!
- required = `curl -s http://gemcutter.org/api/v1/gems/bard.json`.match(/"version":"([0-9.]+)"/)[1]
+ required = `curl -s http://rubygems.org/api/v1/gems/bard.json`.match(/"version":"([0-9.]+)"/)[1]
if Versionomy.parse(Bard::VERSION) < Versionomy.parse(required)
original_command = [ENV["_"], @_invocations[Bard].first, ARGV].flatten.join(" ")
puts "bard gem is out of date... updating to new version"
Please sign in to comment.
Something went wrong with that request. Please try again.