ffi-wiring_pi 0.1.3 → 0.1.4

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