evt-transform 0.2.1.0 → 0.2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/transform/transform.rb +1 -1
- data/lib/transform/write.rb +1 -3
- 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: 2bd62753fe62f0072df52aca248cc67d7b7ec31aca7c2ecdf7d6d66aa9943e4d
|
4
|
+
data.tar.gz: 4e72587b20a5d5fec6d128092bf139c7528cb52e5552b579ca38c16840b8918e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc3c0d6b7bc2605b12edd6a6aa7a4d897a32fbf980d90b23b17cfc56058f9286fe7d7c88548bf90fe6aa156ecba8b304a8681e8ed548ba82caec175d222f9e58
|
7
|
+
data.tar.gz: a056c8cbc5c7585f51d837e445dca9fea5fdb7c7ff7e5f01f251396ea092027b8e601a0f3853909df82e8a2cb39f4864d8c0f222af0b114c18337ff07ddb54d4
|
data/lib/transform/transform.rb
CHANGED
@@ -9,7 +9,7 @@ module Transform
|
|
9
9
|
transformer_name = transformer_name(subject_constant)
|
10
10
|
|
11
11
|
if transformer_name.nil?
|
12
|
-
raise Error, "#{subject_constant.name} doesn't have a
|
12
|
+
raise Error, "#{subject_constant.name} doesn't have a Transform namespace implementing the transformation protocol"
|
13
13
|
end
|
14
14
|
|
15
15
|
Reflect.(subject, transformer_name, strict: true)
|
data/lib/transform/write.rb
CHANGED
@@ -29,14 +29,12 @@ module Transform
|
|
29
29
|
transformer_name = transformer_name(subject_constant)
|
30
30
|
|
31
31
|
if transformer_name.nil?
|
32
|
-
raise Error, "#{subject_constant.name} doesn't have a
|
32
|
+
raise Error, "#{subject_constant.name} doesn't have a Transform namespace implementing the transformation protocol"
|
33
33
|
end
|
34
34
|
|
35
35
|
transformer_reflection = Reflect.(instance, transformer_name, strict: true)
|
36
36
|
end
|
37
37
|
|
38
|
-
## could be the object if not coercing to constant
|
39
|
-
## transformer = transformer_reflection.constant
|
40
38
|
transformer = transformer_reflection.target
|
41
39
|
raw_data = get_raw_data(transformer, instance)
|
42
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-transform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.1.
|
4
|
+
version: 0.2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-log
|