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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14a7499b6aebb21573dbee95446815f677762fc5
4
- data.tar.gz: b387dede993698644fa5a1f9b2da31a40621574b
3
+ metadata.gz: b7c4f5cabfd2300aa114f874d36092ad131f79fa
4
+ data.tar.gz: 549e708792004fd566e7b2922260e9105759fdfd
5
5
  SHA512:
6
- metadata.gz: 93d80249a49cb7d4213664946e383d39fe57764c8cc069a210b835be760f7fb3c540f8a0bcda10e025ac2cf9ca77f1e95d2457b5060c4199aed616938647ac62
7
- data.tar.gz: 1f6d8d33c4728f3a54fd323f134431ef8fa693dacdb7a5ebb8e50b4ccd86837a73ee03d813318bbae9436f19f3caa9092f043602a1d16d2d8b55073bdef4a871
6
+ metadata.gz: 5ad61abd6486ac67e060795f12c88e26c733874497f3f6fe75cc128841ef375d2e1824d02d81c926fa5fde17c12091fbeb3dea23a4e8e68fba26656fc0aa729f
7
+ data.tar.gz: 6ec8646450c7fb95460d6f87f7eb5afc0fe320be18e9badf0138949697009f08e6b1328e0b3f3407b92827df9aab1520e6853388bef270d3e385c33f8e55a4af
@@ -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, subject: nil)
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
+
@@ -1,3 +1,3 @@
1
1
  class AvroTurf
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
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.3
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-02-27 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro