bard 0.8.16 → 0.8.17
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bard.gemspec +1 -1
- data/lib/bard/check.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.17
|
data/bard.gemspec
CHANGED
data/lib/bard/check.rb
CHANGED
@@ -3,7 +3,7 @@ class Bard < Thor
|
|
3
3
|
def auto_update!
|
4
4
|
required = `curl -s http://gemcutter.org/api/v1/gems/bard.json`.match(/"version":"([0-9.]+)"/)[1]
|
5
5
|
if Versionomy.parse(Bard::VERSION) < Versionomy.parse(required)
|
6
|
-
original_command = [ENV["_"], @_invocations[Bard], ARGV].flatten.join(" ")
|
6
|
+
original_command = [ENV["_"], @_invocations[Bard].first, ARGV].flatten.join(" ")
|
7
7
|
puts "bard gem is out of date... updating to new version"
|
8
8
|
exec "gem install bard && #{original_command}"
|
9
9
|
end
|