paquito 0.11.1 → 0.11.2
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 +32 -8
- data/.gitignore +2 -0
- data/.rubocop.yml +0 -3
- data/.ruby-version +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +46 -26
- data/dev.yml +1 -2
- data/gemfiles/rails_7.1.gemfile +19 -0
- data/gemfiles/rails_7.2.gemfile +19 -0
- data/lib/paquito/types.rb +9 -0
- data/lib/paquito/version.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c17414fe5eb86f48716aba9c725c46366b93f55dc5995c835cd37e67d4497407
|
4
|
+
data.tar.gz: 56998f2dbe8154770b95baf199fa1c4e784c5463d85350537407d9786aa85aeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6d275659c0714a06ec387799c15d0011a8e568530c16a7719b187d314a47ec8b8b91a19d131e1c5adb182bccf7f591a41b2f19032fdda416be93584aaaed9a
|
7
|
+
data.tar.gz: 9ae37989ccbad977917fd0528c023f73fd56b4ba160058d6ab90b9fbeeb5db8dd4cf3d1eded1d976c92c3ffa666a7e6397a519deda464fb15f231f6d1f9141b0
|
data/.github/workflows/ci.yml
CHANGED
@@ -9,32 +9,56 @@ jobs:
|
|
9
9
|
fail-fast: false
|
10
10
|
steps:
|
11
11
|
- name: Checkout
|
12
|
-
uses: actions/checkout@
|
12
|
+
uses: actions/checkout@v4
|
13
13
|
- name: Set up Ruby
|
14
14
|
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version: '3.2'
|
17
16
|
bundler-cache: true
|
18
17
|
- name: Run test
|
19
18
|
run: bundle exec rubocop
|
20
19
|
|
20
|
+
install:
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
strategy:
|
23
|
+
fail-fast: false
|
24
|
+
|
25
|
+
steps:
|
26
|
+
- name: Checkout
|
27
|
+
uses: actions/checkout@v4
|
28
|
+
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: '3.3'
|
33
|
+
bundler-cache: true
|
34
|
+
|
35
|
+
- name: Install gem
|
36
|
+
run: bundle exec rake install
|
37
|
+
|
38
|
+
|
21
39
|
rubies:
|
22
40
|
runs-on: ubuntu-latest
|
23
41
|
strategy:
|
24
42
|
fail-fast: false
|
25
43
|
matrix:
|
26
|
-
ruby: [ ruby-head, '3.3', '3.2', '3.1'
|
44
|
+
ruby: [ ruby-head, '3.3', '3.2', '3.1']
|
45
|
+
rails: [ '7.2', '7.1']
|
46
|
+
include:
|
47
|
+
- ruby: '2.7'
|
48
|
+
rails: '7.1'
|
49
|
+
- ruby: '3.0'
|
50
|
+
rails: '7.1'
|
51
|
+
env:
|
52
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile
|
27
53
|
steps:
|
28
54
|
- name: Checkout
|
29
|
-
uses: actions/checkout@
|
30
|
-
|
31
|
-
run: rm Gemfile.lock
|
55
|
+
uses: actions/checkout@v4
|
56
|
+
|
32
57
|
- name: Set up Ruby
|
33
58
|
uses: ruby/setup-ruby@v1
|
34
59
|
with:
|
35
60
|
ruby-version: ${{ matrix.ruby }}
|
36
61
|
bundler-cache: true
|
62
|
+
|
37
63
|
- name: Run test
|
38
64
|
run: bundle exec rake
|
39
|
-
- name: Install gem
|
40
|
-
run: bundle exec rake install
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,59 +1,79 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paquito (0.11.
|
4
|
+
paquito (0.11.2)
|
5
5
|
msgpack (>= 1.5.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (7.
|
11
|
-
activesupport (= 7.
|
12
|
-
activerecord (7.
|
13
|
-
activemodel (= 7.
|
14
|
-
activesupport (= 7.
|
15
|
-
|
16
|
-
|
10
|
+
activemodel (7.2.1)
|
11
|
+
activesupport (= 7.2.1)
|
12
|
+
activerecord (7.2.1)
|
13
|
+
activemodel (= 7.2.1)
|
14
|
+
activesupport (= 7.2.1)
|
15
|
+
timeout (>= 0.4.0)
|
16
|
+
activesupport (7.2.1)
|
17
|
+
base64
|
18
|
+
bigdecimal
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
20
|
+
connection_pool (>= 2.2.5)
|
21
|
+
drb
|
17
22
|
i18n (>= 1.6, < 2)
|
23
|
+
logger (>= 1.4.2)
|
18
24
|
minitest (>= 5.1)
|
19
|
-
|
25
|
+
securerandom (>= 0.3)
|
26
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
20
27
|
ast (2.4.2)
|
28
|
+
base64 (0.2.0)
|
21
29
|
benchmark-ips (2.12.0)
|
30
|
+
bigdecimal (3.1.8)
|
22
31
|
byebug (11.1.3)
|
23
|
-
concurrent-ruby (1.
|
24
|
-
|
32
|
+
concurrent-ruby (1.3.4)
|
33
|
+
connection_pool (2.4.1)
|
34
|
+
drb (2.2.1)
|
35
|
+
i18n (1.14.5)
|
25
36
|
concurrent-ruby (~> 1.0)
|
26
|
-
json (2.
|
27
|
-
|
37
|
+
json (2.7.1)
|
38
|
+
language_server-protocol (3.17.0.3)
|
39
|
+
logger (1.6.0)
|
40
|
+
minitest (5.25.1)
|
28
41
|
msgpack (1.7.2)
|
29
|
-
parallel (1.
|
30
|
-
parser (3.
|
42
|
+
parallel (1.24.0)
|
43
|
+
parser (3.3.0.5)
|
31
44
|
ast (~> 2.4.1)
|
45
|
+
racc
|
46
|
+
racc (1.7.3)
|
32
47
|
rainbow (3.1.1)
|
33
48
|
rake (13.0.6)
|
34
|
-
regexp_parser (2.
|
35
|
-
rexml (3.
|
36
|
-
|
49
|
+
regexp_parser (2.9.0)
|
50
|
+
rexml (3.3.6)
|
51
|
+
strscan
|
52
|
+
rubocop (1.62.1)
|
37
53
|
json (~> 2.3)
|
54
|
+
language_server-protocol (>= 3.17.0)
|
38
55
|
parallel (~> 1.10)
|
39
|
-
parser (>= 3.
|
56
|
+
parser (>= 3.3.0.2)
|
40
57
|
rainbow (>= 2.2.2, < 4.0)
|
41
58
|
regexp_parser (>= 1.8, < 3.0)
|
42
59
|
rexml (>= 3.2.5, < 4.0)
|
43
|
-
rubocop-ast (>= 1.
|
60
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
44
61
|
ruby-progressbar (~> 1.7)
|
45
62
|
unicode-display_width (>= 2.4.0, < 3.0)
|
46
|
-
rubocop-ast (1.
|
47
|
-
parser (>= 3.
|
63
|
+
rubocop-ast (1.31.2)
|
64
|
+
parser (>= 3.3.0.4)
|
48
65
|
rubocop-shopify (2.12.0)
|
49
66
|
rubocop (~> 1.44)
|
50
67
|
ruby-progressbar (1.13.0)
|
68
|
+
securerandom (0.3.1)
|
51
69
|
sorbet-runtime (0.5.10712)
|
52
|
-
sqlite3 (
|
53
|
-
sqlite3 (
|
70
|
+
sqlite3 (2.0.4-arm64-darwin)
|
71
|
+
sqlite3 (2.0.4-x86_64-linux-gnu)
|
72
|
+
strscan (3.1.0)
|
73
|
+
timeout (0.4.1)
|
54
74
|
tzinfo (2.0.6)
|
55
75
|
concurrent-ruby (~> 1.0)
|
56
|
-
unicode-display_width (2.
|
76
|
+
unicode-display_width (2.5.0)
|
57
77
|
|
58
78
|
PLATFORMS
|
59
79
|
arm64-darwin
|
@@ -73,4 +93,4 @@ DEPENDENCIES
|
|
73
93
|
sqlite3
|
74
94
|
|
75
95
|
BUNDLED WITH
|
76
|
-
2.
|
96
|
+
2.5.7
|
data/dev.yml
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "msgpack", ">= 1.5.2"
|
6
|
+
|
7
|
+
gem "rake", "~> 13.0"
|
8
|
+
gem "activesupport", "~> 7.1.0"
|
9
|
+
gem "activerecord", "~> 7.1.0"
|
10
|
+
gem "sqlite3", "< 2"
|
11
|
+
gem "benchmark-ips"
|
12
|
+
|
13
|
+
gem "minitest", "~> 5.0"
|
14
|
+
|
15
|
+
gem "rubocop"
|
16
|
+
gem "rubocop-shopify", "~> 2.0", require: false
|
17
|
+
gem "byebug"
|
18
|
+
|
19
|
+
gem "sorbet-runtime"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "msgpack", ">= 1.5.2"
|
6
|
+
|
7
|
+
gem "rake", "~> 13.0"
|
8
|
+
gem "activesupport", "~> 7.2.0"
|
9
|
+
gem "activerecord", "~> 7.2.0"
|
10
|
+
gem "sqlite3"
|
11
|
+
gem "benchmark-ips"
|
12
|
+
|
13
|
+
gem "minitest", "~> 5.0"
|
14
|
+
|
15
|
+
gem "rubocop"
|
16
|
+
gem "rubocop-shopify", "~> 2.0", require: false
|
17
|
+
gem "byebug"
|
18
|
+
|
19
|
+
gem "sorbet-runtime"
|
data/lib/paquito/types.rb
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
require "paquito/errors"
|
4
4
|
|
5
|
+
begin
|
6
|
+
require "active_support"
|
7
|
+
require "active_support/core_ext/time/calculations"
|
8
|
+
rescue LoadError
|
9
|
+
# We don't actually depend on ActiveSupport, we just want to use
|
10
|
+
# Time.at_without_coercion if it's available. Otherwise, we'll just use
|
11
|
+
# Time.at and ignore this error.
|
12
|
+
end
|
13
|
+
|
5
14
|
module Paquito
|
6
15
|
module Types
|
7
16
|
autoload :ActiveRecordPacker, "paquito/types/active_record_packer"
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- ".github/workflows/cla.yml"
|
36
36
|
- ".gitignore"
|
37
37
|
- ".rubocop.yml"
|
38
|
+
- ".ruby-version"
|
38
39
|
- CHANGELOG.md
|
39
40
|
- Gemfile
|
40
41
|
- Gemfile.lock
|
@@ -47,6 +48,8 @@ files:
|
|
47
48
|
- bin/console
|
48
49
|
- bin/setup
|
49
50
|
- dev.yml
|
51
|
+
- gemfiles/rails_7.1.gemfile
|
52
|
+
- gemfiles/rails_7.2.gemfile
|
50
53
|
- lib/paquito.rb
|
51
54
|
- lib/paquito/active_record_coder.rb
|
52
55
|
- lib/paquito/allow_nil.rb
|
@@ -77,7 +80,7 @@ metadata:
|
|
77
80
|
allowed_push_host: https://rubygems.org
|
78
81
|
homepage_uri: https://github.com/Shopify/paquito
|
79
82
|
source_code_uri: https://github.com/Shopify/paquito
|
80
|
-
post_install_message:
|
83
|
+
post_install_message:
|
81
84
|
rdoc_options: []
|
82
85
|
require_paths:
|
83
86
|
- lib
|
@@ -92,8 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
94
97
|
requirements: []
|
95
|
-
rubygems_version: 3.5.
|
96
|
-
signing_key:
|
98
|
+
rubygems_version: 3.5.21
|
99
|
+
signing_key:
|
97
100
|
specification_version: 4
|
98
101
|
summary: Framework for defining efficient and extendable serializers
|
99
102
|
test_files: []
|