ffi-radix_tree 0.1.2 → 0.1.3

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: 72420ea414f83cefb55eb61ac28185576d766c93
4
- data.tar.gz: 3e5efc9029f849f5810a7de4271d6e6079fcd1c3
3
+ metadata.gz: fe301b0f98349bbce7eb1dd7d0f6782d6c5bf510
4
+ data.tar.gz: 7073662f176c8424ac361b9cd5bf70c9ec4238d1
5
5
  SHA512:
6
- metadata.gz: 5f26702f873b0414ae563c1e6e33e1e279390870941973826f556ecb491b88505a0d5f3ff958d66908892b9e63b30f8fd7f081cb7606d8983c22f4ef6248e96f
7
- data.tar.gz: eddbd1b6f0f25b47d95afb6367b18ac364eedc00fa15a0f888d23c0f70488081f46441907b5d9782d10a5cd9185bc82cbe1c3b2200b5ddd12cbf71d22ae129d8
6
+ metadata.gz: b57a47c00fd1b9489a09d3f5928151190794c03023ff6aee0f5b6de54d24314a4d4767e03c659f1146f03057c248683060abed0431b35da5d7a38515036339b8
7
+ data.tar.gz: 85daa771d42c681f7d38b9e4b761992dbb7b122e47b70aedd99ec6db8378bb4ebf1d06ab448c369ad5da6b80dd44713ef727eb7cce06232dbc47e0dadc4d139c
@@ -41,15 +41,15 @@ task :compile_radixtree do
41
41
  # Do not attempt to install if we want to use the system radixtree lib
42
42
  next if ENV.key?("RADIX_TREE_USE_SYSTEM_LIB")
43
43
 
44
- if !find_executable("gcc")
45
- abort "ERROR: CMake is required to build ffi-radix_tree"
44
+ if !find_executable("g++")
45
+ abort "ERROR: g++ is required to build ffi-radix_tree"
46
46
  end
47
47
 
48
48
  CWD = ::File.expand_path(::File.dirname(__FILE__))
49
49
  RADIXTREE_DIR = ::File.join(CWD, "..", "..", "..", "vendor", "radixtree")
50
50
 
51
51
  ::Dir.chdir(RADIXTREE_DIR) do
52
- sys("g++ -c -Wall -Wextra -O3 -fPIC ./ffi_radix_tree.cpp")
52
+ sys("g++ -c -Wall -Wextra -O3 -std=c++11 -fPIC ./ffi_radix_tree.cpp")
53
53
  sys("g++ -shared -o libradixtree.#{::FFI::Platform::LIBSUFFIX} ffi_radix_tree.o")
54
54
  end
55
55
 
@@ -1,5 +1,5 @@
1
1
  module FFI
2
2
  module RadixTree
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-radix_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Dewitt