rumination 0.14.8 → 0.14.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumination/deploy/class_methods.rb +4 -0
- data/lib/rumination/tasks/deploy.rake +3 -0
- data/lib/rumination/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763926fc6611083973bd4cb97316616c5b07ecc6
|
4
|
+
data.tar.gz: f2170c17e7440bddc2ad6c4a0a88976d47fc3362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e70b5d86705923a0e7181720a9d5bbdcb9363b73caa3ed9f05b60adc263e32866578557fb5215969024cfdc941c094720f70b778b2b664256e617f6fee73647f
|
7
|
+
data.tar.gz: '09919ac682f82baf565e8e02b4dfbea85e786137266eccd3da35a5cb60a8419c0878c8f467d88e2e4f2d2c2a57c293e7a6d4fa5d922debc36948322551d7413d'
|
@@ -98,6 +98,9 @@ module DeployTasks
|
|
98
98
|
if Rumination::Deploy.development_target?
|
99
99
|
sh "docker-compose run --rm #{app_container_name} bundle install"
|
100
100
|
end
|
101
|
+
if Rumination::Deploy.migrate_on_deploy?
|
102
|
+
sh "docker-compose run --rm #{app_container_name} rake db:migrate"
|
103
|
+
end
|
101
104
|
sh "docker-compose up -d"
|
102
105
|
end
|
103
106
|
|
data/lib/rumination/version.rb
CHANGED