amazon-kinesis-client-ruby 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be4ed94e247161da0babb53aa73747f699e956a0
4
- data.tar.gz: 8b478ab09b7ef3a37a10f22c9d7bcf7ecb37ca71
3
+ metadata.gz: e89dc8eb33ec2d34a29be598b6a9567a4e8ded3e
4
+ data.tar.gz: b87bf316df5f5f993293c673e2046213a42bba2e
5
5
  SHA512:
6
- metadata.gz: ac16033602dc1dc372217127396f1576b92bb11be4d3c3a08edc303e3a623aa3251a9c92f6d76f6bd6b7361aa3c1e9e48d972a2ff28af192e50769371024ccf9
7
- data.tar.gz: d3bb58d51eec7dc2785da0a80e3c007ca19c51911611a594c0853186da6ac33f565ac76c05e6e2a8c84ad9f19a42b4bb5e27450803f62bce93ac6ed42fe08759
6
+ metadata.gz: c74ed522f471fffa03c7b064d109d66cb47f523e1bd2798c7a0796c3f7ee1a131b19d55bb7c2e4c17ec10b029a859a01add51c724190fdd8a3ae7d711a373788
7
+ data.tar.gz: c9cc264bdd623cb55f6023c279c384884eea7e5ec5f3d0651321bf794e1d779b8d7d365cd78711b03b8bc7d63b932ca55bc9b18a8848531b6b5bad62a65711d1
@@ -1,5 +1,4 @@
1
1
  require 'aws/kclrb'
2
- require 'forwardable'
3
2
 
4
3
  module Kcl
5
4
  module RecordProcessor
@@ -16,17 +15,25 @@ module Kcl
16
15
  end
17
16
 
18
17
  class RecordProcessorAdapter < Aws::KCLrb::RecordProcessorBase
19
- extend Forwardable
20
-
21
- def_delegator :@record_processor, :process_records, :shutdown
22
-
23
18
  def initialize record_processor
24
19
  @record_processor = record_processor
25
20
  end
26
21
 
27
22
  def init_processor shard_id
28
- @record_processor.init shard_id
23
+ record_processor.init shard_id
24
+ end
25
+
26
+ def shutdown checkpointer, reason
27
+ record_processor.shutdown checkpointer, reason
29
28
  end
29
+
30
+ def process_records records, checkpointer
31
+ record_processor.process_records records, checkpointer
32
+ end
33
+
34
+ private
35
+
36
+ attr_reader :record_processor
30
37
  end
31
38
  end
32
39
  end
@@ -1,3 +1,3 @@
1
1
  module Kcl
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-kinesis-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soloman Weng