xfcc_parser_ruby 0.1.0-x86_64-linux → 0.1.2-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/Cargo.lock +1 -1
- data/Cargo.toml +7 -1
- data/Gemfile.lock +1 -1
- data/Justfile +2 -2
- data/README.md +5 -5
- data/lib/2.6/xfcc_parser_ruby.so +0 -0
- data/lib/2.7/xfcc_parser_ruby.so +0 -0
- data/lib/3.0/xfcc_parser_ruby.so +0 -0
- data/lib/3.1/xfcc_parser_ruby.so +0 -0
- data/lib/xfcc_parser_ruby/version.rb +1 -1
- data/xfcc_parser_ruby.gemspec +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d9db4785f0ec6823a6c562b6e81d197ce5dbeab193bbb7578d06220d14a4946
|
4
|
+
data.tar.gz: 1b147fdfacc1368b39d5732673e84078dcc4b9fc6f4e3d2a422ffbca39d5e97e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3345ccbb7911c3e7de0c17d63017124bd9c10c01a551013ba7e4f61d11c8c6ec435ad724879a5360762bd0161a76419a37571924770e73cefe2f1468441495be
|
7
|
+
data.tar.gz: 70385f45e3a32f7fa79798bca9228888ecf83647fc51d8f188897ca0e90e94592a5c9595e7c23165823d25195ef439bdaa93e567aed630596cb7b33cf8f3fd8c
|
data/CHANGELOG.md
CHANGED
data/Cargo.lock
CHANGED
data/Cargo.toml
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
[package]
|
2
2
|
name = "xfcc_parser_ruby"
|
3
|
-
version = "0.1.
|
3
|
+
version = "0.1.2"
|
4
|
+
authors = ["Frederick Zhang <frederick888@tsundere.moe>"]
|
4
5
|
edition = "2021"
|
6
|
+
description = "Envoy x-forwarded-client-cert (XFCC) parser written in Rust for Ruby"
|
7
|
+
repository = "https://github.com/Frederick888/xfcc_parser_ruby/"
|
8
|
+
license = "BSD-3-Clause"
|
9
|
+
keywords = ["envoy", "xfcc", "http"]
|
10
|
+
categories = ["parser-implementations", "web-programming"]
|
5
11
|
|
6
12
|
[dependencies]
|
7
13
|
rutie = "0.8.4"
|
data/Gemfile.lock
CHANGED
data/Justfile
CHANGED
@@ -26,10 +26,10 @@ release version:
|
|
26
26
|
sed 's/^version = ".*"$/version = "{{version}}"/' -i ./Cargo.toml
|
27
27
|
git add ./Cargo.toml
|
28
28
|
# ruby
|
29
|
-
sed 's
|
29
|
+
sed 's/VERSION = ".*"$/VERSION = "{{version}}"/' -i ./lib/xfcc_parser_ruby/version.rb
|
30
30
|
# update lock files and test
|
31
31
|
just
|
32
|
-
git add ./Cargo.lock ./Gemfile.lock
|
32
|
+
git add ./Cargo.lock ./Gemfile.lock ./lib/xfcc_parser_ruby/version.rb
|
33
33
|
# commit and tag
|
34
34
|
git status
|
35
35
|
git diff --exit-code
|
data/README.md
CHANGED
@@ -4,19 +4,19 @@ Wrapper of Envoy [`x-forwarded-client-cert`][1] (XFCC) header parser [`xfcc-pars
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
First download the [Rust][3] toolchain >= 1.56.0 if you would like to install the source gem.
|
8
8
|
|
9
|
-
|
9
|
+
Then install the gem and add to the application's Gemfile by executing:
|
10
10
|
|
11
|
-
$ bundle add
|
11
|
+
$ bundle add xfcc_parser_ruby
|
12
12
|
|
13
13
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
14
14
|
|
15
|
-
$ gem install
|
15
|
+
$ gem install xfcc_parser_ruby
|
16
16
|
|
17
17
|
Note that some distributions have different names for `libruby`, and if you've installed the gems with bundled binaries, you'll see errors like `libruby.so.3.0: cannot open shared object file: No such file or directory` when you load the library.
|
18
18
|
|
19
|
-
In this case, you can either link the `libruby` shared library to `libruby.[so|dylib|dll].[<version>]`,
|
19
|
+
In this case, you can either link the `libruby` shared library to `libruby.[so|dylib|dll].[<version>]`, or simply install the source gem instead.
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
data/lib/2.6/xfcc_parser_ruby.so
CHANGED
Binary file
|
data/lib/2.7/xfcc_parser_ruby.so
CHANGED
Binary file
|
data/lib/3.0/xfcc_parser_ruby.so
CHANGED
Binary file
|
data/lib/3.1/xfcc_parser_ruby.so
CHANGED
Binary file
|
data/xfcc_parser_ruby.gemspec
CHANGED
@@ -9,13 +9,14 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.version = XfccParserRuby::VERSION
|
10
10
|
spec.authors = ["Frederick Zhang"]
|
11
11
|
spec.email = ["frederick888@tsundere.moe"]
|
12
|
+
spec.license = "BSD-3-Clause"
|
12
13
|
|
13
14
|
spec.summary = "Envoy x-forwarded-client-cert (XFCC) parser"
|
14
15
|
spec.description = "Envoy x-forwarded-client-cert (XFCC) parser written in Rust for Ruby"
|
15
16
|
spec.homepage = "https://github.com/Frederick888/xfcc_parser_ruby/"
|
16
17
|
spec.required_ruby_version = [">= 2.6.0", "< 3.2.0"]
|
17
18
|
spec.required_rubygems_version = ">= 3.3.11"
|
18
|
-
spec.platform = Gem::Platform.local if binary_gem
|
19
|
+
spec.platform = Gem::Platform.local.tap { |p| p.version = nil } if binary_gem
|
19
20
|
|
20
21
|
# spec.metadata['allowed_push_host'] = "TODO: Set to your gem server 'https://example.com'"
|
21
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xfcc_parser_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Frederick Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rutie
|
@@ -137,7 +137,8 @@ files:
|
|
137
137
|
- src/lib.rs
|
138
138
|
- xfcc_parser_ruby.gemspec
|
139
139
|
homepage: https://github.com/Frederick888/xfcc_parser_ruby/
|
140
|
-
licenses:
|
140
|
+
licenses:
|
141
|
+
- BSD-3-Clause
|
141
142
|
metadata:
|
142
143
|
homepage_uri: https://github.com/Frederick888/xfcc_parser_ruby/
|
143
144
|
source_code_uri: https://github.com/Frederick888/xfcc_parser_ruby/
|