cerbos 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +0 -12
- data/cerbos.gemspec +1 -1
- data/lib/cerbos/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93f2bb2c6e0ffb8fc9e59238a36388b706ae790057473f62c51b181a30c1ec93
|
|
4
|
+
data.tar.gz: 91e8c713dac8b1f7f89245b53463f3f8098af17ade471249d10c0fae5e4cabfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2224efcc85af2a8238c946f44d853985cd3ce5d9b5c0c913992eaad7b738bc196c2fc88f985ae3ea38b3d03f6c72dcc851af77586e2628b6f80773db6d49894e
|
|
7
|
+
data.tar.gz: 9ac45962052d139c904134eafb42dce8ac781af74a4041d22950ba4a997da1cf02e55e55462ff8237da0e916e56909822631dcc0be5a2873e933cbd6900a6e71
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
No notable changes.
|
|
3
3
|
|
|
4
|
+
## [0.2.0] - 2022-05-12
|
|
5
|
+
### Changed
|
|
6
|
+
- Increased `grpc` version requirement to 1.46+ to avoid [installing a native gem compiled for `x86_64-darwin` on `arm64-darwin`](https://github.com/grpc/grpc/issues/29100) ([#8](https://github.com/cerbos/cerbos-sdk-ruby/pull/8))
|
|
7
|
+
|
|
4
8
|
## [0.1.0] - 2022-05-12
|
|
5
9
|
### Added
|
|
6
10
|
- Initial implementation of `Cerbos::Client` ([#2](https://github.com/cerbos/cerbos-sdk-ruby/pull/2))
|
|
7
11
|
|
|
8
|
-
[Unreleased]: https://github.com/cerbos/cerbos-sdk-ruby/compare/v0.
|
|
12
|
+
[Unreleased]: https://github.com/cerbos/cerbos-sdk-ruby/compare/v0.2.0...HEAD
|
|
13
|
+
[0.2.0]: https://github.com/cerbos/cerbos-sdk-ruby/compare/v0.1.0...v0.2.0
|
|
9
14
|
[0.1.0]: https://github.com/cerbos/cerbos-sdk-ruby/compare/4481009e9dec2e1e6a2df8ea2f828690ceabbefc...v0.1.0
|
data/README.md
CHANGED
|
@@ -28,18 +28,6 @@ If you're not using Bundler to manage dependencies, install the gem by running
|
|
|
28
28
|
$ gem install cerbos
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
### Note for M1 Mac users
|
|
32
|
-
|
|
33
|
-
Unfortunately, the `grpc` gem currently ships a `universal-darwin` native gem which doesn't actually work on `arm64-darwin` platforms ([grpc/grpc#29100](https://github.com/grpc/grpc/issues/29100)).
|
|
34
|
-
If you install the precompiled gem on an M1 Mac, you'll get a `LoadError` including the message "incompatible architecture (have 'x86_64', need 'arm64e')" when you attempt to load the `cerbos` gem.
|
|
35
|
-
|
|
36
|
-
Until that issue is resolved, you can work around it by compiling native extensions from source.
|
|
37
|
-
Configure Bundler to do so by running
|
|
38
|
-
|
|
39
|
-
```console
|
|
40
|
-
$ bundle config set --local force_ruby_platform true
|
|
41
|
-
```
|
|
42
|
-
|
|
43
31
|
## Example usage
|
|
44
32
|
|
|
45
33
|
```ruby
|
data/cerbos.gemspec
CHANGED
data/lib/cerbos/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cerbos
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cerbos
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
19
|
+
version: '1.46'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.
|
|
26
|
+
version: '1.46'
|
|
27
27
|
description: Perform authorization in Ruby applications by interacting with the Cerbos
|
|
28
28
|
policy decision point.
|
|
29
29
|
email:
|
|
@@ -81,7 +81,7 @@ licenses:
|
|
|
81
81
|
metadata:
|
|
82
82
|
bug_tracker_uri: https://github.com/cerbos/cerbos-sdk-ruby/issues
|
|
83
83
|
changelog_uri: https://github.com/cerbos/cerbos-sdk-ruby/blob/main/CHANGELOG.md
|
|
84
|
-
documentation_uri: https://www.rubydoc.info/gems/cerbos/0.
|
|
84
|
+
documentation_uri: https://www.rubydoc.info/gems/cerbos/0.2.0
|
|
85
85
|
homepage_uri: https://github.com/cerbos/cerbos-sdk-ruby
|
|
86
86
|
source_code_uri: https://github.com/cerbos/cerbos-sdk-ruby
|
|
87
87
|
rubygems_mfa_required: 'true'
|