casbin-ruby 1.1.0 → 1.1.1

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: 0a6fa41ab5193602d852ba7652d0d92775f1a26243471d154188aca17a5a3a67
4
- data.tar.gz: 19174a79a646b395960fd842bec794f8a202d283396c802d872ce7e88914763a
3
+ metadata.gz: 94aa1f94c99ed74aee7803633978ef6175bc35f74e283a71564c04a6be595603
4
+ data.tar.gz: ab0ab5639e208909892291c96ca078178e9ac5a7f5736d77afaa47b10b57e06f
5
5
  SHA512:
6
- metadata.gz: 9c40a77ea91e4addeba67652af4fe0bd1af3151f67e2bdfc3625f4c90e295a643d3f2d221446957ebd3a1f4321e3a1869a822a31102c5a6cdf78da3dd572e35d
7
- data.tar.gz: 29c3ff1985b8e1480ce596763ce621790cf19f6676649efc6d6e4ac8bb06c476f3d8618db2e72a89a40e1f277da36a5eba5ba598040a4dd3ada102b91fe9c390
6
+ metadata.gz: ce7cde7f44f47480d03c26e1427981cafc8994f5120e2a357faeaca6a31a4d4ade40abc69c8c926582f967b6cad1f526275b4a774037619f64d2a04d69376dd6
7
+ data.tar.gz: 7b4fc36cd21d0b85e5221c9a6c69989335829c0d7c65fe78de41fe9b14fd2116051f9b4c5b27d4b66c5211aeb3780927af1cde5ea7c94ba1f58a7e8971c74e34
@@ -140,7 +140,7 @@ module Casbin
140
140
 
141
141
  model[sec][ptype].policy.each do |rule|
142
142
  value = rule[field_index]
143
- values << value if values.include?(value)
143
+ values << value unless values.include?(value)
144
144
  end
145
145
 
146
146
  values
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Casbin
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
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.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kutyavin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-09-09 00:00:00.000000000 Z
12
+ date: 2023-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: keisan
@@ -136,18 +136,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project:
140
- rubygems_version: 2.7.6.3
139
+ rubygems_version: 3.1.6
141
140
  signing_key:
142
141
  specification_version: 4
143
142
  summary: Casbin in Ruby
144
143
  test_files:
145
144
  - spec/support/model_helper.rb
146
- - spec/casbin/config/config_spec.rb
147
- - spec/casbin/enforcer_spec.rb
148
- - spec/casbin/model/function_map_spec.rb
149
145
  - spec/casbin/util_spec.rb
150
146
  - spec/casbin/core_enforcer_spec.rb
147
+ - spec/casbin/model/function_map_spec.rb
148
+ - spec/casbin/config/config_spec.rb
151
149
  - spec/casbin/util/builtin_operators_spec.rb
150
+ - spec/casbin/enforcer_spec.rb
152
151
  - spec/casbin/rbac/default_role_manager/role_manager_spec.rb
153
152
  - spec/casbin/rbac/default_role_manager/role_spec.rb