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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04bb5b7453e2e35521af286e26af946bb50266c530a4bfea6fc680e40f11c181
4
- data.tar.gz: 4020bd4d9fa847de9288f06ff088c002a788771ec58cd04619430f21c25fc868
3
+ metadata.gz: 2bd62753fe62f0072df52aca248cc67d7b7ec31aca7c2ecdf7d6d66aa9943e4d
4
+ data.tar.gz: 4e72587b20a5d5fec6d128092bf139c7528cb52e5552b579ca38c16840b8918e
5
5
  SHA512:
6
- metadata.gz: f71f4c15a0eb7ab795a13d872d2d23e68f732ba428320b2699fb2efebb24f3c5a192545528468f8327ca748ad3afb79501199461d490ca0e43c9be4297a31167
7
- data.tar.gz: b7f20bdc336378a3a99f52c1b27da66aed1af55a1533e5e7a399ed6edeb5f80022a9ce18acb2d667816869674dddcf43332a5db2b2f4353c5f263a017afd4087
6
+ metadata.gz: bc3c0d6b7bc2605b12edd6a6aa7a4d897a32fbf980d90b23b17cfc56058f9286fe7d7c88548bf90fe6aa156ecba8b304a8681e8ed548ba82caec175d222f9e58
7
+ data.tar.gz: a056c8cbc5c7585f51d837e445dca9fea5fdb7c7ff7e5f01f251396ea092027b8e601a0f3853909df82e8a2cb39f4864d8c0f222af0b114c18337ff07ddb54d4
@@ -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 Transformer or Transform namespace"
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)
@@ -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 `Transformer' or 'Transform' namespace"
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.0
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-04-30 00:00:00.000000000 Z
11
+ date: 2018-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-log