deimos-ruby 2.1.4 → 2.1.5

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: 3b6f32c7658a4b3cc134cc544bb0d4291b90e6424df288f4b4fcfd7fa93c630f
4
- data.tar.gz: 2f3ebc77c9c622f5256d77448fec7c7303134519acaa1611f985002838f0278e
3
+ metadata.gz: 9eea206c2cadcb906acc693cfa531265c5b716ccdd0aa6507726b462460b32ce
4
+ data.tar.gz: 5d1d97dd70d8be536f62c0900d58ae34aa2faf498461104baaadba6b4ee4f382
5
5
  SHA512:
6
- metadata.gz: 4654cbbe510338b52186bf6eb507c930cb932293c0018f4ca5cda83acb1b901ecc646af7adbed3ca167ea1d756b1c3a19857cc727ac7de902028718fad13b9cd
7
- data.tar.gz: b4cc6c4f30a5c6e5d94b2c56f194ee3fc1b04467f577928f89e6550fca1d0aee2b078c6b616a68db820c132d67a985fbe444302143eed7c218cae50f91d920fd
6
+ metadata.gz: 63afb1d64b6247d25e52365f8e43e3ffd365c1b682c00271400b4ea76fe437cc9e4cd327dfb9781ded873a40705dbef59fc1bef705da3bc4228fef39eb728429
7
+ data.tar.gz: c04688a0cc8b3ffe78612a16ad60b5df4d071da39bac9b877d7a3bcfae3ed6922ba5098bea1887aa2fdeedd5b23827daa88e2d32e42f9b211fa7854ca63e430a
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 2.1.5 - 2025-07-23
11
+
12
+ - Fix: Schema classes with required fields caused a crash in the `Deimos.schema_backend` method.
13
+
10
14
  # 2.1.4 - 2025-07-22
11
15
 
12
16
  - Feature: Add interrogation methods (e.g. `approved?`) for schema class enums.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '2.1.4'
4
+ VERSION = '2.1.5'
5
5
  end
data/lib/deimos.rb CHANGED
@@ -75,7 +75,7 @@ module Deimos
75
75
  if schema_class.nil?
76
76
  schema_backend_class.new(schema: schema, namespace: namespace)
77
77
  else
78
- schema_instance = schema_class.new
78
+ schema_instance = schema_class.allocate
79
79
  schema_backend_class.new(schema: schema_instance.schema, namespace: schema_instance.namespace)
80
80
  end
81
81
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-22 00:00:00.000000000 Z
11
+ date: 2025-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf