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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16c854beb66cb33dbc4cb2ee0026f4981de6f95a1ce3c86e3fec22a5c7e7f382
4
- data.tar.gz: 6f07727a72751aab2640714fe40c1b252d75fdc79388c1b20aecde9ba84e6396
3
+ metadata.gz: 6cc7a974c1a89a7b374164bd8cc85f5c5508b63f991191ec65457e5b39eadf1d
4
+ data.tar.gz: aae9f0d4a9ca1cee4185dac92f539454501849ad959c236e27f4a621099cea8d
5
5
  SHA512:
6
- metadata.gz: 6d0bbb37004b463725e8f0261ca239c7f9ae146655a2e28cf8510989c70a35e6c8c03c8a1370645098183f263f5dcecaf8e1b8d1e570876814a25842f0077f49
7
- data.tar.gz: 9ccba26ba0be610089dc8e0a24b4ba58846a3d8d41f11a88f4272592063602e35f4fb554b97e2fff42b80e842ee1ebf6fea417bbdbf1fb6e283c4002e647f64b
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)
@@ -1,6 +1,6 @@
1
1
  module Lusnoc
2
2
 
3
- VERSION = '0.0.1'.freeze
3
+ VERSION = '0.0.2'.freeze
4
4
 
5
5
  end
6
6
 
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.1
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: asd
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: asd
141
+ summary: Lusnoc is reliable gem to deal with consul
142
142
  test_files: []