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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f7d5092a44023063818776cd29a0cacb950adc6a4299959b8de173e8a2bd8af
4
- data.tar.gz: e44239f4fecaf4a20abe8d642c53100f32d9a420441fbd30642278f3a5b84c05
3
+ metadata.gz: 824b23774afef98662b4d7ad9c265d178679c7c7aac13f934b492505e8eb6cd7
4
+ data.tar.gz: c1e8ad2f5384a8de24517e5157d9af7f05f02c069f8032761e31d00ae68569fb
5
5
  SHA512:
6
- metadata.gz: ff9efed87c28bfbe8a559827066d98260994e55bb8566795c84190b60f09420fd5444d070b8dd4c4bdb14b2e8ae7aa1ade09a0f3b1696dc1694ac8085a42ef49
7
- data.tar.gz: 6a91b088e7fe7f6f91a32914ed74fdcbf671431fa722de22cfb8cbd70ae69aec04b70be8194a952be270963fc0f72e23bcb3aa8a1bb6feb5f5c46c298c048e6c
6
+ metadata.gz: 360ffc3a6b65b0d7ef08f1e01cb2581e92438c7599d33a16a4465f200bc09d569c247b2cea1fb4d02555e5a0103799801452a4ad3d727a5098a6cdba27bf324d
7
+ data.tar.gz: 52a32db1abf850fa658e9f80fa69201879d3fb03d90082a76b5a42ebcf3d773367e789161d345bad946f166b1e5112609cf9f9a3431ec3b31b2324293f8a2d0d
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
- ## [0.0.11] - 2025-01-30
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.11
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-30 00:00:00.000000000 Z
10
+ date: 2025-01-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activerecord