ffi-wiring_pi 0.1.4 → 0.1.5

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: 36a042fe9653e07f652d923801a4aaf1c7ab589dc5fced1d667e38e4e3a6dd46
4
- data.tar.gz: 6902975ec02ea7f2e1d24e8b7708f1ce2f9fb8d3f5612fa6e1f698698c87caeb
3
+ metadata.gz: f9472d359de0fa2e3cda2bce0b4268f3deb9997c072ee24ee35bd8a61377ff31
4
+ data.tar.gz: c75559fbf3e6c993762997df8d55bb200d7fab5e49dbf3d30bf2c22ee3e06d47
5
5
  SHA512:
6
- metadata.gz: bc582662b893a6376c44c0fed9e96dfa32338398c63e906e9f7844ed2393274addac4f9290a98d07403ecae3df343ad5d9c81014683acb70041a6bb78bab066f
7
- data.tar.gz: 9a08da92e151e90d6d4a3b68741c0a90e984b75570fe0f8efdc7341b285d787a9e3b3e8f4809ad307d8bc31171048863adf86985a8ccfdb57937617159c36928
6
+ metadata.gz: 13c9aed4085681cfc733cc00d5201e218c0d520b7465aed0b8d7d3609560d3fd603ccac5ded3c9550bdfa1eb3e439cfece779edbc94ad77f72668fc26f9a366d
7
+ data.tar.gz: e1762248a755e14cc1250a2666fa8969b3d72104ed6446c4329cc1ff356ce9752c9f8d9d1322f46526296bd4493b9c34e5a8de44f6a4220529aada981d5a2b04
data/gemspec.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: ffi-wiring_pi
2
- version: 0.1.4
2
+ version: 0.1.5
3
3
  summary: FFI bindings for wiringPi
4
4
  description: Ruby FFI bindings for the wiringPi library.
5
5
  license: MIT
@@ -113,12 +113,12 @@ module FFI::WiringPi::GPIO
113
113
 
114
114
  def up!
115
115
  raise ArgumentError('Can only set in OUTPUT mode') && return unless @mode == FFI::WiringPi::GPIO::OUTPUT
116
- GPIO.up(@position)
116
+ FFI::WiringPi::GPIO.up(@position)
117
117
  end
118
118
 
119
119
  def down!
120
120
  raise ArgumentError('Can only set in OUTPUT mode') && return unless @mode == FFI::WiringPi::GPIO::OUTPUT
121
- GPIO.down(@position)
121
+ FFI::WiringPi::GPIO.down(@position)
122
122
  end
123
123
  end
124
124
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-wiring_pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Huk