bard 0.8.16 → 0.8.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bard.gemspec +1 -1
  3. data/lib/bard/check.rb +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.16
1
+ 0.8.17
data/bard.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard}
8
- s.version = "0.8.16"
8
+ s.version = "0.8.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micah Geisel", "Nick Hogle"]
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.16
4
+ version: 0.8.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel