lusnoc 1.0.1.81655 → 1.0.1.134629
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d41d26d751d0c33f77cfd692c36d78327f16ac6ca23cf07f4688192038e74f42
|
4
|
+
data.tar.gz: 669c67d00e35b4853e855940bf1f940e753c5dd53c2df863e2c235227bb7f1e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c8eb0b142f5dd30c3873c6e3785fdb5ed59ce4c85d0ffd99e2c22e08d328839a83c883bfdc82df9ce1eeba9305ab144835a217d48d032ad34c82ed12f17a350
|
7
|
+
data.tar.gz: af4afbf1c9104bef1366e150527239ee0e029df5ea0f60cac2df39ccc6318702b443b31c3800d075a0f41552b924e82bc09d75712021a0eba3a1a4376af0b1e1
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ Lusnoc allows you to interact with Consul to provide distributed locks(mutex) to
|
|
30
30
|
* Lusnoc enforces you to manualy renew session(through callback or explicit check) but provide background session checker
|
31
31
|
* Lusnoc tries to carefuly handle timeouts and expiration using Consul [blocking queries](https://www.consul.io/api/features/blocking.html)
|
32
32
|
|
33
|
-
|
33
|
+
## Usage
|
34
34
|
|
35
35
|
Simply instantiate a new `Lusnoc::Mutex`, giving it the key you want to use
|
36
36
|
as the "lock":
|
@@ -106,7 +106,7 @@ Typical usage scenario:
|
|
106
106
|
end
|
107
107
|
```
|
108
108
|
|
109
|
-
|
109
|
+
## Installation
|
110
110
|
|
111
111
|
It's a gem:
|
112
112
|
```bash
|
@@ -117,4 +117,9 @@ There's also the wonders of [the Gemfile](http://bundler.io):
|
|
117
117
|
gem 'lusnoc'
|
118
118
|
```
|
119
119
|
|
120
|
+
## Mirrors
|
121
|
+
|
122
|
+
* GitFlic: [https://gitflic.ru/project/rndsoft/lusnoc](https://gitflic.ru/project/rndsoft/lusnoc)
|
123
|
+
* Github: [https://github.com/RND-SOFT/lusnoc](https://github.com/RND-SOFT/lusnoc)
|
124
|
+
|
120
125
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lusnoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.1.
|
4
|
+
version: 1.0.1.134629
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|