casbin-ruby 1.0.6 → 1.0.7

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: d406ef1efa717c0be3eabc7dfe52876fee6abc4e1376fd40a470f21ff66c8db5
4
- data.tar.gz: 29ebed777ab1fa73e59673f1c59ece907a42008d0627eb4e7bd3be1f62ccfad9
3
+ metadata.gz: 432f8bf4cd2d4ff1fad9a35f611ecc47db212177d88939415cafac07913cabd3
4
+ data.tar.gz: bb0284c6049cae5551fb46943abc3308a21ff10fa7a57c0bdebcb2be92dc02cd
5
5
  SHA512:
6
- metadata.gz: ba5605585f491b75c06eeeb6f7ded2c6236366e650dc186bf9ec0ff11ab4084ddd22d6731011f11f197a06259feb9d2ec01a0c5694f3ba9bc67ba08dc03fe3ee
7
- data.tar.gz: f41d01708fa751dac161f87fe91a20dca70d23cdfb1dad8673437c262763c7883ea96785efa5fd0043b21c7132be5eede5e7fdf83107654919ef34f0d49d547d
6
+ metadata.gz: b51625e08d8433a2a3d43c71a62f5fc08c853dc56665a694627b90d348aaecad20ffbe9e24db44144cafc204df234ddce33c97073d1fa033b90bc31b8aa57031
7
+ data.tar.gz: 9ca251806e1b6944b2fc13ae028edbf28c66c1481e0ec5f5fe3d24e305721eba30b55879c667a0d2c16396963dea01cfd59251a86c6163cfdc0c46842df5a6c7
@@ -1,12 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'singleton'
4
+ require 'forwardable'
4
5
 
5
6
  class ThreadLock
6
7
  include Singleton
7
8
 
8
9
  class << self
9
- delegate :thread=, :lock?, to: :instance
10
+ extend Forwardable
11
+
12
+ def_delegators :instance, :thread=, :lock?
10
13
  end
11
14
 
12
15
  attr_accessor :thread
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Casbin
4
- VERSION = '1.0.6'
4
+ VERSION = '1.0.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casbin-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kutyavin