bard 0.8.22 → 0.8.23

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 (4) hide show
  1. data/VERSION +1 -1
  2. data/bard.gemspec +2 -2
  3. data/lib/bard.rb +3 -3
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.22
1
+ 0.8.23
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard}
8
- s.version = "0.8.22"
8
+ s.version = "0.8.23"
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"]
12
- s.date = %q{2010-03-04}
12
+ s.date = %q{2010-03-06}
13
13
  s.default_executable = %q{bard}
14
14
  s.description = %q{This immaculate work of engineering genius allows mere mortals to collaborate with beings of transcendent intelligence like Micah, Michael, and Nick.}
15
15
  s.email = %q{info@botandrose.com}
@@ -40,7 +40,7 @@ class Bard < Thor
40
40
 
41
41
  desc "data", "copy production database down to your local machine"
42
42
  def data
43
- ensure_sanity!
43
+ ensure_sanity!(true)
44
44
  exec "cap data:pull"
45
45
  end
46
46
 
@@ -111,11 +111,11 @@ class Bard < Thor
111
111
  end
112
112
 
113
113
  private
114
- def ensure_sanity!
114
+ def ensure_sanity!(dirty_ok = false)
115
115
  auto_update!
116
116
  check_dependencies
117
117
  raise NotInProjectRootError unless File.directory? ".git"
118
118
  raise OnMasterBranchError if current_branch == "master"
119
- raise WorkingTreeDirtyError unless `git status`.include? "working directory clean"
119
+ raise WorkingTreeDirtyError unless `git status`.include? "working directory clean" unless dirty_ok
120
120
  end
121
121
  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.22
4
+ version: 0.8.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-03-04 00:00:00 -08:00
13
+ date: 2010-03-06 00:00:00 -08:00
14
14
  default_executable: bard
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency