evt-event_store-http 0.1.1.1 → 0.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_store/http/request.rb +4 -6
- data/lib/event_store/http/session.rb +0 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caa6c4b43f8deff3e8b69c92ba6c6f83b4ce45af
|
4
|
+
data.tar.gz: 55dcf1068662469b116a13a365d1158e40f3ab1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f408863636f7a7174700792c5ebcede56e14cceb8becfa72753a76b89431579d0c33a6647d58243c0ffb1d32ad7eca42420b9758e296ae32eaea69d7af6b98e
|
7
|
+
data.tar.gz: dcaac560b86c52a68cc5411cda9cd1bba32f0b28788ce3c69583ef025e920c6487b9ad773a545541a0b918d708d90aef3f925ae9cdadab1d4562688432c46cc0
|
@@ -45,16 +45,14 @@ module EventStore
|
|
45
45
|
end
|
46
46
|
|
47
47
|
module Assertions
|
48
|
-
def session?(session,
|
48
|
+
def session?(session, strict: nil)
|
49
49
|
return false unless connection.is_a? Session
|
50
50
|
return false unless connection.connect == session.connect
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
if copy
|
55
|
-
!instancy_equality
|
52
|
+
if strict
|
53
|
+
connection.equal? session
|
56
54
|
else
|
57
|
-
|
55
|
+
true
|
58
56
|
end
|
59
57
|
end
|
60
58
|
end
|
@@ -28,13 +28,6 @@ module EventStore
|
|
28
28
|
session
|
29
29
|
end
|
30
30
|
|
31
|
-
def self.copy(session)
|
32
|
-
instance = session.class.new
|
33
|
-
instance.connect = session.connect
|
34
|
-
instance.retry = session.retry
|
35
|
-
instance
|
36
|
-
end
|
37
|
-
|
38
31
|
Virtual::Method.define self, :configure
|
39
32
|
|
40
33
|
def request(request)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-event_store-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-configure
|