syncsign 0.4.1 → 0.4.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
  SHA256:
3
- metadata.gz: ecfc03f1b6335088ff04e9bbe56a78fd1942569b30ffb07e6a5a0094d8451a3e
4
- data.tar.gz: cdd719e880cc9117d0dde045956c4e299a8de5c3fb4952a9aff5305c6d1ff1ea
3
+ metadata.gz: 4574f4a41e361efb3c930e259b9bd99ffba55989fb6d0a314fed51d8d93c5a56
4
+ data.tar.gz: 890c60254cd507474fc13de8a163c131385b9f38c5408b16e37f92e680668fd7
5
5
  SHA512:
6
- metadata.gz: 6e1e58973658b2fcc66b8cf538b123d9554f32966022689bf316f23592acf17241762034fc7c7082063e9099663dd75f55a1beec14e808dbff340e0508840dfc
7
- data.tar.gz: 6f5ec20b8eda95908fd34a2012f108b16f623b97dec137a31eff4fca41d87387279ca4196b9f83608e59812ce29ab61d045f363962aec2e76d0f547a3c4c3544
6
+ metadata.gz: 033cfd91cc3e501b61e8ef2e27028728b174c614b19a8ad2f2d60cc98489e261942773a2fba702a18a3725e6ac3caeb441c94da5eaa400d3a5a2f4ac745df5d1
7
+ data.tar.gz: 5daf0bead45f71423ca9d7b8b58549a26b2fb02ea6f1373ea235f5e83eb00cb53b1509b457553f64595a7855be25f19baec825ebc75d2a44cef0914d88a3424a
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Ruby class/gem to access the [SyncSign](http://sync-sign.com) cloud service to display information on e-paper displays.
6
6
 
7
7
  ## Features
8
- * Display circles, lines, rectangles, QR codes, and text on the displays.
8
+ * Display circles, lines, rectangles, QR codes, symbols, text, and more on the displays.
9
9
  * Obtain information about associated hubs and displays.
10
10
 
11
11
  ## TODO
@@ -29,7 +29,7 @@ Create a SyncSign Service instance using your API key (found in the SyncSign por
29
29
  node.render(template: template)
30
30
 
31
31
  ## Direct Rendering
32
- The SyncSign hubs have a simplified API that can be used, bypassing the cloud service. This can result in significant time savings (15s vs 25s) as well as less time between sending the request and the first visible change on the display. This is especially useful for the 4.2" model with buttons, as the time a user spends waiting after pressing a button can be significantly reduced.
32
+ The SyncSign hubs have a simplified API that can be used, bypassing the cloud service. This can result in significant time savings (15s vs 25s in one example) as well as less time between sending the request and the first visible change on the display. This is especially useful for the 4.2" model with buttons, as the time a user spends waiting after pressing a button can be significantly reduced.
33
33
 
34
34
  To enable direct rendering, create a file named signhubs.cfg in either the same directory as your app, the current directory, or /etc/signhubs.cfg. This file should have the following format:
35
35
  hub-serial-nbr hub-ip hub-apikey
@@ -1,4 +1,4 @@
1
1
  module SyncSign
2
2
  # The version number of the SyncSign module.
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
@@ -36,6 +36,7 @@ module SyncSign
36
36
  'type': 'CIRCLE',
37
37
  'data': {
38
38
  'center': {x: @x, y: @y},
39
+ 'radius': @radius,
39
40
  'fillColor': @bgcolour.to_s.upcase,
40
41
  'fillPattern': @fillpattern.to_s.upcase,
41
42
  'strokeColor': @colour.to_s.upcase,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syncsign
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sarahemm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-30 00:00:00.000000000 Z
11
+ date: 2021-11-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Interface library for SyncSign e-paper displays
14
14
  email: github@sen.cx