evt-event_source-event_store-http 0.5.1.0 → 0.6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3dd011965cb7857c1269dde1ce3b96ac049726a
4
- data.tar.gz: 73b296e27fcad034fffb17362f2d0d39da43e384
3
+ metadata.gz: 35920ab1c6bc17ffc8f4c6501d3d37c2abdd48e1
4
+ data.tar.gz: 885c7700c66a57f807b34010b121f69c52fae443
5
5
  SHA512:
6
- metadata.gz: 38a05abb854f2f5e9c949bd543e534f5b8e3b4a642cd5b0880b1cee577e84cb261554e44144868d26691a28db16082d69e23bec77c40eec6a80777f3a678fd42
7
- data.tar.gz: f369522acb65f296662f6c02710326d76afca66abae630e6272cab5eaf4c5fc24d507260ea114aee5246b80a9a698383258ea90a838a763170477abcd54b7058
6
+ metadata.gz: 82036344a34dabaececdff94bf88eaf628b7b792593b5b2eadc3725ad3f7a159e8e1b8f136911b5b770d2e25d9522fc6e864f13b6ea19ab2f8b76c4a202e57ca
7
+ data.tar.gz: c45c9a7aaaff545584d7afe8cd50378b38d5b89ff39f547307444cf9ab77d8a0ed49eb20d77ac84b5e78eea82d1751f3a5aea9b986ebe64982f12cc4dca42ed6
@@ -4,7 +4,6 @@ require 'event_store/http'
4
4
  require 'event_source/event_store/http/log'
5
5
  require 'event_source/event_store/http/session'
6
6
  require 'event_source/event_store/http/settings'
7
- require 'event_source/event_store/http/stream_name'
8
7
 
9
8
  require 'event_source/event_store/http/get'
10
9
  require 'event_source/event_store/http/get/assertions'
@@ -5,7 +5,6 @@ require 'event_store/http/controls'
5
5
  require 'event_source/event_store/http/controls/write'
6
6
 
7
7
  require 'event_source/event_store/http/controls/category'
8
- require 'event_source/event_store/http/controls/stream'
9
8
  require 'event_source/event_store/http/controls/stream_name'
10
9
  require 'event_source/event_store/http/controls/uuid'
11
10
 
@@ -6,12 +6,6 @@ module EventSource
6
6
  def self.example(*arguments)
7
7
  EventSource::Controls::StreamName.example *arguments
8
8
  end
9
-
10
- module Category
11
- def self.example
12
- Stream::Category.example.name
13
- end
14
- end
15
9
  end
16
10
  end
17
11
  end
@@ -36,8 +36,6 @@ module EventSource
36
36
  end
37
37
 
38
38
  def call(stream_name, position: nil)
39
- stream_name = StreamName.canonize stream_name
40
-
41
39
  logger.trace { "Reading stream (StreamName: #{stream_name}, Position: #{position || '(start)'}, BatchSize: #{batch_size})" }
42
40
 
43
41
  begin
@@ -34,8 +34,6 @@ module EventSource
34
34
  end
35
35
 
36
36
  def call(stream_name)
37
- stream_name = StreamName.canonize stream_name
38
-
39
37
  logger.trace { "Getting last event of stream (StreamName: #{stream_name})" }
40
38
 
41
39
  begin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-event_source-event_store-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.0
4
+ version: 0.6.0.0
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: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-event_source
@@ -66,7 +66,6 @@ files:
66
66
  - lib/event_source/event_store/http/controls/event_data/write.rb
67
67
  - lib/event_source/event_store/http/controls/port.rb
68
68
  - lib/event_source/event_store/http/controls/settings.rb
69
- - lib/event_source/event_store/http/controls/stream.rb
70
69
  - lib/event_source/event_store/http/controls/stream_name.rb
71
70
  - lib/event_source/event_store/http/controls/uuid.rb
72
71
  - lib/event_source/event_store/http/controls/write.rb
@@ -79,7 +78,6 @@ files:
79
78
  - lib/event_source/event_store/http/read.rb
80
79
  - lib/event_source/event_store/http/session.rb
81
80
  - lib/event_source/event_store/http/settings.rb
82
- - lib/event_source/event_store/http/stream_name.rb
83
81
  - lib/event_source/event_store/http/write.rb
84
82
  homepage: https://github.com/eventide-project/event-source-event-store-http
85
83
  licenses:
@@ -1,9 +0,0 @@
1
- module EventSource
2
- module EventStore
3
- module HTTP
4
- module Controls
5
- Stream = EventSource::Controls::Stream
6
- end
7
- end
8
- end
9
- end
@@ -1,21 +0,0 @@
1
- module EventSource
2
- module EventStore
3
- module HTTP
4
- module StreamName
5
- def self.canonize(stream_or_stream_name)
6
- stream = EventSource::Stream.build stream_or_stream_name
7
-
8
- if stream.category?
9
- category_stream_name stream.name
10
- else
11
- stream.name
12
- end
13
- end
14
-
15
- def self.category_stream_name(category)
16
- "$ce-#{category}"
17
- end
18
- end
19
- end
20
- end
21
- end