alexa_skillresponse 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/alexa_skillresponse.rb +9 -4
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e59a072183284d80031f9e74e6ab20f8fb3f1f495d47023f558a8f637e37eac
|
4
|
+
data.tar.gz: eaa8bd2b4cfd82f6e0a92907a55fcb23b7d1f0338e632ac688a7618228582e4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24f2cda047da4563b96bb67c745f7655b78351dd5a43ab31f08d8a92838a609a56092ae5f487dbda396c3034892393cb889036adb781b2f8463fb815cd2b7e60
|
7
|
+
data.tar.gz: 4af7bad88a97fd8d406ac577ef874b34710ff5b7370cb7c2c986c4f24e6897b864761ef0d1f1f4c7bf1128e9a9afba487bd34014c0f893da709433a76f98aa20
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/alexa_skillresponse.rb
CHANGED
@@ -64,10 +64,15 @@ class AlexaSkillResponse
|
|
64
64
|
puts 'rsc found'.info if @debug
|
65
65
|
|
66
66
|
if rsc.registry and user and device then
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
67
|
+
|
68
|
+
e = rsc.registry.get_key 'hkey_apps/alexa/accounts'
|
69
|
+
euserid = e.xpath('*/id').find {|x| x.text.to_s == userid}
|
70
|
+
|
71
|
+
if euserid then
|
72
|
+
puts ('sending to the registry').info if @debug
|
73
|
+
rsc.registry.set_key("hkey_apps/alexa/accounts/" +
|
74
|
+
euserid.parent.name + "/lastsession/device", device)
|
75
|
+
end
|
71
76
|
end
|
72
77
|
end
|
73
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alexa_skillresponse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
obt/CzvPP/5wTAZ3kG4fIkKjG+uZex3kzilp36IiV7xqRl9MoTwoMzicLeFTp6rb
|
36
36
|
+GNpSLfh598icuXMC/UULHGE
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-12-
|
38
|
+
date: 2019-12-25 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rscript
|
metadata.gz.sig
CHANGED
Binary file
|