rdkafka 0.12.0.beta.2 → 0.12.0.beta.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/Rakefile +5 -14
  3. data/lib/rdkafka/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a52f754380304d2a9bef30ecd2cbf0f33347cdb02254758f5452d9b9880a5bae
4
- data.tar.gz: ed3f56449ad95f679bb5e686117ff6590533bd70965679cedbf952a3d30e0cfb
3
+ metadata.gz: 1a6f8dfde957dbdc31ad2f229a6da70ef3023705bfc68e4414e896118b7df3c6
4
+ data.tar.gz: ed07422acb0268bb6483bda6eb0a93a8d75194c06589918e2d8a1cde5bf7ea5b
5
5
  SHA512:
6
- metadata.gz: 8e5d72b357d60352cabcac36e0257fc72d1ffcfd5f13bcca5652add92f3cac421941af3b2ae19015575490021287218a06755268727f3e07de5826c30d7e9f98
7
- data.tar.gz: 84a475f9167d598ad8499412a44c16019beaf77ec297f6d9c0879f27d0bcae079b0006bc880334c7e9d7310d9110250db69bdface85937cb1ec0abd5b56c4b2b
6
+ metadata.gz: 8e51b05b0aa38d8d31ee0e8394f4d5a637ca8ef591fa2f0c76699ced276101902816f89c1c200ab45f02a13f68ed2fe35c961070c851c840e46986526ac1422a
7
+ data.tar.gz: f7414245c4ce729abe326a7fac4be7617a68615c3d4339888e22424bb0a49faa5077c2caf725453ab361f1f88afff7d1a7ff4928afcb433792983f2851484c12
data/ext/Rakefile CHANGED
@@ -28,25 +28,16 @@ task :default => :clean do
28
28
  from_extension = 'so.1'
29
29
  to_extension = 'so'
30
30
  end
31
-
32
- # Get path to the compiled library
33
31
  lib_path = File.join(File.dirname(__FILE__), "ports/#{recipe.host}/librdkafka/#{Rdkafka::LIBRDKAFKA_VERSION}/lib/librdkafka.#{from_extension}")
34
-
35
- # Get target dir
36
- target_dir = ENV["RUBYARCHDIR"] || File.dirname(__FILE__)
37
-
38
- # Move the compliled library there
39
- FileUtils.mv(lib_path, File.join(target_dir, "librdkafka.#{to_extension}"))
40
-
32
+ FileUtils.mv(lib_path, File.join(File.dirname(__FILE__), "librdkafka.#{to_extension}"))
41
33
  # Cleanup files created by miniportile we don't need in the gem
42
- FileUtils.rm_rf File.join(target_dir, "tmp")
43
- FileUtils.rm_rf File.join(target_dir, "ports")
34
+ FileUtils.rm_rf File.join(File.dirname(__FILE__), "tmp")
35
+ FileUtils.rm_rf File.join(File.dirname(__FILE__), "ports")
44
36
  end
45
37
 
46
38
  task :clean do
47
- target_dir = ENV["RUBYARCHDIR"] || File.dirname(__FILE__)
48
- FileUtils.rm_f File.join(target_dir, "librdkafka.dylib")
49
- FileUtils.rm_f File.join(target_dir, "librdkafka.so")
39
+ FileUtils.rm_f File.join(File.dirname(__FILE__), "librdkafka.dylib")
40
+ FileUtils.rm_f File.join(File.dirname(__FILE__), "librdkafka.so")
50
41
  FileUtils.rm_rf File.join(File.dirname(__FILE__), "ports")
51
42
  FileUtils.rm_rf File.join(File.dirname(__FILE__), "tmp")
52
43
  end
@@ -1,5 +1,5 @@
1
1
  module Rdkafka
2
- VERSION = "0.12.0.beta.2"
2
+ VERSION = "0.12.0.beta.3"
3
3
  LIBRDKAFKA_VERSION = "1.9.0-RC2"
4
4
  LIBRDKAFKA_SOURCE_SHA256 = "f38c7007d01c489c7b743d200a6760678f43b171b36886c4dda39d4a8d5aab59"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdkafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0.beta.2
4
+ version: 0.12.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thijs Cadier