oso-oso 0.20.1 → 0.21.0

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
  SHA1:
3
- metadata.gz: da642b9fbbfcad2d836a8db8c6ac83cbc8f1127a
4
- data.tar.gz: 1012ef61aa0a1791a1c759ba9f62e108918898b6
3
+ metadata.gz: a9fbbff1209cf44803895d162562cb6d9c8a4c37
4
+ data.tar.gz: 8196f85296430d4c85a283bfec132c05a86e1433
5
5
  SHA512:
6
- metadata.gz: 48d52111b817769f31086b4adbd7252bcab4355792ba85e378ab4a27c68272e8d2af55f8d2a258e0a3bb3b2cea30b6d0c98f6e20eec7ed9d1b127011a506cab7
7
- data.tar.gz: f40a6c5565655ee508ebc0c20b7f571616b42d4a76f986b51ad4349c1fe05200d8165990c98a00e2a7388ac41eb96182095b52a9f08ad022cc0880801ad87997
6
+ metadata.gz: 2d49aec9759922b92b874f981709a57b6c04afc1b30762302c6020a37bde144d0b56b0343482f7f18ed96f3c3d298a0e493967fbbf8939fb91cc7dc493417e54
7
+ data.tar.gz: 867123b379ef0ff554f9c433d317826e6b6e3b84a26008fe97e56f83d588737064ba71b61f4c5848969b7c6f6a0fd2cef9e8a488f238a86a152dcef7b452844e
data/.rubocop.yml CHANGED
@@ -5,3 +5,6 @@ AllCops:
5
5
  - "bin/oso"
6
6
  - "vendor/**/*"
7
7
  NewCops: enable
8
+ Naming/FileName:
9
+ Exclude:
10
+ - "lib/oso-oso.rb"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oso-oso (0.20.1)
4
+ oso-oso (0.21.0)
5
5
  ffi (~> 1.0)
6
6
 
7
7
  GEM
Binary file
Binary file
Binary file
data/lib/oso/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Oso
4
- VERSION = '0.20.1'
4
+ VERSION = '0.21.0'
5
5
  end
data/lib/oso-oso.rb ADDED
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './oso'
data/lib/oso.rb CHANGED
@@ -7,6 +7,9 @@ require 'oso/version'
7
7
 
8
8
  # Top-level namespace for Oso authorization library.
9
9
  module Oso
10
+ Relation = ::Oso::Polar::DataFiltering::Relation
11
+ Filter = ::Oso::Polar::DataFiltering::Filter
12
+
10
13
  def self.new(not_found_error: NotFoundError, forbidden_error: ForbiddenError, read_action: 'read')
11
14
  ::Oso::Oso.new(not_found_error: not_found_error, forbidden_error: forbidden_error, read_action: read_action)
12
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oso-oso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oso Security, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-14 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -157,6 +157,7 @@ files:
157
157
  - ext/oso-oso/lib/libpolar.dylib
158
158
  - ext/oso-oso/lib/libpolar.so
159
159
  - ext/oso-oso/lib/polar.dll
160
+ - lib/oso-oso.rb
160
161
  - lib/oso.rb
161
162
  - lib/oso/errors.rb
162
163
  - lib/oso/oso.rb