smartcloud 0.0.209 → 0.0.210

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: d03b804d5d75667fd48fe4be369d4ab3e2716b1ba3df87dcd77594fbb1f6f100
4
- data.tar.gz: 6ed2dcc85c6a23678c6aa277f10d8af47f324ac364f6f8602695ab57d5a2f4e1
3
+ metadata.gz: 3bf623554630c75acfa9f52774cd43895f4c0f7011d5e85e09cb2354ce998d5f
4
+ data.tar.gz: 6927b37194d934bdb535945ef0b1f2c03114a6f22a0c4f521c16874cf771efd4
5
5
  SHA512:
6
- metadata.gz: 7ab7ce146c7193bf3f9c66c8b85ffebb294bdc2d9269a5030411ca2133166398f1599d3d776a8a31b047041078904f92c0216354132c9d7c092a9d5683c7308c
7
- data.tar.gz: c5af39503b1f553fc70be960a51af6ab51729a96a0bc9f48039a9559f880236633de2954277fabd9e82e6c656431fc7166f76bd89c5f6eda899b8b2ced65ace6
6
+ metadata.gz: 2bbdd5c3489d85920d70a6ec17382541b7e63a7fbda1cbf3d363035204bb47e540780d8caa5abaf68d38b0f54c5832aa853c36b9347a57bcc15475b9afad9c2a
7
+ data.tar.gz: f2c71b2eb92d39ef20125c45a53050fef60f3c74160b32a79d60379801f3fb14f823f411018b7a795f0b6f3fcdd26ed6e90eac892cf3b05830c2072a39a536cf
@@ -323,7 +323,8 @@ 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 = container_id.empty? ? "#{appname}_1" : "#{appname}_2"
327
+ old_container = container_id.empty? ? "#{appname}_2" : "#{appname}_1"
327
328
 
328
329
  self.stop_app("#{new_container}")
329
330
  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.209
4
+ version: 0.0.210
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard