nfclib 0.0.137 → 0.0.140

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/ext/extconf.rb +2 -2
  3. data/lib/nfc.rb +1 -1
  4. data/nfclib.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0c9a1a8175a6160095e39d443a2ceb0a1a54c57
4
- data.tar.gz: 6161a8e9c52d167b9244a0568bebb112aa70ce0f
3
+ metadata.gz: 17cbf42f3759bf294904ac3daf01cd1db45455eb
4
+ data.tar.gz: 2172d0dc4d978819c8a4d8a3129dfa803e8d2313
5
5
  SHA512:
6
- metadata.gz: e7582fe5acc6c0dc9e859f7a3935c949b7d111229b6eb930b215368ec92bc2f06518b02e3d1c4c771ee9790770bfa2b7a6afc9c89576c3ea8cc03979fbb58128
7
- data.tar.gz: 7f3274ece8bdfc0954f919c318460ecd465f9ec91bed8d8f8d1c56d7eee49647d4fb6d55ab648278ff0229fa157e504e2be53aad7d8bdcf809ec9f021d24a63c
6
+ metadata.gz: 588cf69ac999cca4b0f39a5a22447343fbe84cf02ea6d7096e7f880e5ab3649c8a1e08a3f905895309be96c4dfe2b85e437936a09e70d78de3b7e716a36e93a9
7
+ data.tar.gz: 9d349f573ab26b49df760a77b2cffec3838a33dbf3daa93b084c964d723431243c431255c75c7cc6ad43289de1e27b83357cfa9be1fffa8908e19850e95be884
@@ -3,8 +3,8 @@ require 'mkmf'
3
3
  spec = eval(File.read(File.dirname(__FILE__) + '/../nfclib.gemspec'))
4
4
  PKG_NAME="nfclib"
5
5
 
6
- $CFLAGS = '-Wall -pedantic -O3 -c -fPIC' + $CFLAGS
7
- $LDFLAGS = '-pthread ' + $LDFLAGS
6
+ $CFLAGS = ' -Wall -pedantic -O3 -c -fPIC ' + $CFLAGS
7
+ $LDFLAGS = ' -pthread ' + $LDFLAGS
8
8
  $LIBPATH.push(RbConfig::CONFIG['libdir'])
9
9
 
10
10
 
data/lib/nfc.rb CHANGED
@@ -3,7 +3,7 @@ require 'ffi'
3
3
  module NFC
4
4
  # FFI #{{{
5
5
  extend FFI::Library
6
- ffi_lib ::File.dirname(__FILE__) + '/nfclib.so'
6
+ ffi_lib ::File.dirname(__FILE__) + '../ext/nfclib.so'
7
7
  callback :on_tag_callback, [:pointer], :void
8
8
  attach_function :nfc_reader_on_tag, [:pointer,:on_tag_callback], :pointer
9
9
  attach_function :nfc_reader_init, [:string], :pointer
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'nfclib'
3
- s.version = '0.0.137'
3
+ s.version = '0.0.140'
4
4
  s.date = '2014-08-05'
5
5
  s.summary ="NFC-Reader Library."
6
6
  s.description ="Executes command and gets results in c, everthing else ruby-yo"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfclib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.137
4
+ version: 0.0.140
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Stertz