paquito 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +1 -1
- data/lib/paquito/active_record_coder.rb +3 -1
- data/lib/paquito/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae7b47980ce61a6b1c3d650217d29a5c196df0c69470a36b74f643d0ded5334c
|
4
|
+
data.tar.gz: 06a85f164bcf5a0e472b4ebf41ce1a9680f71557663ed3176cb7e0df368e460b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fcc3454d84b6cfac7ffe5f3b33780fc23aa609cad375db0e35b43a28582fc3b5dbb6913fc1b3e991b1f034418abe9dbd8c0d673f28e591fc8dee001eefd7c1c
|
7
|
+
data.tar.gz: 2baa0d2518993e2e140f5e989ede70a0d9aa19edb2361414bb6375a6161db0424fcbf7ab03f8f8e531ff0cef9160ea2fa0708afb345b6d3f2d2b3dcdeec332fa
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# Unreleased
|
2
2
|
|
3
|
+
# 0.7.0
|
4
|
+
|
5
|
+
* Make ActiveRecordCoder now encode wether records were persisted or not (#12).
|
6
|
+
This change is backward compatible with Paquito 0.6.2 but NOT OLDER VERSIONS.
|
7
|
+
|
3
8
|
# 0.6.2
|
4
9
|
|
5
|
-
* Make ActiveRecordCoder
|
10
|
+
* Make ActiveRecordCoder able to read payloads that will be generated by Paquito 0.7.0 (#12).
|
6
11
|
DO NOT upgrade to Paquito 0.7.0+ without first fully rolling out Paquito 0.6.2.
|
7
12
|
|
8
13
|
# 0.6.1
|
data/Gemfile.lock
CHANGED
@@ -87,7 +87,9 @@ module Paquito
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def serialize_record(record)
|
90
|
-
[record.class.name, attributes_for_database(record)]
|
90
|
+
arguments = [record.class.name, attributes_for_database(record)]
|
91
|
+
arguments << true if record.new_record?
|
92
|
+
arguments
|
91
93
|
end
|
92
94
|
|
93
95
|
def attributes_for_database(record)
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|