evt-command_line-component_generator 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: 7a97be891b6a7a0c5314a0a34f89b6e18f5e8283b0207c72621728a064a70268
4
- data.tar.gz: 4cfb2e32358aab8e0b0f0ead0159929debffa966b340755a8cc23e24bbfb886e
3
+ metadata.gz: 7ed4b24c149e4e6a087647b4e2783576a5c4af105c3a72c37b6b5a5716efb17f
4
+ data.tar.gz: cc292c79eabea9a7b672a9a6634c23c8af0088d73cf8c20cdd9cc2059cd2c72c
5
5
  SHA512:
6
- metadata.gz: e3301ee3dd43f54fa384ff3c96d58637e14e9f1377d4a32cea79eff7306b770492f2accbcae3f9dfbaa04e2c8c92bb0640b82492d280ebd2c2e3a0c312f7a929
7
- data.tar.gz: 941d43760f6f3ba7822ccf1c9609829177a37e7feb1e8f93e73ca1d3876aa9bba62d04d1d0b092fc71f33b280f63ac296442a6899af7fab1d3a1c137d375d393
6
+ metadata.gz: 7e747c465a034bd3359a4575b21707cbb0dfe265687df6a6090873f9b3e79229fa7000fdabaed4d20e9395f1645ba9e6ea1865df6f03c3d088dd1e7d363a9e6d
7
+ data.tar.gz: 22954de2393fc903b00532d9d1d875cc94ec26b7080660e7aeebd3172204bd005681da2d040eb6561f6e9fc849ceea82c55209a4a834bcc946102d2a3631421c
@@ -1,6 +1,6 @@
1
1
  require 'eventide/postgres'
2
2
 
3
- # TODO Implement command and event messages
3
+ # TODO Load command and event message files"
4
4
  # require '<%= component_name %>/messages/commands/...'
5
5
  # require '<%= component_name %>/messages/events/...'
6
6
 
@@ -8,7 +8,7 @@ module <%= component_constant_name %>
8
8
  attribute :id, String
9
9
 
10
10
  # TODO Implement attributes
11
- # TODO Implement entity logic, predicates, mutations, calculations, etc?
12
- # Note: This class's methods should pertain to its attributes
11
+ # TODO Implement entity logic, predicates, mutations, calculations, etc
12
+ # Note: This class's methods should pertain only to its attributes
13
13
  end
14
14
  end
@@ -7,6 +7,8 @@ require '<%= component_name %>/controls/version'
7
7
 
8
8
  require '<%= component_name %>/controls/<%= entity_name %>'
9
9
 
10
+ # TODO Implement command controls (if using controls as part of your testing methodology)"
10
11
  # require '<%= component_name %>/controls/commands/...'
11
12
 
13
+ # TODO Implement event controls (if using controls as part of your testing methodology)"
12
14
  # require '<%= component_name %>/controls/events/...'
@@ -7,8 +7,10 @@ module <%= component_constant_name %>
7
7
  include Messaging::Handle
8
8
  include Messaging::StreamName
9
9
  include Log::Dependency
10
- include Messages::Commands
11
- include Messages::Events
10
+ # TODO include Messages::Commands once commands are implemented
11
+ # include Messages::Commands
12
+ # TODO include Messages::Events once commands are implemented"
13
+ # include Messages::Events
12
14
 
13
15
  dependency :write, Messaging::Postgres::Write
14
16
  dependency :clock, Clock::UTC
@@ -22,7 +24,7 @@ module <%= component_constant_name %>
22
24
 
23
25
  category :<%= entity_name %>
24
26
 
25
- # TODO Implement command handler blocks
27
+ # TODO Implement command handler blocks"
26
28
  # eg:
27
29
  # handle DoSomething do |do_something|
28
30
  # <%= entity_name %>_id = do_something.<%= entity_name %>_id
@@ -7,12 +7,13 @@ module <%= component_constant_name %>
7
7
  include Messaging::Handle
8
8
  include Messaging::StreamName
9
9
  include Log::Dependency
10
- include Messages::Commands
11
- include Messages::Events
10
+ # include Messages::Events once events are implemented
11
+ # include Messages::Events
12
12
 
13
- # TODO Implement event handler blocks
14
13
  # Note: Delete this file if not handling events
15
14
 
15
+ # TODO Implement event handler blocks
16
+ # eg:
16
17
  # handle SomethingHappened do |something_happened|
17
18
  # end
18
19
  end
@@ -4,7 +4,8 @@
4
4
  module <%= component_constant_name %>
5
5
  class Projection
6
6
  include EntityProjection
7
- include Messages::Events
7
+ # TODO include Messages::Events once events are implemented"
8
+ # include Messages::Events
8
9
 
9
10
  entity_name :<%= entity_name %>
10
11
 
@@ -2,6 +2,7 @@ ENV['CONSOLE_DEVICE'] ||= 'stdout'
2
2
  ENV['LOG_LEVEL'] ||= '_min'
3
3
 
4
4
  puts RUBY_DESCRIPTION
5
+ puts
5
6
 
6
7
  require_relative '../init.rb'
7
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-command_line-component_generator
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: executable
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor