avro_turf_enchanced 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avro_turf/messaging.rb +3 -2
- data/lib/avro_turf/version.rb +1 -1
- 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: b7c4f5cabfd2300aa114f874d36092ad131f79fa
|
4
|
+
data.tar.gz: 549e708792004fd566e7b2922260e9105759fdfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad61abd6486ac67e060795f12c88e26c733874497f3f6fe75cc128841ef375d2e1824d02d81c926fa5fde17c12091fbeb3dea23a4e8e68fba26656fc0aa729f
|
7
|
+
data.tar.gz: 6ec8646450c7fb95460d6f87f7eb5afc0fe320be18e9badf0138949697009f08e6b1328e0b3f3407b92827df9aab1520e6853388bef270d3e385c33f8e55a4af
|
data/lib/avro_turf/messaging.rb
CHANGED
@@ -43,12 +43,12 @@ class AvroTurf
|
|
43
43
|
# namespace - The namespace of the schema (optional).
|
44
44
|
#
|
45
45
|
# Returns the encoded data as a String.
|
46
|
-
def encode(message, schema: nil, namespace: @namespace
|
46
|
+
def encode(message, schema_id, schema: nil, namespace: @namespace)
|
47
47
|
# schema = @schema_store.find(schema_name, namespace)
|
48
48
|
|
49
49
|
# Schemas are registered under the full name of the top level Avro record
|
50
50
|
# type, or `subject` if it's provided.
|
51
|
-
schema_id = @registry.register(subject || schema.fullname, schema)
|
51
|
+
# schema_id = @registry.register(subject || schema.fullname, schema)
|
52
52
|
|
53
53
|
stream = StringIO.new
|
54
54
|
writer = Avro::IO::DatumWriter.new(schema)
|
@@ -100,3 +100,4 @@ class AvroTurf
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
+
|
data/lib/avro_turf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avro_turf_enchanced
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro
|