bard 0.14.1 → 0.14.2

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 +5 -1
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.14.1
1
+ 0.14.2
data/bard.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard}
8
- s.version = "0.14.1"
8
+ s.version = "0.14.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Micah Geisel}, %q{Nick Hogle}]
12
- s.date = %q{2011-07-26}
12
+ s.date = %q{2011-08-16}
13
13
  s.description = %q{This immaculate work of engineering genius allows mere mortals to collaborate with beings of transcendent intelligence like Micah, Michael, and Nick.}
14
14
  s.email = %q{info@botandrose.com}
15
15
  s.executables = [%q{bard}]
data/lib/bard.rb CHANGED
@@ -41,7 +41,11 @@ class Bard < Thor
41
41
  desc "data [ROLE=production]", "copy database and assets down to your local machine from ROLE"
42
42
  def data(role = "production")
43
43
  ensure_sanity!(true)
44
- exec "cap data:pull ROLES=#{role}"
44
+ if role == "production" and heroku?
45
+ exec "heroku db:pull --confirm #{project_name}"
46
+ else
47
+ exec "cap data:pull ROLES=#{role}"
48
+ end
45
49
  end
46
50
 
47
51
  method_options %w( verbose -v ) => :boolean
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 37
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 1
10
- version: 0.14.1
9
+ - 2
10
+ version: 0.14.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Micah Geisel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-26 00:00:00 Z
19
+ date: 2011-08-16 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  requirement: &id001 !ruby/object:Gem::Requirement