lib/faster_path.rb in faster_path-0.0.3 vs lib/faster_path.rb in faster_path-0.0.4

- old
+ new

@@ -26,10 +26,13 @@ end private module Rust extend FFI::Library - ffi_lib 'target/release/libfaster_path.so' + #ffi_lib 'target/release/libfaster_path.so' + ffi_lib begin + "#{File.expand_path("../target/release/", File.dirname(__FILE__))}/libfaster_path.#{FFI::Platform::LIBSUFFIX}" + end attach_function :is_absolute, [ :string ], :bool attach_function :is_blank, [ :string ], :bool attach_function :basename, [ :string ], :string attach_function :dirname, [ :string ], :string #attach_function :chop_basename, [ :string ], [:string]