net-http-structured_field_values 0.1.0 → 0.1.1
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/.github/workflows/check-actions.yml +0 -2
- data/.github/workflows/check-project.yml +0 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/net/http/structured_field_values/parameterized_value.rb +3 -1
- data/lib/net/http/structured_field_values/parser.rb +2 -1
- data/lib/net/http/structured_field_values/serializer.rb +3 -1
- data/lib/net/http/structured_field_values/version.rb +4 -2
- data/lib/net/http/structured_field_values.rb +3 -1
- data/net-http-structured_field_values.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5270acf93f4a5c51214eb7fd642aeb80015cfbefbf0a97b3178cd13da2fe9672
|
4
|
+
data.tar.gz: c92566d2affb90f6c744f16cb132ab4612012d68d50ae0a724f5d07139a0af63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 423ceb5d9ec71137ab864e0fbdf5ce80cbc9ae1b1233a1c430922ec0a6436b89e67c1572ec87b55a2d2bf9add9a0e46c40e90aabf57cf58556d1bd1fcab5970e
|
7
|
+
data.tar.gz: 9dd288f0d2a0ade59f960c92a3e8b03f69c403b2c1c4360b0f3c81b02e14358a2a42931b960ac9749b8dcac50be45998aac6e74bdc2dfb6ababa76d2591c4294
|
@@ -17,8 +17,6 @@ jobs:
|
|
17
17
|
|
18
18
|
steps:
|
19
19
|
- uses: actions/checkout@v4
|
20
|
-
with:
|
21
|
-
fetch-depth: 0
|
22
20
|
|
23
21
|
- name: Set up Ruby
|
24
22
|
uses: ruby/setup-ruby@v1
|
@@ -41,8 +39,6 @@ jobs:
|
|
41
39
|
|
42
40
|
steps:
|
43
41
|
- uses: actions/checkout@v4
|
44
|
-
with:
|
45
|
-
fetch-depth: 0
|
46
42
|
|
47
43
|
- name: Set up Ruby
|
48
44
|
uses: ruby/setup-ruby@v1
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'base64'
|
4
|
+
require 'net/http'
|
4
5
|
require 'strscan'
|
5
6
|
|
6
7
|
require 'net/http/structured_field_values/parameterized_value'
|
@@ -12,7 +13,7 @@ require 'net/http/structured_field_values/parameterized_value'
|
|
12
13
|
# rubocop:enable Lint/MissingCopEnableDirective
|
13
14
|
|
14
15
|
module Net
|
15
|
-
|
16
|
+
class HTTP
|
16
17
|
module StructuredFieldValues
|
17
18
|
# RFC8941 compliant parser which parses HTTP fields into Ruby objects.
|
18
19
|
#
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'net/http'
|
4
|
+
|
3
5
|
require 'net/http/structured_field_values/parameterized_value'
|
4
6
|
require 'net/http/structured_field_values/parser'
|
5
7
|
require 'net/http/structured_field_values/version'
|
6
8
|
|
7
9
|
module Net
|
8
|
-
|
10
|
+
class HTTP
|
9
11
|
# A Ruby implementation of RFC 8941 - Structured Field Values for HTTP.
|
10
12
|
#
|
11
13
|
# @see https://datatracker.ietf.org/doc/html/rfc8941
|
@@ -6,7 +6,7 @@ require 'net/http/structured_field_values/version'
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'net-http-structured_field_values'
|
9
|
-
spec.version = Net::
|
9
|
+
spec.version = Net::HTTP::StructuredFieldValues::VERSION
|
10
10
|
spec.authors = ['kyori19']
|
11
11
|
spec.email = ['kyori@accelf.net']
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-http-structured_field_values
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kyori19
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|