smartcloud 0.0.70 → 0.0.71
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee08889ae10dfb0d7eb0f43403f4ea11d29b3bdc7254207f417cb33da501dc67
|
|
4
|
+
data.tar.gz: 5372dff2796b822a0963adc3b76b90de13a07ae28d9170f9936867c714a48a97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21ab881917752c66e57b4478042e67079c636131a0a4ef905a1429989907be220926b098c06279a262695f9d244c068153d19524e6b5a873163dff4edc60614b
|
|
7
|
+
data.tar.gz: 7cf476e0a013451cb5433452af87ae4be611a048d94f3015111763ea54ba99b43c43e32bb22ac556b61f454e1402affa0413832f7e0c3b62a48f11f802bb3e1c
|
|
@@ -198,7 +198,7 @@ module Smartcloud
|
|
|
198
198
|
end
|
|
199
199
|
end
|
|
200
200
|
end
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
def self.destroy_app(appname)
|
|
203
203
|
if Smartcloud::Docker.running?
|
|
204
204
|
# Stopping & Removing old container
|
|
@@ -298,11 +298,11 @@ module Smartcloud
|
|
|
298
298
|
if File.exist? "#{container_path_with_now_date}/bin/rails"
|
|
299
299
|
# Stopping & Removing container
|
|
300
300
|
self.stop_app(appname)
|
|
301
|
-
|
|
301
|
+
|
|
302
302
|
# Starting Rails App
|
|
303
303
|
self.start_app_rails(appname, container_path, container_path_with_now_date)
|
|
304
304
|
end
|
|
305
|
-
end
|
|
305
|
+
end
|
|
306
306
|
end
|
|
307
307
|
|
|
308
308
|
# This line is important to cancel pre-receive push if finally the app could not be started.
|
|
@@ -325,7 +325,7 @@ module Smartcloud
|
|
|
325
325
|
end
|
|
326
326
|
end
|
|
327
327
|
end
|
|
328
|
-
|
|
328
|
+
|
|
329
329
|
def self.start_app_rails(appname, container_path, container_path_with_now_date)
|
|
330
330
|
puts "-----> Ruby on Rails application detected"
|
|
331
331
|
|