capistrano-consul_kv_lock 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: 4bf44fabccbfc651c90fe736d86d43482637988a
4
- data.tar.gz: 9fb2c1d41f8fe68929dbb66cd066235cca84c6dc
3
+ metadata.gz: 6fd0041294b566d631588a2afe365188cdc31747
4
+ data.tar.gz: 71667821ebc017f7a00c0a5698333a7eb935c21f
5
5
  SHA512:
6
- metadata.gz: e859f7cb88484826a2a9ef6ca1aef7f7fc892fe6d9ea63f76e6c2943f65fb150e9f20667a8c80d400546ccdfd9ab267977a1239704f4f54850dace59c9fb83f1
7
- data.tar.gz: 1ae576c9efddb295121b622333e39ca82ea0beddc41abcaeba3ba3b386be65633841dfb79cc15bcff3359de5e46055a3f1ee3b21fbcd5a61b429aa5d6f03ef33
6
+ metadata.gz: d13769697cdf5165ad002d66cda3deedfda7d221f050d9a5abd8a5abab1e1a2ce0c4ccd49e0640bd4f29ce8663ea915d461e7a8bc31bfca2c9a14baec66a91fb
7
+ data.tar.gz: f678f7ad3e2a9fad508716dce5331e975323e3512f4f7a1a95448052c75dd343e8d2070c843c142fe71e0cf68d2ce69ddb2797b016fbfde600b38aee8ac4afbc
@@ -50,7 +50,7 @@ module Capistrano
50
50
  end
51
51
 
52
52
  def locked?
53
- !!(Diplomat::Kv.get(lock_key) =~ /\A["'](t(rue)?|1|y(es)?)["']\z/)
53
+ !!(Diplomat::Kv.get(lock_key) =~ /\A(t(rue)?|1|y(es)?)\z/)
54
54
  rescue => e
55
55
  # in case of 404
56
56
  if e.message.include?('404')
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module ConsulKvLock
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-consul_kv_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uchio KONDO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2017-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.5.1
108
+ rubygems_version: 2.5.1
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Introduces deployment lock using consul KVS