alba 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a71817fd956801aba560ed75ac998c5237b8d7e3bab206afed12f48b8c91d5c2
4
- data.tar.gz: 22c4c5b3fab3f4c11414ef45a6f16eeef32a0da55e6d40e4e630a307cddefc7f
3
+ metadata.gz: af4b0c59d955d512299c637d08fd9c3ae7532e60da68344013b2c29aa558d1b1
4
+ data.tar.gz: a0619c375f304e5050369a99011c762b7203f340eef45096a60469c427c991d8
5
5
  SHA512:
6
- metadata.gz: ada94527d4ba426d24742be2da31d8d17ed629118999f505edd0633549856ba5b070ed179044b8f7d440d20d409632d7a2f443eeb61e2bf28002800c2c568345
7
- data.tar.gz: 8417624bd90adae46a2b6d63f7e02f92d73026ad30b757170fcf4beb5ff3d815f5c190237e5a047bc69dbd0faab9c190e5f50644916e620e58d45e35686f4808
6
+ metadata.gz: 2c96c7a0a9ada7dbcc2419fb75b40614e7b0df8f5763cec3b38c4bb3112ca2fc643ef1c68a04bce8be46150bd088cff464916553831491fe26f757d377648098
7
+ data.tar.gz: ca34f8344076615e225a337faee18dd1fbd4f619debcd5d4b227ba9d5287440e2a3d8d435bfb11a18dd184f8ff6530c63e1f924dddb2376ff9528dd705697c90
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 4.0.3 2026-11-07
10
+
11
+ ### Fixed
12
+
13
+ - Multithread bug on inline layout [No PR](https://github.com/okuramasafumi/alba/commit/d20ed9efbf2f99827c12b8a07308e2f5aea6ab6d)
14
+
9
15
  ## 4.0.2 2026-11-02
10
16
 
11
17
  ### Fixed
data/lib/alba/resource.rb CHANGED
@@ -129,7 +129,7 @@ module Alba
129
129
  serialized_json = encode(hash)
130
130
  return serialized_json unless @_layout
131
131
 
132
- @_layout.serialize(resource: self, serialized_json: serialized_json, binding: binding)
132
+ @_layout.dup.serialize(resource: self, serialized_json: serialized_json, binding: binding)
133
133
  end
134
134
 
135
135
  def hash_with_metadata(hash, meta)
data/lib/alba/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alba
4
- VERSION = '4.0.2'
4
+ VERSION = '4.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alba
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OKURA Masafumi