deimos-ruby 1.8.1.pre.beta3 → 1.8.1.pre.beta4

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: 380e0a86786dc4b308858186e5f97a102d13e0d0ac72ca172e941d42b6dfb81a
4
- data.tar.gz: ca99315cf3ee096160c24f15d194ce73d77d95b1e7c27b3454e2a5e4165ef156
3
+ metadata.gz: bb7b72866d42e8a74dfe9e441b5e1436c81cb16684d2985840980c010416e8af
4
+ data.tar.gz: 97b806b1b52807ea487a0da20099450d005bf71ac4cd88fbc5eb50aae66726bb
5
5
  SHA512:
6
- metadata.gz: 8aa602000e702a9ce3c271b0796f4ea864fdc0acaf0852fdf7bdc3bf51e0eaf2df3265420e2558f37e3c174a5a555d43920323bb3a1539753b8821ae00ad6f32
7
- data.tar.gz: c505ef8b587d2a405f9773a3c0f5a178f27811a071a4579ecfbe46c9f75759f1375b773949a384cdd465638ca7e95c53e6e34d8a1b7dd27e5128e03a90c0c3b1
6
+ metadata.gz: 0d98923fd57076e391a9e8e1c2a6afb83fbde7769d646fc88d599921d9b0d55a6b1c7bd0df7f3344c71c66915766484bd0c9c19cfa72fef7f9299ab41cf66232
7
+ data.tar.gz: c537564c70e3d297ca76000cd683f6c0891c18dc3b54d95b9aa6f3ea4b390a59fd2992d070112afc1e562c0bc59e0a4b523cb7bd4d71efafe2b03083df5273a6
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ ## 1.8.1-beta4 - 2020-08-12
11
+
12
+ ### Fixes :wrench:
13
+ - Fix regression bug where arrays were not being encoded
14
+
10
15
  ## 1.8.1-beta3 - 2020-08-05
11
16
 
12
17
  ### Fixes :wrench:
@@ -75,6 +75,8 @@ module Deimos
75
75
  coerce_union(type, val)
76
76
  when :record
77
77
  coerce_record(type, val)
78
+ else
79
+ val
78
80
  end
79
81
  end
80
82
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.8.1-beta3'
4
+ VERSION = '1.8.1-beta4'
5
5
  end
@@ -246,6 +246,7 @@ module ProducerTest
246
246
  MyNestedSchemaProducer.publish(
247
247
  'test_id' => 'foo',
248
248
  'test_float' => BigDecimal('123.456'),
249
+ 'test_array' => ['1'],
249
250
  'some_nested_record' => {
250
251
  'some_int' => 123,
251
252
  'some_float' => BigDecimal('456.789'),
@@ -257,6 +258,7 @@ module ProducerTest
257
258
  expect(MyNestedSchemaProducer.topic).to have_sent(
258
259
  'test_id' => 'foo',
259
260
  'test_float' => 123.456,
261
+ 'test_array' => ['1'],
260
262
  'some_nested_record' => {
261
263
  'some_int' => 123,
262
264
  'some_float' => 456.789,
@@ -14,6 +14,13 @@
14
14
  "type": "float",
15
15
  "doc": "test float"
16
16
  },
17
+ {
18
+ "name": "test_array",
19
+ "type": {
20
+ "type": "array",
21
+ "items": "string"
22
+ }
23
+ },
17
24
  {
18
25
  "name": "some_nested_record",
19
26
  "doc": "some nested record",
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.8.1.pre.beta3
4
+ version: 1.8.1.pre.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-05 00:00:00.000000000 Z
11
+ date: 2020-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf