foobara 0.0.21 → 0.0.22

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: 8bae427b4d95880813782995bc8007b6ce1949fb5146b6119990462e6d74ec30
4
- data.tar.gz: 02c6307459618529f7534cfb846c9adc8870a59dca72957b7dd0636b2c1235dc
3
+ metadata.gz: dc681307752b396bf7baaf20856fbdf5107da406b112b5c15039ca915859a497
4
+ data.tar.gz: d779a8020d0e65156965a9a32c7f8b9f1c0daebbcedb3795917701feb3b7c845
5
5
  SHA512:
6
- metadata.gz: afef20c98aa2f6d50e885b1f60375750a2aa215832114fe91cfc8c325cf79041b3b663fef5b20086f15aa85a58e5e246bed1c1455fce9ad8355d9f90685d762b
7
- data.tar.gz: bdae23b73288f992f62187dd24aab3c01f74b3cdc9cd04813638d0d05d9e8a7b5ff585767433fce7bac1afdeebe1049837935170f7b89f3cb8bfc1ebf0a8fc2b
6
+ metadata.gz: fafb15435c334846fdd3f1d233abfbe8a93b02bba7374f91026555fcd7a3fd97b47fa24825a0e72dcafa0ac64688c9accead19c9c44d427ec62c707e70986016
7
+ data.tar.gz: 9ff12cb0f19aaf131808200a6196681c9c9ddec9febbf0fae0c7ff008439895243da0cf4cb068cb10bb2a162f58049eb35437aaa777a1724d5a3adf1df6d5f4f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.22] - 2024-12-03
2
+
3
+ - Allow creating entity types from declaration without model_module
4
+
1
5
  ## [0.0.21] - 2024-12-02
2
6
 
3
7
  - Allow #foobara_manifest to be called without a to_include Set
@@ -26,10 +26,12 @@ module Foobara
26
26
  mod
27
27
  when ::String, ::Symbol
28
28
  Object.const_get(mod)
29
+ when nil
30
+ Object
29
31
  else
30
32
  # :nocov:
31
33
  raise ArgumentError,
32
- "expected module_module to be a module or module name"
34
+ "expected #{mod} to be a module or module name"
33
35
  # :nocov:
34
36
  end
35
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi