smartcloud 0.0.207 → 0.0.208

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 788fa21a06c014435ff7d5d4d169f752b961bfb3234ceb876c80d1bb7700f9d2
4
- data.tar.gz: 7450248485760c25c60b81d1ba6b2bf9a50ceee46f31f1b27a32138f33db00ef
3
+ metadata.gz: adafe9e2ccf72714c0082606352ca61345bd7350ff481d36756da5e3d5081898
4
+ data.tar.gz: 3d6ded3d6f1ef28480e127087d0af3adb6d802a630057f215aa17f002098c77a
5
5
  SHA512:
6
- metadata.gz: cf091b8aa54686f175192781a50dd0c1376a64198f80d5bafddc376005229f1b4f1ee87df7a2d357a455aead002666fef92d64935b729337172fab43247c0503
7
- data.tar.gz: f1be22ea9bc9d938b90fdaf1c3bbb29933c00f40e5044768061ca5fb5df83c5b0ad76db4cf9a391803b27a4cc56f9ebbe463d163697bb271b29b70e11d313602
6
+ metadata.gz: b03934f35ec7a363799e42cf55aee578edbd9f72112303a42bc9265de620f016739f8337b5d047f2f683be6f5cc002f0e1e5cf2170b45566eaf2e55a7239f0f3
7
+ data.tar.gz: 5ecf75135df067e5966d047c1cac1c3f2f5e0352fd6f8b74e48f6a416d62d0dd67ce542d6f947f26d18b225e0606323b47959905f3d7392b6384f957ed4a86dd
@@ -323,7 +323,7 @@ module Smartcloud
323
323
 
324
324
  # Creating & Starting container
325
325
  container_id = `docker ps -a -q --filter='name=^#{appname}_1$' --filter='status=running'`.chomp
326
- new_container, old_container = container_id.empty? ? "#{appname}_1", "#{appname}_2" : "#{appname}_2", "#{appname}_1"
326
+ new_container, old_container = container_id.empty? ? ("#{appname}_1", "#{appname}_2") : ("#{appname}_2", "#{appname}_1")
327
327
 
328
328
  self.stop_app("#{new_container}")
329
329
  if system("docker create \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.207
4
+ version: 0.0.208
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard