pero 0.5.6 → 0.5.7

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: 987ee0dddd45d8f05e4a1ca60cfe2df83a31542e2793931ddfda01446f3bbe1b
4
- data.tar.gz: 791d656dc30d9530316a10fa5b7dc08c69e7089d24a5b040f884435a44f4f038
3
+ metadata.gz: 5f292ef6092bf2aadcccca0a70fbf2257d273f0e2fded39752b8817d6920c334
4
+ data.tar.gz: 31d236c3533a6981aedf8d90d60b835561b64e50cfb5b643755f572e68003613
5
5
  SHA512:
6
- metadata.gz: 1745f07c1634fc170bd6b34c5f2332627a86d2352645045919cdd26e5cf57a3b6bb32e69606b2be4f7dbc6272153905f36095699062a89d047c2e1e54dacd330
7
- data.tar.gz: e866274608d76736a53f74f0d9e2b0503c55e200548b1df204059743daca66c7cb208ff387cd9ffcd9bbe170fbd6cc7beb433822ffd55b4c4809104982b537a4
6
+ metadata.gz: eccbb2a3cdf32be14329cc7e2386151c6943519cd5123066e35d04b7032206d6c066623fa87af0a6cf350e7a7b9027df0bf6320a1fac674bd3107c40fa66a9b4
7
+ data.tar.gz: 8e179117e5ee50dc539a8f67d8308f9fe2928b6f1036eeddddd1f43e882e0784d8695c9aafa0d32c637953226dd9bb65091921bb7d0fe2a97c40a0d97b6b815d
data/lib/pero/puppet.rb CHANGED
@@ -94,7 +94,7 @@ module Pero
94
94
  @mutex.lock
95
95
  run_container.kill if docker.alerady_run?
96
96
  ensure
97
- @mutex.unlock
97
+ @mutex.unlock if @mutex.owned?
98
98
  end
99
99
 
100
100
  def serve_master
@@ -115,7 +115,7 @@ module Pero
115
115
  @mutex.lock
116
116
  docker.alerady_run? || docker.run
117
117
  ensure
118
- @mutex.unlock
118
+ @mutex.unlock if @mutex.owned?
119
119
  end
120
120
 
121
121
  def apply
data/lib/pero/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pero
2
- VERSION = '0.5.6'
2
+ VERSION = '0.5.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86