foobara-active-record-type 0.0.12 → 0.0.14

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: 824b23774afef98662b4d7ad9c265d178679c7c7aac13f934b492505e8eb6cd7
4
- data.tar.gz: c1e8ad2f5384a8de24517e5157d9af7f05f02c069f8032761e31d00ae68569fb
3
+ metadata.gz: 7875c3851e75b4b6b2f5963c057a93541fcfc825d1705bdaf181e1ce9b703982
4
+ data.tar.gz: 2907faeae76548a51190010dd96710795c334b793ccc9fc64c78b57cd11f15fa
5
5
  SHA512:
6
- metadata.gz: 360ffc3a6b65b0d7ef08f1e01cb2581e92438c7599d33a16a4465f200bc09d569c247b2cea1fb4d02555e5a0103799801452a4ad3d727a5098a6cdba27bf324d
7
- data.tar.gz: 52a32db1abf850fa658e9f80fa69201879d3fb03d90082a76b5a42ebcf3d773367e789161d345bad946f166b1e5112609cf9f9a3431ec3b31b2324293f8a2d0d
6
+ metadata.gz: 4ea9d7c160402a9e0e7035dc4fc83f0bb44bddd9a779b8f458044c064659822a868255c6c63afae8276025a29e0bf752ddbaf5e1e6e8a1112022d61c448076d3
7
+ data.tar.gz: 48e1cfb557bc5bf9637db1da097eb1c25283e17e6f370bd24307c1633a5139a19ff4dd3ba72d77a8cf96269ef90642846154003cb67a3c8329713384d07ebff4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.14] - 2025-02-02
2
+
3
+ - Fix manifest name bug
4
+
5
+ ## [0.0.13] - 2025-01-31
6
+
7
+ - Make sure our type is a DetachedEntityType not a Type
8
+
1
9
  ## [0.0.12] - 2025-01-30
2
10
 
3
11
  - Add some missing methods to ActiveRecord::Base
@@ -22,8 +22,8 @@ module Foobara
22
22
 
23
23
  ActiveRecord::Base.include ModelAttributeHelpers::Concerns::AttributeHelpers
24
24
  ActiveRecord::Base.include ActiveRecordFoobaraMethods
25
- ActiveRecord::Base.include Foobara::DetachedEntity::Concerns::Reflection
26
25
  ActiveRecord::Base.include Foobara::Model::Concerns::Reflection
26
+ ActiveRecord::Base.include Foobara::DetachedEntity::Concerns::Reflection
27
27
 
28
28
  if defined?(Foobara::CommandConnectors::RailsCommandConnector)
29
29
  Foobara::CommandConnectors::RailsCommandConnector.default_serializers = [
@@ -42,6 +42,14 @@ module Foobara
42
42
  *super
43
43
  ]
44
44
  end
45
+
46
+ def type_class
47
+ Foobara::DetachedEntityType
48
+ end
49
+
50
+ def type_name(strict_type_declaration)
51
+ strict_type_declaration[:name]
52
+ end
45
53
  end
46
54
  end
47
55
  end
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.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-31 00:00:00.000000000 Z
10
+ date: 2025-02-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activerecord