heroku-deploy 0.0.3 → 0.0.4
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/lib/heroku-deploy/version.rb +1 -1
- data/lib/tasks/backup.rake +1 -1
- data/lib/tasks/deploy.rake +1 -1
- metadata +3 -3
data/lib/tasks/backup.rake
CHANGED
|
@@ -36,7 +36,7 @@ namespace :heroku do
|
|
|
36
36
|
|
|
37
37
|
run("pg_restore --verbose --clean --no-acl --no-owner -h localhost -U postgres -d #{dbname} #{app}-db-bkup")
|
|
38
38
|
|
|
39
|
-
puts "-----> Backup
|
|
39
|
+
puts "-----> Backup restored...".green
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
desc "Restore heroku production database locally"
|
data/lib/tasks/deploy.rake
CHANGED
|
@@ -21,7 +21,7 @@ namespace :heroku do
|
|
|
21
21
|
puts "-----> Pushing application to heroku...".yellow
|
|
22
22
|
run "git push git@heroku.com:#{APP}.git HEAD:master -f"
|
|
23
23
|
|
|
24
|
-
puts "----->
|
|
24
|
+
puts "-----> Migrating...".yellow
|
|
25
25
|
run "heroku run rake db:migrate --app #{APP}"
|
|
26
26
|
|
|
27
27
|
puts "-----> Restarting...".yellow
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku-deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: colored
|
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
67
|
rubyforge_project:
|
|
68
|
-
rubygems_version: 1.8.
|
|
68
|
+
rubygems_version: 1.8.25
|
|
69
69
|
signing_key:
|
|
70
70
|
specification_version: 3
|
|
71
71
|
summary: A collection of rake tasks to make easy maintain a heroku application
|