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.
- checksums.yaml +4 -4
- data/ext/Rakefile +5 -14
- data/lib/rdkafka/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a6f8dfde957dbdc31ad2f229a6da70ef3023705bfc68e4414e896118b7df3c6
|
4
|
+
data.tar.gz: ed07422acb0268bb6483bda6eb0a93a8d75194c06589918e2d8a1cde5bf7ea5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
43
|
-
FileUtils.rm_rf File.join(
|
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
|
-
|
48
|
-
FileUtils.rm_f File.join(
|
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
|
data/lib/rdkafka/version.rb
CHANGED