evt-entity_projection-fixtures 1.0.0.0 → 1.0.0.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: 6cffbcc380f88101008dc1f3f076a498740ff7ed8522b3756724a2e4c0d7b004
4
- data.tar.gz: 90732b35a165137be09147ec2d4fbf1fc64de2059198f4da69594b9370264170
3
+ metadata.gz: 0d04ba6cfe5feb6662464db0a0d6844766c27d106b5823e952c7bdd4ec9562ca
4
+ data.tar.gz: cb201c89ce5bfaa8ddc5646e7a15aa081c862e4cdabcdff35ed054951530d48c
5
5
  SHA512:
6
- metadata.gz: 2d88e65aee9817d462f73b86fc195024a88bf63eb996539912e851b28413e1e012fcd8c1bd04b3c58b37cfd507a023d06baea4a6a2d82874a2858b22ba0f5e6c
7
- data.tar.gz: 8b3b7ee5096cb1be923d8b79da025e9429be74f00a404da81043b702d2788cb01ccc60a20d8e5ede46287d8de735399b85ff64a543f270cde2b0dd54b210900a
6
+ metadata.gz: 835149cfaff1b6f25b240ab1679f714c3fdd79eaa30477007c27bf7ecca38c64c6dad571538722c6e5f841e31167248f0516648d38dbd8e10d3eb25903be4c39
7
+ data.tar.gz: e3b206e8fa657c55b09578a34786381aa803c88e54925b233ec2248885d6aa9ab3d2a9e24076efd58c8a4b2bd48b192798273097c03c0ad0b9a1741f96d0f1ad
@@ -12,13 +12,13 @@ module EntityProjection
12
12
  event.class
13
13
  end
14
14
 
15
- initializer :projection, :control_entity, :entity, :event, :action
15
+ initializer :projection, :control_entity, :entity, :event, :test_block
16
16
 
17
- def self.build(projection, event, &action)
17
+ def self.build(projection, event, &test_block)
18
18
  entity = projection.entity
19
19
  control_entity = entity.clone
20
20
 
21
- new(projection, control_entity, entity, event, action)
21
+ new(projection, control_entity, entity, event, test_block)
22
22
  end
23
23
 
24
24
  def call
@@ -35,8 +35,8 @@ module EntityProjection
35
35
 
36
36
  projection.(event)
37
37
 
38
- if not action.nil?
39
- action.call(self)
38
+ if not test_block.nil?
39
+ test_block.call(self)
40
40
  end
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-entity_projection-fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.0
4
+ version: 1.0.0.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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2020-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-entity_projection