legion-data 1.8.0 → 1.8.1
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/legion/data/models/identity.rb +1 -2
- data/lib/legion/data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b3a56b1330f3ec71addc28b9b3b02e6ed845ff80c9993073bde8130fee363ef
|
|
4
|
+
data.tar.gz: ccfdf0a86f6408b201065d414ab6199cacf6610e0bfbb527449e59cf970fddb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b40d2cde196b2c8fec186671ee7973ac85893239e9502445d975ccfaca43efdd8170e04082869f30bd0544cb42a9b090b1190c5ef942c6afa37fa07622874854
|
|
7
|
+
data.tar.gz: c9e5c0e72a62c423a532b1be4d34ec98fd6b7b9611232939e5e57f3e61e3f56cc14eb19c5df57855cb3735ee76f6e00338e6a610fa81989e0acfba27c4fceb6a
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [1.8.1] - 2026-05-07
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- `TypeError: superclass mismatch for class Identity` on startup: moved `require_relative 'identity/model_helpers'` inside the `Identity < Sequel::Model(:identities)` class body so the Sequel superclass is established before `model_helpers.rb` reopens the constant.
|
|
9
|
+
|
|
5
10
|
## [1.8.0] - 2026-05-06
|
|
6
11
|
|
|
7
12
|
### Added
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative 'identity/model_helpers'
|
|
4
|
-
|
|
5
3
|
return unless Legion::Data::Connection.adapter == :postgres
|
|
6
4
|
|
|
7
5
|
module Legion
|
|
8
6
|
module Data
|
|
9
7
|
module Model
|
|
10
8
|
class Identity < Sequel::Model(:identities)
|
|
9
|
+
require_relative 'identity/model_helpers'
|
|
11
10
|
include ModelHelpers
|
|
12
11
|
|
|
13
12
|
many_to_one :principal, class: 'Legion::Data::Model::Principal'
|
data/lib/legion/data/version.rb
CHANGED