xfcc_parser_ruby 0.1.0 → 0.1.2
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/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: fcfa701545e353a90f3cc4c611eb0ddec37cf0f65a786e9dd8dfb2a05fe8a839
|
4
|
+
data.tar.gz: 93641357f20d36bd2de855d49a728ccf7575c22c75280710ec1fdbc2a7b2e370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4091a957db2ea7af6a97d726b9fafc40510f52339b0662474892771ef9e9d9603534ea9549ac24901666a04f52c23641c271848daf40059604d363a4ce70262e
|
7
|
+
data.tar.gz: ce610ea09a1e99f1717886a84842dc89d0f1158ee3c06942ec487bb598c8f083f1e662c6ba031dd6e33fc64155c832bdeb6fade1e83e72caace20fafde9f06c1
|
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/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: ruby
|
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
|
@@ -134,7 +134,8 @@ files:
|
|
134
134
|
- src/lib.rs
|
135
135
|
- xfcc_parser_ruby.gemspec
|
136
136
|
homepage: https://github.com/Frederick888/xfcc_parser_ruby/
|
137
|
-
licenses:
|
137
|
+
licenses:
|
138
|
+
- BSD-3-Clause
|
138
139
|
metadata:
|
139
140
|
homepage_uri: https://github.com/Frederick888/xfcc_parser_ruby/
|
140
141
|
source_code_uri: https://github.com/Frederick888/xfcc_parser_ruby/
|