humble_rpi-plugin-time7segment 0.1.0
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/humble_rpi-plugin-time7segment.rb +20 -0
- metadata +87 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 5184b3982fbdb988cd797480abf7612a3174b577
|
|
4
|
+
data.tar.gz: 7d805eb76366967dc27bf1e69eeeeb458dfba107
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: ee691c97786c92322923e9942ae25cdf45f58178a6d1f451ba554fdae15ac629a418afffe9400d5085e93849adf586620771b631b4412996a1dff8661233fa94
|
|
7
|
+
data.tar.gz: 2996f15279f5eee630622798bf1a7395ada4c16a9175aa7a827b1b2fa66e2f2bd66cdf1ee686fde842487e0f44d64803fd88df32cd6879a9b3bbc061aa8375a8
|
checksums.yaml.gz.sig
ADDED
|
Binary file
|
data.tar.gz.sig
ADDED
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
# file: humble_rpi-plugin-time7segment.rb
|
|
4
|
+
|
|
5
|
+
require 'time7segment'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class HumbleRPiPluginTime7Segment < Time7Segment
|
|
9
|
+
|
|
10
|
+
def initialize(settings: {}, variables: {})
|
|
11
|
+
|
|
12
|
+
gpio_pins = settings[:pins]
|
|
13
|
+
super gpio_pins
|
|
14
|
+
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
alias on_start start
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: humble_rpi-plugin-time7segment
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- James Robertson
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain:
|
|
11
|
+
- |
|
|
12
|
+
-----BEGIN CERTIFICATE-----
|
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
|
14
|
+
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
|
15
|
+
8ixkARkWAmV1MB4XDTE2MDIyNzAwMzYwMloXDTE3MDIyNjAwMzYwMlowSDESMBAG
|
|
16
|
+
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
|
17
|
+
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
|
18
|
+
ggEBALvEsglzHaieDg/+uKdgvDGbAOnK79d8LPmcjcQfbfSDuU2K0KdLHqff9921
|
|
19
|
+
NzlwshN3ZMjUKdM1S0/j+Qz3oYI2le+Mv4i1PRpsb4IlLYze4o+lqfj7r0oHJMNA
|
|
20
|
+
X87+qMWfe+VlM96xeRmGV4aEgWBjheWC8qa08X0A1kWTKHA+BoHc/zyQ3X7MiViT
|
|
21
|
+
xIqpTdxwP+0/SiQwuFwU/WDcY4Gciu46BR3peTegPGJj/tS2Tx2iUsGKpCpBDRgv
|
|
22
|
+
CGZuzpY2Z46P2j3N1l4yN5dOnB8ERptR+hh9NkmeOIWtMmlYWmrpzi0GjBT3oRCF
|
|
23
|
+
wpe5h4zo0GTksAp7yfICrES8eB8CAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUiMO2luiV3wrePQwYFay/SlUPVewwJgYDVR0RBB8w
|
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEASNt9RlF9
|
|
27
|
+
AxGA6xeKwRWtf75qNCbdIiMU9MhH2/U3c3UBm5+w5QC+4X938OFI+CjIqkpjof0n
|
|
28
|
+
YbqBi9xIPPEg1BECjE7wwj7fSRdzJEaU7ALJvzlNA9S/bVsZSRgc+EvVE7qDrFTu
|
|
29
|
+
6gOa/DTUJ7ZmfPl9JLFvMugT4jWdAwGpfdli005z808R0C1ZkVpjt7P+LLUWRUGu
|
|
30
|
+
RBWQ8DAACiwNpwZljUS9LLZmn4u8VBbsQU00dqkOr3jpJ8mw1nbQF5C+uQr2g/Cz
|
|
31
|
+
6RSwQmkqSioWopfLg1LgGds7BSfdM8I7iEqtfmsUBhOYmO5Ko8WUuIcGNJqiByV/
|
|
32
|
+
QTn6dx2ar4eHNA==
|
|
33
|
+
-----END CERTIFICATE-----
|
|
34
|
+
date: 2016-02-27 00:00:00.000000000 Z
|
|
35
|
+
dependencies:
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: time7segment
|
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0.1'
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.1.1
|
|
46
|
+
type: :runtime
|
|
47
|
+
prerelease: false
|
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
49
|
+
requirements:
|
|
50
|
+
- - "~>"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '0.1'
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: 0.1.1
|
|
56
|
+
description:
|
|
57
|
+
email: james@r0bertson.co.uk
|
|
58
|
+
executables: []
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- lib/humble_rpi-plugin-time7segment.rb
|
|
63
|
+
homepage: https://github.com/jrobertson/humble_rpi-plugin-time7segment
|
|
64
|
+
licenses:
|
|
65
|
+
- MIT
|
|
66
|
+
metadata: {}
|
|
67
|
+
post_install_message:
|
|
68
|
+
rdoc_options: []
|
|
69
|
+
require_paths:
|
|
70
|
+
- lib
|
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
requirements: []
|
|
82
|
+
rubyforge_project:
|
|
83
|
+
rubygems_version: 2.4.8
|
|
84
|
+
signing_key:
|
|
85
|
+
specification_version: 4
|
|
86
|
+
summary: A Humble RPi plugin for displaying the time on a 4 digit 7 segment display.
|
|
87
|
+
test_files: []
|
metadata.gz.sig
ADDED
|
Binary file
|