lusnoc 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lusnoc/mutex.rb +1 -2
- data/lib/lusnoc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cc7a974c1a89a7b374164bd8cc85f5c5508b63f991191ec65457e5b39eadf1d
|
4
|
+
data.tar.gz: aae9f0d4a9ca1cee4185dac92f539454501849ad959c236e27f4a621099cea8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcb475e4079562bc5bb84942c8745ee9916c72e84313f26abd105fddae6f8ca65693f68f374792ae4e8377ea44ad8dec6d9e3a7dd392dd05d0c1619c29fc3cd5
|
7
|
+
data.tar.gz: 959fb4bc41b1ff256bd31b0a7bca87ef7db35a87696d281113a3fda4336af58f357327d12bc4c96e852fd79b5525d3ebf0c2cd7d2f1083489d042054745bd416
|
data/lib/lusnoc/mutex.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'socket'
|
2
|
-
require 'forwardable'
|
3
2
|
require 'lusnoc/session'
|
4
3
|
|
5
4
|
module Lusnoc
|
@@ -27,7 +26,7 @@ module Lusnoc
|
|
27
26
|
end
|
28
27
|
|
29
28
|
[:time_to_expiration, :need_renew?, :ttl, :expired?, :live?, :live!, :renew].each do |m|
|
30
|
-
define_method(m) {@session&.public_send(m)}
|
29
|
+
define_method(m) { @session&.public_send(m) }
|
31
30
|
end
|
32
31
|
|
33
32
|
def synchronize(timeout: 0, &block)
|
data/lib/lusnoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lusnoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
|
-
description:
|
103
|
+
description: Lusnoc is reliable gem to deal with consul
|
104
104
|
email:
|
105
105
|
- kinnalru@gmail.com
|
106
106
|
executables: []
|
@@ -138,5 +138,5 @@ requirements: []
|
|
138
138
|
rubygems_version: 3.0.4
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
|
-
summary:
|
141
|
+
summary: Lusnoc is reliable gem to deal with consul
|
142
142
|
test_files: []
|