humble_rpi-plugin-magneticswitch 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b77c3f8a4b0a50b73820c53242d28228bfe2243c
4
- data.tar.gz: 9df1e3607fb43191760c1f8e3ae38917a772c00d
3
+ metadata.gz: 1cc98c61999aa7cc57c702d2ee29040bfb181a85
4
+ data.tar.gz: 951a2c100f7119e427d5121c33eccb7c5ab292f2
5
5
  SHA512:
6
- metadata.gz: 0298a4c3b6e45c81d091fdfda930fb32f83ae0657615e3c86d29e107ee7e00a187f5ff3ab4b5e07e9995bdcbc95ec0f93fc5be3366a402f62271bc03405ed8e3
7
- data.tar.gz: a13aabcfe9c1d6e3bfff010e0e95e1a01c3064ed850877c8cf6eed9b1bd0abce91b6f803f3bf01ae032c8cb59f811a69d02586d89cb91139049e39458aa62247
6
+ metadata.gz: 8296737aa26c4ec892db77c35d9dcca8eb264f475e87a0493e180c910752fe9766479a63d63e5bfee189f18a873b7e35413b4111c008cb88be47b1041a32227a
7
+ data.tar.gz: 42afca1132bc11946b6846604ae9a642a11d85ac0bfe203ac01c98050872aade7d0afba6d4bcdfeb2b237efb7d8dff8bead06ed8ef5ef0f696597f3d0b6413eb
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -36,7 +36,7 @@ class HumbleRPiPluginMagneticSwitch
36
36
 
37
37
  pin.watch do |value|
38
38
 
39
- state = value == 0 ? :open : :closed
39
+ state = value == 0 ? :opened : :closed
40
40
 
41
41
  notifier.notice "%s/magneticswitch/%s: door %s" % \
42
42
  [device_id, i, state]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humble_rpi-plugin-magneticswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  bPWFwNbEi9CiEPveT/uvh62PLy8oXqUUvXHHxIjvpQICBlT6wc8vkY+Lz86rQ+xY
32
32
  nKxNwaysAN6TFg==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-04-11 00:00:00.000000000 Z
34
+ date: 2016-11-18 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rpi_pinin
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.4.8
83
+ rubygems_version: 2.5.1
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: A Humble RPi plugin which detects the opening or closing of a door using
metadata.gz.sig CHANGED
Binary file