heroku_rake_deploy 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/heroku_rake_deploy.gemspec +1 -2
- data/lib/heroku_rake_deploy/version.rb +1 -1
- data/lib/tasks/deploy.rake +2 -2
- metadata +10 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f582a111fe892b07a130333f793050d0b663f9b
|
4
|
+
data.tar.gz: cee5b0b457eccb8e94fddf1bfb207788b1a12e10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fda131c0af52924a356ad5ba97e38f497559b7ea3a17566897cd9fe2b243fd837b03a653cbde3b70a4610e0ce0eb67d76a60316bf406843d56ab2bbdcd50b247
|
7
|
+
data.tar.gz: b1092b9d267a716eb4d0d29f67984e54ef681c4bacaa3f92f744b9548c6272d799abd1160f4f115be3f77ec9f05bee04e2da28e9294a48bf88b26de9a2a01535
|
data/heroku_rake_deploy.gemspec
CHANGED
@@ -32,6 +32,5 @@ Gem::Specification.new do |spec|
|
|
32
32
|
|
33
33
|
spec.add_development_dependency "bundler", "~> 1.13"
|
34
34
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
-
spec.
|
36
|
-
spec.add_runtime_dependency "heroku_db_restore", "~> 0.0.2"
|
35
|
+
spec.add_runtime_dependency 'heroku_db_restore', '~> 0.0', '>= 0.0.5'
|
37
36
|
end
|
data/lib/tasks/deploy.rake
CHANGED
@@ -32,8 +32,8 @@ task :deploy do
|
|
32
32
|
#push up new code release
|
33
33
|
sh push_command_from_env(env)
|
34
34
|
|
35
|
-
#migrate database
|
36
|
-
sh "heroku run rake db:migrate
|
35
|
+
#migrate database
|
36
|
+
sh "heroku run rake db:migrate --app #{app_name}"
|
37
37
|
|
38
38
|
#restart dynos to ensure all users get the new released version immediately
|
39
39
|
sh "heroku restart --app #{app_name}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_rake_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nrowegt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -45,28 +45,20 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.0
|
49
|
-
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 0.0.2
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: heroku_db_restore
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
48
|
+
version: '0.0'
|
49
|
+
- - ">="
|
61
50
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.0.
|
51
|
+
version: 0.0.5
|
63
52
|
type: :runtime
|
64
53
|
prerelease: false
|
65
54
|
version_requirements: !ruby/object:Gem::Requirement
|
66
55
|
requirements:
|
67
56
|
- - "~>"
|
68
57
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.0
|
58
|
+
version: '0.0'
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.5
|
70
62
|
description: Tasks to run appllication deploys and db restores for heroku:pg databases
|
71
63
|
email:
|
72
64
|
- nrowegt@gmail.com
|
@@ -108,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
100
|
version: '0'
|
109
101
|
requirements: []
|
110
102
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.5
|
103
|
+
rubygems_version: 2.2.5
|
112
104
|
signing_key:
|
113
105
|
specification_version: 4
|
114
106
|
summary: Helpful Heroku Deploy Rake Tasks
|