heroku_deploy 0.0.13 → 0.0.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.13
1
+ 0.0.14
@@ -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.13"
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}
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 = [
@@ -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
- puts "Waiting for Bundle to become available..."
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: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
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-12 00:00:00 -07:00
19
+ date: 2010-07-13 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency