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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3e82616b8ec97683ab7955198079c76d7fce721
4
- data.tar.gz: e19cc35687908eb5eaf46946643ed70e117f10ab
3
+ metadata.gz: caa6c4b43f8deff3e8b69c92ba6c6f83b4ce45af
4
+ data.tar.gz: 55dcf1068662469b116a13a365d1158e40f3ab1d
5
5
  SHA512:
6
- metadata.gz: f6922ec3a668cf508b9b2d46da94ff805d33d4dff58ca6fe784ff141e156df76b833f5a57d7c19882b74200bc2d389e7dcaa03fb0870cd7333bba4da0316b637
7
- data.tar.gz: e163fdf6a5e0d892e9d96449ce9ac099701e41e0b37ca1085019fec798d85e3ea3df336535bc4cdbbe49b23e6a09c7fe8e2cdbc9f4ed9002e1f4ebcb72aae8fe
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, copy: nil)
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
- instancy_equality = connection.equal? session
53
-
54
- if copy
55
- !instancy_equality
52
+ if strict
53
+ connection.equal? session
56
54
  else
57
- instancy_equality
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.1.1.1
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-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-configure