telekinesis 3.2.0-java → 3.2.1-java

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: 45d793277dd64f3a39dfdabc1039c889a5422368
4
- data.tar.gz: afc2b0e0c5946fdb9f8ccc4fe941835de015232c
3
+ metadata.gz: 6ba4d79ad0801106a2c87b4b63bbd69123e27082
4
+ data.tar.gz: 881fccbba78201e8b89ffbba974eba253f7a4170
5
5
  SHA512:
6
- metadata.gz: 16c2df47e454d4336f3a937ede624f84ebbb7ab321b579296edd945f79b6b3ac44eae44bd05299f398714e052db406fd4be86f1f354c648da717d4d6607c6b58
7
- data.tar.gz: 5c63bd67215e8f6ce2a4f75d3db36e3d945ac0ddb598918c0b1e341691d385595169e9d4315ca12f8fa17140e30e69e42bdd6e5055788a008ba060f9251c97bb
6
+ metadata.gz: fd9ea576dde0e4ff721bc216ee050f37641fe376d28b243a4cda2b430c562946312706d8c3345f837a4557a40d3d86fbc759372e052729ef7b8f566932c7db26
7
+ data.tar.gz: 7f41b3bdf3a3cc99928820b7b8f189a6f05c87dbdee0ef846d3861630fc536f37eb76c0294084c1f6e0887c5fbaafae0b10ddac2f862456aae6a73d6e51cb720
data/README.md CHANGED
@@ -1,4 +1,8 @@
1
- **Table of Contents**
1
+ ## Looking for Maintainers
2
+
3
+ We're not actively maintaining this project. If you're interested in maintaining it, please post a comment on [this issue](https://github.com/kickstarter/telekinesis/issues/22).
4
+
5
+ ## Table of Contents
2
6
 
3
7
  - [Telekinesis](#telekinesis)
4
8
  - [Requirements](#requirements)
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>com.kickstarter</groupId>
6
6
  <artifactId>telekinesis</artifactId>
7
- <version>3.2.0</version>
7
+ <version>3.2.1</version>
8
8
 
9
9
  <!-- ================================================================== -->
10
10
  <build>
@@ -55,4 +55,4 @@
55
55
  <aws-java-sdk-version>1.6.9.1</aws-java-sdk-version>
56
56
  <amazon-kinesis-client-version>1.6.1</amazon-kinesis-client-version>
57
57
  </properties>
58
- </project>
58
+ </project>
@@ -20,7 +20,7 @@ module Telekinesis
20
20
  def self.create(options = {})
21
21
  stream = options[:stream]
22
22
  client = Telekinesis::Aws::Client.build(options.fetch(:credentials, {}))
23
- new(stream, client, failure_handler, options)
23
+ new(stream, client, options)
24
24
  end
25
25
 
26
26
  def initialize(stream, client, opts = {})
@@ -1,3 +1,3 @@
1
1
  module Telekinesis
2
- VERSION = '3.2.0'
2
+ VERSION = '3.2.1'
3
3
  end
@@ -1,6 +1,5 @@
1
1
  require_relative "test_helper"
2
2
 
3
-
4
3
  class SyncProducerTest < Minitest::Test
5
4
  StubPutRecordResponse = Struct.new(:shard_id, :sequence_number, :error_code, :error_message)
6
5
 
@@ -24,16 +23,20 @@ class SyncProducerTest < Minitest::Test
24
23
  end
25
24
 
26
25
  class TestingProducer < Telekinesis::Producer::SyncProducer
27
- def failures
28
- @failures ||= []
29
- end
30
-
31
- def on_record_failure(fs)
32
- failures << fs
33
- end
34
26
  end
35
27
 
36
28
  context "SyncProducer" do
29
+
30
+ context ".create" do
31
+ setup do
32
+ @sync_producer = Telekinesis::Producer::SyncProducer.create(stream: 'stream')
33
+ end
34
+
35
+ should "return a SyncProducer" do
36
+ assert_equal(@sync_producer.class, ::Telekinesis::Producer::SyncProducer)
37
+ end
38
+ end
39
+
37
40
  context "#put" do
38
41
  setup do
39
42
  @expected_response = StubPutRecordResponse.new(123, 123)
@@ -42,7 +45,6 @@ class SyncProducerTest < Minitest::Test
42
45
  end
43
46
 
44
47
  should "call the underlying client's put_record" do
45
- assert(@producer.failures.empty?)
46
48
  assert_equal(@expected_response, @producer.put('key', 'value'))
47
49
  assert_equal(['stream', ['key', 'value']], @client.requests.first)
48
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telekinesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: java
6
6
  authors:
7
7
  - Ben Linsay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,6 @@ files:
106
106
  - test/producer/test_helper.rb
107
107
  - test/producer/test_sync_producer.rb
108
108
  - test/test_helper.rb
109
- - lib/telekinesis/telekinesis-3.2.0.jar
110
109
  homepage: https://github.com/kickstarter/telekinesis
111
110
  licenses: []
112
111
  metadata: {}