paquito 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/paquito/single_byte_prefix_version_with_string_bypass.rb +1 -1
- data/lib/paquito/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16e714e285eb20638e454a8f16b25cca8de5cd8823f5e54c41682e4d89ecb117
|
4
|
+
data.tar.gz: aa0cfbae2407f420372f14ea51dec65ac1c4e76ae15052a4ac5138030fb09604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 319017b42b899a7048320919b54b7539ffd8cd2863171ac4b65939108add519808731bd35bcf2040df4651e0b34c05b8c4c0eb280cfab9404fc207636cdcad6b
|
7
|
+
data.tar.gz: 8b6777bc73a75db05c218621983f8fe1fa77320250b9dadaa963a4a841f6c7e7f0161482d2fd45bd3f0f871d4b65c4943e18be689122ecb5a0d6b029978a0468
|
data/.github/workflows/ci.yml
CHANGED
@@ -13,7 +13,7 @@ jobs:
|
|
13
13
|
- name: Set up Ruby
|
14
14
|
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version: '2
|
16
|
+
ruby-version: '3.2'
|
17
17
|
bundler-cache: true
|
18
18
|
- name: Run test
|
19
19
|
run: bundle exec rubocop
|
@@ -23,7 +23,7 @@ jobs:
|
|
23
23
|
strategy:
|
24
24
|
fail-fast: false
|
25
25
|
matrix:
|
26
|
-
ruby: [ ruby-head, '3.2', '3.1', '3.0', '2.7' ]
|
26
|
+
ruby: [ ruby-head, '3.3', '3.2', '3.1', '3.0', '2.7' ]
|
27
27
|
steps:
|
28
28
|
- name: Checkout
|
29
29
|
uses: actions/checkout@v3
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paquito (0.11.
|
4
|
+
paquito (0.11.1)
|
5
5
|
msgpack (>= 1.5.2)
|
6
6
|
|
7
7
|
GEM
|
@@ -49,8 +49,8 @@ GEM
|
|
49
49
|
rubocop (~> 1.44)
|
50
50
|
ruby-progressbar (1.13.0)
|
51
51
|
sorbet-runtime (0.5.10712)
|
52
|
-
sqlite3 (1.
|
53
|
-
sqlite3 (1.
|
52
|
+
sqlite3 (1.7.3-arm64-darwin)
|
53
|
+
sqlite3 (1.7.3-x86_64-linux)
|
54
54
|
tzinfo (2.0.6)
|
55
55
|
concurrent-ruby (~> 1.0)
|
56
56
|
unicode-display_width (2.4.2)
|
data/README.md
CHANGED
@@ -159,7 +159,7 @@ coder.load(coder.dump(%i(foo bar).to_set)) # => #<Set: {:foo, :bar}>
|
|
159
159
|
### `TypedStruct`
|
160
160
|
|
161
161
|
`Paquito::TypedStruct` is a opt-in Sorbet runtime plugin that allows `T::Struct` classes to be serializable. You need
|
162
|
-
to explicitly include the module in the `T::Struct` classes that you will be serializing.
|
162
|
+
to explicitly include the module in the `T::Struct` classes that you will be serializing. Also, Paquito must be added after Sorbet in your Gemfile for this constant to be available.
|
163
163
|
|
164
164
|
Example
|
165
165
|
|
@@ -15,7 +15,7 @@ module Paquito
|
|
15
15
|
if object.class == String # We don't want to match subclasses
|
16
16
|
case object.encoding
|
17
17
|
when Encoding::UTF_8
|
18
|
-
UTF8_VERSION.chr(Encoding::BINARY) << (@string_coder ? @string_coder.dump(object) : object)
|
18
|
+
UTF8_VERSION.chr(Encoding::BINARY) << (@string_coder ? @string_coder.dump(object) : object.b)
|
19
19
|
when Encoding::BINARY
|
20
20
|
BINARY_VERSION.chr(Encoding::BINARY) << (@string_coder ? @string_coder.dump(object) : object)
|
21
21
|
when Encoding::US_ASCII
|
data/lib/paquito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paquito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.5.6
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Framework for defining efficient and extendable serializers
|