heroku_deploy 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/heroku_deploy.gemspec +2 -2
- data/lib/heroku_deploy/tasks.rb +7 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.14
|
data/heroku_deploy.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{heroku_deploy}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.14"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ross Hale", "Chris Lemcke"]
|
12
|
-
s.date = %q{2010-07-
|
12
|
+
s.date = %q{2010-07-13}
|
13
13
|
s.description = %q{Deploy strategy and scripts for Heroku.}
|
14
14
|
s.email = %q{rosshale@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/heroku_deploy/tasks.rb
CHANGED
@@ -80,12 +80,16 @@ class HerokuDeploy
|
|
80
80
|
puts "Creating #{staging_app} Heroku app"
|
81
81
|
puts ""
|
82
82
|
`heroku app:create #{staging_app}`
|
83
|
+
`heroku config:add RACK_ENV=staging --app #{staging_app}`
|
84
|
+
`git remote rm heroku`
|
83
85
|
`heroku addons:add bundles:single --app #{staging_app}`
|
84
86
|
|
85
87
|
puts ""
|
86
88
|
puts "Creating #{production_app} Heroku app"
|
87
89
|
puts ""
|
88
90
|
`heroku app:create #{production_app}`
|
91
|
+
`heroku config:add RACK_ENV=production --app #{production_app}`
|
92
|
+
`git remote rm heroku`
|
89
93
|
`heroku addons:add bundles:single --app #{production_app}`
|
90
94
|
|
91
95
|
puts ""
|
@@ -175,11 +179,12 @@ class HerokuDeploy
|
|
175
179
|
`heroku bundles:capture backup-#{timestamp} --app #{app}`
|
176
180
|
puts "New Bundle Captured on Heroku: backup-#{timestamp}"
|
177
181
|
|
178
|
-
|
182
|
+
print "Waiting for Bundle to become available..."
|
179
183
|
while bundle_not_yet_captured?( app ) do
|
180
184
|
print "."
|
181
185
|
end
|
182
|
-
|
186
|
+
puts ""
|
187
|
+
|
183
188
|
if bundle_captured?( app )
|
184
189
|
puts "New Bundle Ready For Download"
|
185
190
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 14
|
10
|
+
version: 0.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ross Hale
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-07-
|
19
|
+
date: 2010-07-13 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|