piface 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b43f10c9a88d6a0c608ca43d4e1860f0420bf45
4
- data.tar.gz: 26d96b13751d18c479ac1ace336b064881b0e8e1
3
+ metadata.gz: 5219d7765054be32e631d3fd3cb1ab59d8f4b11b
4
+ data.tar.gz: fd6d6999a89eb8c8ad9df17525bc8e3ec31ad006
5
5
  SHA512:
6
- metadata.gz: 04e6ff4046cc0d866b0342452bf2a69292a3d7bf4e311f94049063d5192b4108894bdb4cf7b0060dd579aac868ef7d1948e4dbeb558a4aac8df305378f9001af
7
- data.tar.gz: ddc296d7592048ddf663b353ac780b9aa05d237a770e76f7589072c36dafddd7d3c070ba8b5a8775146abae8eb3993b34db42b3d865c456a841033167de12639
6
+ metadata.gz: acc2bd5290e6c98cd558511081463bfd7059cd8a094b07d31ff51539929bb8fd5306b5cc6e5db781a6c790b6899b08c6d33e85eeda9f18cb2a807fa06fa029be
7
+ data.tar.gz: adbc64f4d580b2ac6e53705d8c2c24485bdab28780272a8f6ae2c519730def47d649266c82b555f06977c4d5a88eae6ee83c753c5224c44acc372ca3544eb1aa
data/CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Change Log
2
2
 
3
3
  ## Upcoming v1.0
4
- - Interrupts (change, high, low)
4
+ - Interrupts (change, high, low)
5
+
6
+ ## v0.31
7
+ - updated the ffi load paths (bugfix for issue #1)
5
8
 
6
9
  ## v0.3
7
10
  - added new pfio.c native methods using ffi
data/README.md CHANGED
@@ -120,8 +120,6 @@ First install the pfio C Library
120
120
 
121
121
  Enable RaspberryPi's SPI module
122
122
 
123
- $ sudo modprobe spi-bcm2708
124
- or
125
123
  $ gpio load spi
126
124
 
127
125
  Add this line to your application's Gemfile:
data/lib/piface/native.rb CHANGED
@@ -3,7 +3,7 @@ require "ffi"
3
3
  module Piface
4
4
  module Native
5
5
  extend FFI::Library
6
- ffi_lib ['libpiface', 'libpiface-1.0', 'libpiface-1.0.so.1', '/usr/local/lib/libpiface-1.0']
6
+ ffi_lib ['libpiface', 'libpiface-1.0', 'libpiface-1.0.so', '/usr/local/lib/libpiface-1.0.so']
7
7
 
8
8
  attach_function :pfio_init, [], :char
9
9
  attach_function :pfio_deinit, [], :char
@@ -1,3 +1,3 @@
1
1
  module Piface
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Jakopovic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-03 00:00:00.000000000 Z
11
+ date: 2013-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler