jruby-kafka 0.1.1-java → 0.1.2-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jruby-kafka.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af575b070c304d11ac6aa1af46eaad548b61661b
4
- data.tar.gz: 4bc817399ca6126b32c0df3f6072ae695fc49be4
3
+ metadata.gz: d15db3b7c2d2fcee9fdcb519cf9a175729c2cd4c
4
+ data.tar.gz: 66a6b8430b7e91c0e450d5fd9558997ca1248731
5
5
  SHA512:
6
- metadata.gz: a9fcd6fd838e6a2d87bd96ca8606bd19639c04e81722eb10e0be58b99369159af3eb595f7fa56c96da1938924a764cb6fedf526bce5dc156f2535fe7dcd80969
7
- data.tar.gz: 8a40f64f4c7f1dbeed36daf62336610d96c88343a628f523ff529c9b0ab53c75638de657b8a6fdee08db6a992312f68c9db777cbeab0e51c829699bb357f4cfc
6
+ metadata.gz: 169c1408b51ab42b2e012d3529ee168cda809c89db65b1bbccd3f33fc9518c49c79feb32d94511fffacb65e649ef0c06213c393ff066cd8b31fc4c0c36e0e78b
7
+ data.tar.gz: 8f3a5487ac308dc7b9f5b08a2bb06cb7cdf391ddd99af83b355808a370e292336385142287c498eebc2a3a25233f023a8d021cc1595692f88fa0acb74fde7482
data/lib/jruby-kafka.rb CHANGED
@@ -5,8 +5,9 @@
5
5
  # - already have the Kafka jars loaded before requiring jruby-kafka
6
6
  # - set KAFKA_PATH in the environment to point to a Kafka binary installation
7
7
  #
8
- if not JBUNDLER_CLASSPATH and ENV['KAFKA_PATH']
8
+ if not defined? JBUNDLER_CLASSPATH and ENV['KAFKA_PATH']
9
9
  require 'jruby-kafka/loader'
10
+ Kafka.load_jars()
10
11
  end
11
12
 
12
13
  require "jruby-kafka/consumer"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: java
6
6
  authors:
7
7
  - Joseph Lawson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jbundler