event_store_client 1.0.1 → 1.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: 134b0426087d6b24a29e55e762f5bcbdbaafbe91b3311e95e10cbaff66d83f20
4
- data.tar.gz: 8e08fecbacc16ef6a4983f69e867a1a6295160fa35f864e8635e365366b2ad38
3
+ metadata.gz: 36d69c015981edc94f13bea616da9204a527e24746f5c779355a77f23dc67a30
4
+ data.tar.gz: c0d8cba70afb5f6d4a6c4b88658adf1a0a504da98f3b9118d9309117cca05d14
5
5
  SHA512:
6
- metadata.gz: 74af83ac0ba1dab7b00e660ed16320c9fe84ea87f39b28e9b876cd1689a02c4a48df70567b4d1949b5188a7dd37d3b6f46a6f897a7073adc368eac13807197cc
7
- data.tar.gz: d69d047e3054f10bfd7928347d6b5e17c59c2a73aa0ea4f131af7d0a238188686975f5ac866b362dc9096d5d22d4ed9a5f29a9ef751f93e4c89b05d0b2d94dd7
6
+ metadata.gz: 60259b2c0e8933a7c59137cbc5c5590588b2e11e7081cd7d35c1a9a2d68d1b4159dc78d5d2d27eef80401b27f38bc12931d1d9b8536a9abd34617879493e0faa
7
+ data.tar.gz: '080671cd0986860a3ba65814fc77d2c69033071e2f206f5d0d0b0d6ad1ee1c186f976e7004ea434198dc68a53d971564357aed5f493da8f37d92a4a79f0faf20'
@@ -26,7 +26,7 @@ module EventStoreClient
26
26
 
27
27
  event_metadata = event.metadata.tap do |h|
28
28
  h['type'] = '$>'
29
- h['content-type'] = 'application/octet-stream'
29
+ h['content-type'] = 'application/json'
30
30
  h.delete('encryption')
31
31
  end
32
32
 
@@ -32,7 +32,7 @@ module EventStoreClient
32
32
  end
33
33
 
34
34
  def content_type
35
- return 'application/octet-stream' if EventStoreClient.config.adapter == :grpc
35
+ return 'application/json' if EventStoreClient.config.adapter == :grpc
36
36
 
37
37
  'application/vnd.eventstore.events+json'
38
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventStoreClient
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_store_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Wilgosz