alexa_modelmd 0.3.5 → 0.3.6
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_modelmd.rb +11 -2
- metadata +25 -25
- 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: 43886e4147fbe6e6242b357bddd0c4586bde168153bef7e3070021cf82609d75
|
4
|
+
data.tar.gz: 1efbad4c18cf4903224390ab92a0abba5eb12355a51aced783bb6f295c9e5cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 472969daeed2e3baf0e4e21cceda48837926801b3b097f53f491e45da55d85294be1ea453768d18e525eab7c1ccdf2a60a2ef1ce10ed3df267878bd3224127ab
|
7
|
+
data.tar.gz: 32a7a419d6a76818af2f1017b26db47077d7455652333c1b88aa48f577343e252f4e02b8bb2e04ff43251b9e951148d0243b70942d9a71f33ec1dc227e411eba
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/alexa_modelmd.rb
CHANGED
@@ -131,7 +131,7 @@ EOF
|
|
131
131
|
|
132
132
|
# note: An intent or an utterance can't contain numbers
|
133
133
|
#
|
134
|
-
def
|
134
|
+
def to_doc()
|
135
135
|
|
136
136
|
a = RexleBuilder.build do |xml|
|
137
137
|
|
@@ -182,10 +182,19 @@ EOF
|
|
182
182
|
end #/model
|
183
183
|
end
|
184
184
|
|
185
|
-
Rexle.new(a)
|
185
|
+
Rexle.new(a)
|
186
186
|
|
187
187
|
end
|
188
188
|
|
189
|
+
def to_xml()
|
190
|
+
to_doc.xml pretty: true
|
191
|
+
end
|
192
|
+
|
193
|
+
def utterances()
|
194
|
+
to_doc.root.xpath('//entries/entry/intents/intent/' +
|
195
|
+
'utterances/utterance').map(&:text)
|
196
|
+
end
|
197
|
+
|
189
198
|
private
|
190
199
|
|
191
200
|
def modelbuilder_xslt()
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alexa_modelmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkxMTIwMDk0NzU4WhcN
|
15
|
+
MjAxMTE5MDk0NzU4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCxFgLg
|
17
|
+
A8sZW34KBnkyLcsH0/RNYZvNRdH+BTYV6C+ZlDuWup0s1VARpfyri9jprxe6VOaT
|
18
|
+
RFRRVig0z3F1G6l+zaIb6tKofe5poA5Nci/yJ8Wc4V9OIe76VuNegugjlAlYaies
|
19
|
+
JkmRRJLeANuUl3y5pHKO5biQYabgl5MJ1yKYjcMGI7q28cyKL7SNXPF+3kWPjA2I
|
20
|
+
MBajcb81ECmd1davayfvDSjiki0YL5RT2Pd/6zMEafUcJuyXaNs6gNtR3n8GYZny
|
21
|
+
Kyrg9fFKpNvGqvU58yyjWXNTT3O3dYQPst6oPt9FUne4GZF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plaK35siFj0o5tG1Hfy2PH/Cy/0dKGOI7S5qFktnXBjfNqogTCPlk
|
36
|
+
SBb3ad+fKxGCqrmos/TQ6fix
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-11-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: wiki_md
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
rubygems_version: 3.0.
|
86
|
+
rubygems_version: 3.0.3
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Using a WikiMd formatted document, generates a basic Amazon Alexa model in
|
metadata.gz.sig
CHANGED
Binary file
|