README.md in lusnoc-1.0.1.81655 vs README.md in lusnoc-1.0.1.134629
- old
+ new
@@ -28,11 +28,11 @@
* Lusnoc ensures session creation/destruction upon block execution
* Lusnoc uses only sessions with TTL to protect you system from stale sessions/locks
* Lusnoc enforces you to manualy renew session(through callback or explicit check) but provide background session checker
* Lusnoc tries to carefuly handle timeouts and expiration using Consul [blocking queries](https://www.consul.io/api/features/blocking.html)
-# Usage
+## Usage
Simply instantiate a new `Lusnoc::Mutex`, giving it the key you want to use
as the "lock":
```ruby
@@ -104,17 +104,22 @@
rescue Lusnoc::ExpiredError => e
# Session was invalidated and mutex was lost!
end
```
-# Installation
+## Installation
It's a gem:
```bash
gem install lusnoc
```
There's also the wonders of [the Gemfile](http://bundler.io):
```ruby
gem 'lusnoc'
```
+
+## Mirrors
+
+* GitFlic: [https://gitflic.ru/project/rndsoft/lusnoc](https://gitflic.ru/project/rndsoft/lusnoc)
+* Github: [https://github.com/RND-SOFT/lusnoc](https://github.com/RND-SOFT/lusnoc)