ffi-wiring_pi 1.0.2 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a70a4ff806ee1c320bdfc6072ca1c66367e22042879c2a1a4c1307f67e490cb6
4
- data.tar.gz: 2037793244ebec75ba02ccf97093264f2f9dc15162c71b51698b6b93f7a1a5a0
3
+ metadata.gz: baa85cc4f10e31010124f5ca0c411d606a0c79f8de09650e90122ce679765015
4
+ data.tar.gz: 74aa083c05cffaa20bbe9d946604a48a25acf438ee7196ce0777cb40e3fd9436
5
5
  SHA512:
6
- metadata.gz: 91dcf2995359cec012cf984d5de63a87d3288255863ca5487b64543ccf4985cd7264c54ae627e62bdbd3d5f69615e18b1a7a858634a7bf94cc96fe273d881fef
7
- data.tar.gz: 72a73f4d037e10b0a0143f7beed66c7f7e07c16a438fee66b0d9126987e9c4e967e6c18d71f0ba723598d42f9858922fd8ac380cbfc69cca9242e42bb30d067a
6
+ metadata.gz: bb17be34518a946e783686e32d0ca84064d900fa292bad9339c01a1fc130f72084d755905dd7ab319b133b8a62ee4129a306366c694998b5bb24cf04571eab8f
7
+ data.tar.gz: 8748b58874a7502c4b7de3ceb86b7e5ee597ee7e37c4a243286e8c47fcc574864e95a4492c95e17969c1b29f8fdc6dcd68e60a3a4bc4fee2a1644fc14ef5a575
@@ -1,5 +1,5 @@
1
1
  name: ffi-wiring_pi
2
- version: 1.0.2
2
+ version: 1.0.3
3
3
  summary: FFI bindings for wiringPi
4
4
  description: Ruby FFI bindings for the wiringPi library.
5
5
  license: MIT
@@ -21,7 +21,7 @@ module FFI::WiringPi::GPIO
21
21
  PWM_MODE_MS = 0
22
22
  PWM_MODE_BAL = 1
23
23
 
24
-
24
+ ffi_lib_flags :now, :global
25
25
  ffi_lib 'wiringPi'
26
26
 
27
27
  attach_function :setup, :wiringPiSetup, [], :int
@@ -3,7 +3,8 @@
3
3
  module FFI::WiringPi::LCD
4
4
  extend FFI::Library
5
5
 
6
- ffi_lib 'wiringPi'
6
+ ffi_lib_flags :now, :global
7
+ ffi_lib 'wiringPi', 'wiringPiDev'
7
8
  # ws2811_return_t ws2811_init(ws2811_t *ws2811); //< Initialize buffers/hardware
8
9
  # void ws2811_fini(ws2811_t *ws2811); //< Tear it all down
9
10
  # ws2811_return_t ws2811_render(ws2811_t *ws2811); //< Send LEDs off to hardware
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-wiring_pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Huk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-01 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi