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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50d5376e269e9e8cf277cb12a3dcf3fbf22d7f047b0a72654bce858e5e60994a
4
- data.tar.gz: 3bdc2d923d5d9aeb32238fe9ce07ea12d9a570f5e47b85077ce0d950d20715b5
3
+ metadata.gz: 5270acf93f4a5c51214eb7fd642aeb80015cfbefbf0a97b3178cd13da2fe9672
4
+ data.tar.gz: c92566d2affb90f6c744f16cb132ab4612012d68d50ae0a724f5d07139a0af63
5
5
  SHA512:
6
- metadata.gz: 6862b163faa570c59554c2174a3d5b10b0477de62909f57e7c5887d58c80a65dbc8fabdf19eaa45c007327dfdb53b6dbfc5b6dfd16e6e3b4a4c815b5a3706c74
7
- data.tar.gz: 173d2bb39bce5245778b3916dc3e8d9c975d8400ad4f096b4c3ed81a1970d7fe78e50699499f6f81d1f6938e57055fbcfa7a02a97a633bf60a9ffd24f81b2756
6
+ metadata.gz: 423ceb5d9ec71137ab864e0fbdf5ce80cbc9ae1b1233a1c430922ec0a6436b89e67c1572ec87b55a2d2bf9add9a0e46c40e90aabf57cf58556d1bd1fcab5970e
7
+ data.tar.gz: 9dd288f0d2a0ade59f960c92a3e8b03f69c403b2c1c4360b0f3c81b02e14358a2a42931b960ac9749b8dcac50be45998aac6e74bdc2dfb6ababa76d2591c4294
@@ -18,8 +18,6 @@ jobs:
18
18
  shell: bash
19
19
  steps:
20
20
  - uses: actions/checkout@v4
21
- with:
22
- fetch-depth: 0
23
21
 
24
22
  - name: Install and Run Actionlint
25
23
  run: |
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- net-http-structured_field_values (0.1.0)
4
+ net-http-structured_field_values (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Net::Http::StructuredFieldValues
1
+ # Net::HTTP::StructuredFieldValues
2
2
 
3
3
  A Ruby implementation of [RFC 8941 - Structured Field Values for HTTP](https://datatracker.ietf.org/doc/html/rfc8941).
4
4
 
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'net/http'
4
+
3
5
  module Net
4
- module HTTP
6
+ class HTTP
5
7
  module StructuredFieldValues
6
8
  # ParameterizedValue represents a value with parameters.
7
9
  class ParameterizedValue
@@ -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
- module HTTP
16
+ class HTTP
16
17
  module StructuredFieldValues
17
18
  # RFC8941 compliant parser which parses HTTP fields into Ruby objects.
18
19
  #
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'net/http'
4
+
3
5
  module Net
4
- module HTTP
6
+ class HTTP
5
7
  module StructuredFieldValues
6
8
  # RFC8941 compliant serializer which serializes Ruby objects into HTTP fields.
7
9
  #
@@ -1,9 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'net/http'
4
+
3
5
  module Net
4
- module Http
6
+ class HTTP
5
7
  module StructuredFieldValues
6
- VERSION = '0.1.0'
8
+ VERSION = '0.1.1'
7
9
  end
8
10
  end
9
11
  end
@@ -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
- module Http
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::Http::StructuredFieldValues::VERSION
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2023-09-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: