deimos-ruby 1.12.3 → 1.12.4

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: 755e18a8a926a57147e5702c32e97e4a436855be16d023e7fae55e1cc54e31cc
4
- data.tar.gz: 0b13c1f56ae9a384b6beb55e792a5461dad0366c149e11efeee17687b2fc5461
3
+ metadata.gz: b6868444b14bad26f41d6b9ae08e02b402c33e17131df0db31874551c69b2d2b
4
+ data.tar.gz: 64d5856bf685c2de06a3fe2124fcbf441953600073a0a1786663877013f52080
5
5
  SHA512:
6
- metadata.gz: 68d6a5b47a82f32f0a4619f3d915cf63332b17e2c3f1d2f5cf257c18410a8e2628c266b72f9167fd95ce6191cfacbf13dd5fb72b3ee86b4fb6cd98b366fd2d82
7
- data.tar.gz: ee4ae15d36fe70bc5fedb9118a926be60918b7108198b9b964fb1a9aa8a92b77d630957b0237ac584b2acf8cace6e454725c2016f75167c13f720d0cbe04a653
6
+ metadata.gz: 6e0ff08f0224cf67ccd6361c8e75d30e516acec862edeb233401bfd61ccd2cfd8fe2b38658be1ff6fabfdae396caefa856e22182ed995fd03dc7afa7a644a8c5
7
+ data.tar.gz: 543da676aff990c852f2208a39539650f77255f7aa5e50f3e9651352fb84c9303f78daa51e43b27abdc295175b891cca29b578d2b786773da8184f45ff11439b
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 1.12.4 - 2022-01-13
11
+
12
+ - Fix bug where schema controller mixin was using the schema name to register and not the namespaced schema name
13
+
10
14
  # 1.12.3 - 2021-12-13
11
15
 
12
16
  - Fix bug with previous release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deimos-ruby (1.12.0)
4
+ deimos-ruby (1.12.3)
5
5
  avro_turf (~> 0.11)
6
6
  fig_tree (~> 0.0.2)
7
7
  phobos (>= 1.9, < 3.0)
@@ -92,7 +92,7 @@ GEM
92
92
  rake (>= 12.0.0, < 14.0.0)
93
93
  dogstatsd-ruby (4.8.3)
94
94
  erubi (1.10.0)
95
- excon (0.85.0)
95
+ excon (0.89.0)
96
96
  exponential-backoff (0.0.4)
97
97
  ffi (1.15.0)
98
98
  fig_tree (0.0.2)
@@ -106,7 +106,7 @@ module Deimos
106
106
  def render_schema(payload, schema: nil, namespace: nil)
107
107
  namespace, schema = parse_namespace(:response) if !schema && !namespace
108
108
  encoder = Deimos.schema_backend(schema: schema, namespace: namespace)
109
- encoded = encoder.encode(payload)
109
+ encoded = encoder.encode(payload, topic: "#{namespace}.#{schema}")
110
110
  response.headers['Content-Type'] = encoder.class.content_type
111
111
  send_data(encoded)
112
112
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.12.3'
4
+ VERSION = '1.12.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.3
4
+ version: 1.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf