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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61d1eef74158c30026a1a91e305771f69f1aa0923b30a6d346279bebd1ea4ea9
4
- data.tar.gz: e3e0712352a95c7919c64f767121a99467dc6b0e2141c960c9f7cebf142d63c2
3
+ metadata.gz: 43886e4147fbe6e6242b357bddd0c4586bde168153bef7e3070021cf82609d75
4
+ data.tar.gz: 1efbad4c18cf4903224390ab92a0abba5eb12355a51aced783bb6f295c9e5cb8
5
5
  SHA512:
6
- metadata.gz: baee7cb66de06fa8057a82bba76842f5e1032463617c534909b0d36f7966f8ad66662aa850b26088e9d27eb2342f10071fd4cdbb191248aba395d112deeb34b9
7
- data.tar.gz: bec9883bdb5722f8130f8fbc4b00658c322a120a5460af22168767772e421af0e95419378e00288751c68aa2289a1b63be38aa10a4c30867c5762f8c1c560896
6
+ metadata.gz: 472969daeed2e3baf0e4e21cceda48837926801b3b097f53f491e45da55d85294be1ea453768d18e525eab7c1ccdf2a60a2ef1ce10ed3df267878bd3224127ab
7
+ data.tar.gz: 32a7a419d6a76818af2f1017b26db47077d7455652333c1b88aa48f577343e252f4e02b8bb2e04ff43251b9e951148d0243b70942d9a71f33ec1dc227e411eba
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -131,7 +131,7 @@ EOF
131
131
 
132
132
  # note: An intent or an utterance can't contain numbers
133
133
  #
134
- def to_xml()
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).xml pretty: true
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.5
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
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwMTMwMTUwNDAxWhcN
15
- MjAwMTMwMTUwNDAxWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQChhg29
17
- Utz2a0AcnBz1y7sE0siVEKTtEoijE9LIdHJFrXTwaglCd6lCdHD+safoojXWOEBv
18
- 1zxRtd501uGDq4WXJXSRSC6RSuJginkJfqHGtaJNxMsyYwJk8hSt/Pf1aMS+KM7L
19
- c6hVvoXuDDHY6q+pCqrIpYKXnkh6q6p9rXvjX8kbsjxNOrDq72zlW+Y8mA7ANNb4
20
- f+GDVXVa7YXrYcSSsbaaZQgUQ2nC75/aLOFs8pHanIBAzofc2Ap+Kl3W/jkwwxUR
21
- 6oXOEOffi4CUFeY1AR5sDZtxg3kIZOLwo+q9ziNDy+bjOanECYbYNgQN0ZJfU+hZ
22
- Im2bY1DRMnk2MUYTXxZOiTYLMuAtrca7huQZfzM4ZHbTLeWVs1moX1rLG1VXw7T+
23
- wo2XBS5CKgV/5v2sFf0le8iM9xsO6ZOcYu2mymjHciE6a/4U6RMZupbdjBpv3Ici
24
- eHtgscsxH304W6qbujmwY7eUuDBf23ZA30Uc6SV0z47tPHbIGm4DHyzwoesCAwEA
25
- AaOBijCB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v4F/MIR8Gh
35
+ eQvlKchB+UYplaK35siFj0o5tG1Hfy2PH/Cy/0dKGOI7S5qFktnXBjfNqogTCPlk
36
+ SBb3ad+fKxGCqrmos/TQ6fix
37
37
  -----END CERTIFICATE-----
38
- date: 2019-04-21 00:00:00.000000000 Z
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.1
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