transmutation 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/transmutation/serialization/lookup.rb +4 -2
- data/lib/transmutation/version.rb +1 -1
- 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: 3f47031b9ba7f42582eb94bf4656a767ab0d80571cac2dbab539586ee1026717
|
4
|
+
data.tar.gz: bf8324685ee7b78dce729d5d9d3862f252516d3601078029936ed16cfc193a17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cd441a3d1f40bfea4dd9090eb2ed58aad496166f986a1e2d086ef564302153c1381bfd4bf5868bea20cff125447aab012c3fc04488d545f4e7b436721b9edb1
|
7
|
+
data.tar.gz: 3931c97882ba5f3bd972f9cb540904f1ef71296dc8fda76c7d79770ec760c54c8f4490557a3ea5e1f6315177099e63b762d4cfe7f24bad5e6fd80d1906c9f608
|
data/Gemfile.lock
CHANGED
@@ -52,13 +52,15 @@ module Transmutation
|
|
52
52
|
@potential_namespaces ||= begin
|
53
53
|
namespace_parts = serializer_namespace.split("::")
|
54
54
|
|
55
|
-
namespace_parts.filter_map.with_index do |part, index|
|
55
|
+
namespaces = namespace_parts.filter_map.with_index do |part, index|
|
56
56
|
namespace = [*namespace_parts[...index], part].join("::")
|
57
57
|
|
58
58
|
next if namespace.empty?
|
59
59
|
|
60
60
|
Object.const_get(namespace) if Object.const_defined?(namespace)
|
61
|
-
end
|
61
|
+
end
|
62
|
+
|
63
|
+
[*namespaces.reverse, Object]
|
62
64
|
end
|
63
65
|
end
|
64
66
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transmutation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nitemaeric
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-06-
|
12
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: zeitwerk
|