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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caa49c77308b2c81f81faa1308ab462dd0bcc15f91244ab080800ffe0e2ebd9f
4
- data.tar.gz: 8909a37d22acd65c197c2c38dbc2e8f2e8e717d61f848996058e1c764cdadba7
3
+ metadata.gz: 16e714e285eb20638e454a8f16b25cca8de5cd8823f5e54c41682e4d89ecb117
4
+ data.tar.gz: aa0cfbae2407f420372f14ea51dec65ac1c4e76ae15052a4ac5138030fb09604
5
5
  SHA512:
6
- metadata.gz: 25f2d1f9e05ddf14b7edbb798acd253e0590089a6d70296c493d8f8cbb63a2abdbe2b4fcfee7e72d201226b1a729b31c8b3cd1cf240d000abd3db21a4e0ff2d4
7
- data.tar.gz: 034dea4d9c9e276af49d5aa892e2231eeda24d275a32f846da246334fec167a8a3568972908ac75d8c413f794edfb418253732e903d5e7073e0625a9cff8019d
6
+ metadata.gz: 319017b42b899a7048320919b54b7539ffd8cd2863171ac4b65939108add519808731bd35bcf2040df4651e0b34c05b8c4c0eb280cfab9404fc207636cdcad6b
7
+ data.tar.gz: 8b6777bc73a75db05c218621983f8fe1fa77320250b9dadaa963a4a841f6c7e7f0161482d2fd45bd3f0f871d4b65c4943e18be689122ecb5a0d6b029978a0468
@@ -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.7'
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
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.11.1
4
+
5
+ * Fix SingleBytePrefixVersionWithStringBypass to better support raw UTF-8 strings.
6
+
3
7
  # 0.11.0
4
8
 
5
9
  * Convert some lambdas into proper methods to make them more discoverable by profilers.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paquito (0.11.0)
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.6.1-arm64-darwin)
53
- sqlite3 (1.6.1-x86_64-linux)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paquito
4
- VERSION = "0.11.0"
4
+ VERSION = "0.11.1"
5
5
  end
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.0
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: 2023-12-05 00:00:00.000000000 Z
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.4.22
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