bard 0.13.2 → 0.14.0
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.
- data/VERSION +1 -1
- data/bard.gemspec +2 -2
- data/lib/bard.rb +9 -1
- metadata +5 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.14.0
|
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.
|
|
8
|
+
s.version = "0.14.0"
|
|
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-
|
|
12
|
+
s.date = %q{2011-07-05}
|
|
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
|
@@ -93,7 +93,11 @@ class Bard < Thor
|
|
|
93
93
|
|
|
94
94
|
invoke :ci
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
if heroku?
|
|
97
|
+
run_crucial "git push production", options.verbose?
|
|
98
|
+
else
|
|
99
|
+
run_crucial "cap deploy", options.verbose?
|
|
100
|
+
end
|
|
97
101
|
|
|
98
102
|
puts green("Deploy Succeeded")
|
|
99
103
|
end
|
|
@@ -139,6 +143,10 @@ class Bard < Thor
|
|
|
139
143
|
end
|
|
140
144
|
|
|
141
145
|
private
|
|
146
|
+
def heroku?
|
|
147
|
+
`git remote -v`.include? "production\tgit@heroku.com:"
|
|
148
|
+
end
|
|
149
|
+
|
|
142
150
|
def ci_host
|
|
143
151
|
"http://botandrose:thecakeisalie!@ci.botandrose.com/job/#{project_name}"
|
|
144
152
|
end
|
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:
|
|
4
|
+
hash: 39
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 14
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.14.0
|
|
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-
|
|
19
|
+
date: 2011-07-05 00:00:00 Z
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|