alexa_modelmd 0.3.4 → 0.3.5
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 +5 -2
- 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: 61d1eef74158c30026a1a91e305771f69f1aa0923b30a6d346279bebd1ea4ea9
|
4
|
+
data.tar.gz: e3e0712352a95c7919c64f767121a99467dc6b0e2141c960c9f7cebf142d63c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baee7cb66de06fa8057a82bba76842f5e1032463617c534909b0d36f7966f8ad66662aa850b26088e9d27eb2342f10071fd4cdbb191248aba395d112deeb34b9
|
7
|
+
data.tar.gz: bec9883bdb5722f8130f8fbc4b00658c322a120a5460af22168767772e421af0e95419378e00288751c68aa2289a1b63be38aa10a4c30867c5762f8c1c560896
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/alexa_modelmd.rb
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
require 'wiki_md'
|
10
10
|
|
11
|
+
|
11
12
|
class AMSummaryExceptiom < Exception
|
12
13
|
end
|
13
14
|
|
@@ -128,6 +129,8 @@ EOF
|
|
128
129
|
Rexslt.new(rsf_xslt(), to_xml(), debug: @debug).to_s
|
129
130
|
end
|
130
131
|
|
132
|
+
# note: An intent or an utterance can't contain numbers
|
133
|
+
#
|
131
134
|
def to_xml()
|
132
135
|
|
133
136
|
a = RexleBuilder.build do |xml|
|
@@ -151,11 +154,11 @@ EOF
|
|
151
154
|
|
152
155
|
xml.intent do
|
153
156
|
|
154
|
-
xml.name intent.name
|
157
|
+
xml.name intent.name.gsub(/\d+/, '')
|
155
158
|
|
156
159
|
xml.utterances do
|
157
160
|
intent.utterances.each do |utterance|
|
158
|
-
xml.utterance utterance
|
161
|
+
xml.utterance utterance.gsub(/\d+/, '')
|
159
162
|
end
|
160
163
|
end
|
161
164
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
RiKpAQ+I6BbdLUJTK2K+PB/nbZ6mul1+aS64XsSo/h49h7MP3lGxHFZyfX1RuE4j
|
36
36
|
Uv6UCmrr9La+izsyIDyQli0u
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-04-21 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: wiki_md
|
metadata.gz.sig
CHANGED
Binary file
|