evt-message_store-postgres 0.7.0.1 → 0.7.0.2

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: 0522f74a42a0478a4504b9d86a2603b495251f8bd5083ed61ee52de1f5d0f57f
4
- data.tar.gz: 9e15dc8ec4ecc65cf1694bf547215a2af6990d0f056a587fdb601690cbd8416e
3
+ metadata.gz: a16ee3f3b8242a06c983a1622539ac2f73a728184e4f2ad11f09838cb2f76aeb
4
+ data.tar.gz: 23c759ee3934a4bea9bab61ba824d82ae99c8bf4194403612859209f735b2482
5
5
  SHA512:
6
- metadata.gz: 926e8b167380293de58218922298d75037e3ba77d05f5dfad34746f08037d43defe1744e881bde28090171528e8bb8436cc3817a4d97920d34afcf854f548c0e
7
- data.tar.gz: a99a7895e9eaabac6821a0bda653734f1c8c29f25429e0e1df48580f8fd1e487b70b0cf3ebf0fdd326ee935d79f1ef5cae27072376936eae0cdfa33b14de2726
6
+ metadata.gz: 624cf0832eff077b61d4b87df2693536503d9d0d26b653c4e216f032d931bdd9f2a838d96a8c954bc8d1f2dab36ea0648c6375f42ad94e4f6f2fd4eb71170b8b
7
+ data.tar.gz: dbff7c58fb43b5deb80b25615ed0f93cb71cff5eb7c9d54bfb4aa7dd6f534b07d5fe64c888fe3d9976c72c4016942db0e6387ca235de71a9d5320f23517d5ca9
@@ -1,12 +1,3 @@
1
- # module MessageStore
2
- # module Postgres
3
- # module Controls
4
- # Category = MessageStore::Controls::Category
5
- # end
6
- # end
7
- # end
8
-
9
-
10
1
  module MessageStore
11
2
  module Postgres
12
3
  module Controls
@@ -2,6 +2,30 @@ module MessageStore
2
2
  module Postgres
3
3
  module Controls
4
4
  MessageData = MessageStore::Controls::MessageData
5
+
6
+ module MessageData
7
+ module Write
8
+ module List
9
+ Entry = Struct.new(:stream_name, :message_data)
10
+
11
+ def self.get(instances: nil)
12
+ instances ||= 1
13
+
14
+ stream_name = StreamName.example
15
+
16
+ list = []
17
+ instances.times do
18
+ stream_name = Controls::StreamName.example
19
+ write_message = Controls::MessageData::Write.example
20
+
21
+ list << Entry.new(stream_name, write_message)
22
+ end
23
+
24
+ list
25
+ end
26
+ end
27
+ end
28
+ end
5
29
  end
6
30
  end
7
31
  end
@@ -1,14 +1,7 @@
1
1
  module MessageStore
2
2
  module Postgres
3
3
  module Controls
4
- module StreamName
5
- def self.example(category: nil, id: nil, type: nil, types: nil, randomize_category: nil)
6
- category ||= Category.example(category: category, randomize_category: randomize_category)
7
- id ||= Identifier::UUID.random
8
-
9
- MessageStore::Postgres::StreamName.stream_name(category, id, type: type, types: types)
10
- end
11
- end
4
+ StreamName = MessageStore::Controls::StreamName
12
5
  end
13
6
  end
14
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.1
4
+ version: 0.7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: scripts
10
10
  cert_chain: []
11
- date: 2018-04-25 00:00:00.000000000 Z
11
+ date: 2018-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-message_store
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: evt-diagnostics-sample
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: " "
84
98
  email: opensource@eventide-project.org
85
99
  executables: