foobara-active-record-type 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/lib/foobara/active_record_type.rb +3 -0
- 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: 824b23774afef98662b4d7ad9c265d178679c7c7aac13f934b492505e8eb6cd7
|
4
|
+
data.tar.gz: c1e8ad2f5384a8de24517e5157d9af7f05f02c069f8032761e31d00ae68569fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360ffc3a6b65b0d7ef08f1e01cb2581e92438c7599d33a16a4465f200bc09d569c247b2cea1fb4d02555e5a0103799801452a4ad3d727a5098a6cdba27bf324d
|
7
|
+
data.tar.gz: 52a32db1abf850fa658e9f80fa69201879d3fb03d90082a76b5a42ebcf3d773367e789161d345bad946f166b1e5112609cf9f9a3431ec3b31b2324293f8a2d0d
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
## [0.0.
|
1
|
+
## [0.0.12] - 2025-01-30
|
2
2
|
|
3
3
|
- Add some missing methods to ActiveRecord::Base
|
4
4
|
- Fix bug where primary key is a string instead of a symbol
|
5
|
+
- Add support for converting to a detached entity in detached manifest contexts
|
5
6
|
|
6
7
|
## [0.0.10] - 2025-01-29
|
7
8
|
|
@@ -32,6 +32,9 @@ module Foobara
|
|
32
32
|
Foobara::CommandConnectors::Serializers::JsonSerializer
|
33
33
|
]
|
34
34
|
end
|
35
|
+
|
36
|
+
DetachedEntityType.types_requiring_conversion << :active_record
|
37
|
+
DetachedEntityType.model_base_classes_requiring_conversion << "ActiveRecord::Base"
|
35
38
|
end
|
36
39
|
|
37
40
|
def reset_all
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-active-record-type
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-31 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activerecord
|