paquito 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.devcontainer/Dockerfile +7 -0
- data/.devcontainer/devcontainer.json +25 -0
- data/.github/workflows/ci.yml +8 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -1
- data/Gemfile.lock +8 -8
- data/gemfiles/rails_8.0.gemfile +19 -0
- data/lib/paquito/active_record_coder.rb +1 -1
- data/lib/paquito/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ede4c0254b56d0c34d1d664903ffcd51db1ce717723a82858973c76d41231bb
|
4
|
+
data.tar.gz: 97d7ac64e05043df851dd6ef49cec163991c91afc6b25e98e1b4649a5a808eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 650bc85b15bbf5c2516941222d3de02e6c7b622a0998e9ccd2db2adf439964d5edc877227b750fad06903c0d00f58a61004e3e6271b37bf6d67f8a1aeb45dcfc
|
7
|
+
data.tar.gz: b2b03a2c958c622e68b8f1cf3745d89b4cefc9ac4070875d85174ed3c5943c27a31df049f44b677d9fd6c33e958c8ddc9b834f4d8870ed8a547fe7b30b1df8ba
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
3
|
+
{
|
4
|
+
"name": "Ruby",
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
6
|
+
"dockerFile": "Dockerfile",
|
7
|
+
"features": {
|
8
|
+
"ghcr.io/devcontainers/features/github-cli:1": {}
|
9
|
+
}
|
10
|
+
|
11
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
12
|
+
// "features": {},
|
13
|
+
|
14
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
15
|
+
// "forwardPorts": [],
|
16
|
+
|
17
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
18
|
+
// "postCreateCommand": "ruby --version",
|
19
|
+
|
20
|
+
// Configure tool-specific properties.
|
21
|
+
// "customizations": {},
|
22
|
+
|
23
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
24
|
+
// "remoteUser": "root"
|
25
|
+
}
|
data/.github/workflows/ci.yml
CHANGED
@@ -29,25 +29,29 @@ jobs:
|
|
29
29
|
- name: Set up Ruby
|
30
30
|
uses: ruby/setup-ruby@v1
|
31
31
|
with:
|
32
|
-
ruby-version: '3.
|
32
|
+
ruby-version: '3.4'
|
33
33
|
bundler-cache: true
|
34
34
|
|
35
35
|
- name: Install gem
|
36
36
|
run: bundle exec rake install
|
37
|
-
|
37
|
+
|
38
38
|
|
39
39
|
rubies:
|
40
40
|
runs-on: ubuntu-latest
|
41
41
|
strategy:
|
42
42
|
fail-fast: false
|
43
43
|
matrix:
|
44
|
-
ruby: [ ruby-head, '3.
|
45
|
-
rails: [ '7.2', '7.1']
|
44
|
+
ruby: [ ruby-head, '3.4', '3.3', '3.2']
|
45
|
+
rails: [ '8.0', '7.2', '7.1']
|
46
46
|
include:
|
47
47
|
- ruby: '2.7'
|
48
48
|
rails: '7.1'
|
49
49
|
- ruby: '3.0'
|
50
50
|
rails: '7.1'
|
51
|
+
- ruby: '3.1'
|
52
|
+
rails: '7.1'
|
53
|
+
- ruby: '3.1'
|
54
|
+
rails: '7.2'
|
51
55
|
env:
|
52
56
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile
|
53
57
|
steps:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.4.1
|
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.3)
|
5
5
|
msgpack (>= 1.5.2)
|
6
6
|
|
7
7
|
GEM
|
@@ -37,6 +37,7 @@ GEM
|
|
37
37
|
json (2.7.1)
|
38
38
|
language_server-protocol (3.17.0.3)
|
39
39
|
logger (1.6.0)
|
40
|
+
mini_portile2 (2.8.8)
|
40
41
|
minitest (5.25.1)
|
41
42
|
msgpack (1.7.2)
|
42
43
|
parallel (1.24.0)
|
@@ -47,8 +48,7 @@ GEM
|
|
47
48
|
rainbow (3.1.1)
|
48
49
|
rake (13.0.6)
|
49
50
|
regexp_parser (2.9.0)
|
50
|
-
rexml (3.3.
|
51
|
-
strscan
|
51
|
+
rexml (3.3.9)
|
52
52
|
rubocop (1.62.1)
|
53
53
|
json (~> 2.3)
|
54
54
|
language_server-protocol (>= 3.17.0)
|
@@ -66,16 +66,16 @@ GEM
|
|
66
66
|
rubocop (~> 1.44)
|
67
67
|
ruby-progressbar (1.13.0)
|
68
68
|
securerandom (0.3.1)
|
69
|
-
sorbet-runtime (0.5.
|
70
|
-
sqlite3 (2.0.4
|
71
|
-
|
72
|
-
strscan (3.1.0)
|
69
|
+
sorbet-runtime (0.5.11633)
|
70
|
+
sqlite3 (2.0.4)
|
71
|
+
mini_portile2 (~> 2.8.0)
|
73
72
|
timeout (0.4.1)
|
74
73
|
tzinfo (2.0.6)
|
75
74
|
concurrent-ruby (~> 1.0)
|
76
75
|
unicode-display_width (2.5.0)
|
77
76
|
|
78
77
|
PLATFORMS
|
78
|
+
aarch64-linux
|
79
79
|
arm64-darwin
|
80
80
|
x86_64-linux
|
81
81
|
|
@@ -93,4 +93,4 @@ DEPENDENCIES
|
|
93
93
|
sqlite3
|
94
94
|
|
95
95
|
BUNDLED WITH
|
96
|
-
2.
|
96
|
+
2.6.3
|
@@ -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", "~> 8.0.0"
|
9
|
+
gem "activerecord", "~> 8.0.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"
|
@@ -99,7 +99,7 @@ module Paquito
|
|
99
99
|
attributes
|
100
100
|
end
|
101
101
|
|
102
|
-
def deserialize_record(class_name, attributes_from_database, new_record = false)
|
102
|
+
def deserialize_record(class_name, attributes_from_database, new_record = false, *)
|
103
103
|
begin
|
104
104
|
klass = Object.const_get(class_name)
|
105
105
|
rescue NameError
|
data/lib/paquito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: msgpack
|
@@ -31,6 +30,8 @@ executables: []
|
|
31
30
|
extensions: []
|
32
31
|
extra_rdoc_files: []
|
33
32
|
files:
|
33
|
+
- ".devcontainer/Dockerfile"
|
34
|
+
- ".devcontainer/devcontainer.json"
|
34
35
|
- ".github/workflows/ci.yml"
|
35
36
|
- ".github/workflows/cla.yml"
|
36
37
|
- ".gitignore"
|
@@ -50,6 +51,7 @@ files:
|
|
50
51
|
- dev.yml
|
51
52
|
- gemfiles/rails_7.1.gemfile
|
52
53
|
- gemfiles/rails_7.2.gemfile
|
54
|
+
- gemfiles/rails_8.0.gemfile
|
53
55
|
- lib/paquito.rb
|
54
56
|
- lib/paquito/active_record_coder.rb
|
55
57
|
- lib/paquito/allow_nil.rb
|
@@ -80,7 +82,6 @@ metadata:
|
|
80
82
|
allowed_push_host: https://rubygems.org
|
81
83
|
homepage_uri: https://github.com/Shopify/paquito
|
82
84
|
source_code_uri: https://github.com/Shopify/paquito
|
83
|
-
post_install_message:
|
84
85
|
rdoc_options: []
|
85
86
|
require_paths:
|
86
87
|
- lib
|
@@ -95,8 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
-
signing_key:
|
99
|
+
rubygems_version: 3.6.3
|
100
100
|
specification_version: 4
|
101
101
|
summary: Framework for defining efficient and extendable serializers
|
102
102
|
test_files: []
|