bard 0.8.13 → 0.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bard.gemspec +1 -1
  3. data/lib/bard.rb +2 -2
  4. data/lib/bard/check.rb +1 -2
  5. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.13
1
+ 0.8.14
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.13"
8
+ s.version = "0.8.14"
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.rb CHANGED
@@ -103,8 +103,8 @@ class Bard < Thor
103
103
  ensure_sanity!
104
104
 
105
105
  run_crucial "git fetch"
106
- run_crucial "git checkout master && git reset --hard origin master"
107
- run_crucial "git checkout integration && reset --hard origin integration"
106
+ run_crucial "git checkout master && git reset --hard origin/master"
107
+ run_crucial "git checkout integration && git reset --hard origin/integration"
108
108
  run_crucial "rake bootstrap RAILS_ENV=staging"
109
109
  end
110
110
 
data/lib/bard/check.rb CHANGED
@@ -1,12 +1,11 @@
1
1
  class Bard < Thor
2
2
  private
3
3
  def auto_update!
4
- original_command = [ENV["_"], @_invocations[Bard], ARGV].flatten.join(" ")
5
4
  required = `curl -s http://gemcutter.org/api/v1/gems/bard.json`.match(/"version":"([0-9.]+)"/)[1]
6
5
  if Versionomy.parse(Bard::VERSION) < Versionomy.parse(required)
7
6
  original_command = [ENV["_"], @_invocations[Bard], ARGV].flatten.join(" ")
8
7
  puts "bard gem is out of date... updating to new version"
9
- exec "gem install bard && echo 'complete. please rerun bard task.'"
8
+ exec "gem install bard && #{original_command}"
10
9
  end
11
10
  if options.verbose?
12
11
  puts green("#{"bard".ljust(9)} (#{Bard::VERSION})")
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.13
4
+ version: 0.8.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel