alexa_modelbuilder 0.5.0 → 0.5.1
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_modelbuilder.rb +3 -1
- 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: 48b23ef6fd3cd619c47105adad0d34c21f9c7a4027f60744f0b69f8b39d7382c
|
4
|
+
data.tar.gz: 5338a51424250d5956b75a2c6d013957a5e8ced9bb6af670533656c370179f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 791af3e57bf90bd9b3165839593a01aa1e9d65d7d28fac63d2161d8098259dcef4edca08de7a89df407e9a6aa7a3c7aa4098f59665e063fe186463182fb555a4
|
7
|
+
data.tar.gz: 379d9d47f535bba21899c57c4f0154deb124c2c2de829423bb3b84287e3bf0c3b8fccd08609810136e0045464211491bc79e848c36505e94337688892bccf04b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/alexa_modelbuilder.rb
CHANGED
@@ -11,6 +11,8 @@ require 'lineparser'
|
|
11
11
|
|
12
12
|
class AlexaModelBuilder
|
13
13
|
using ColouredText
|
14
|
+
|
15
|
+
attr_reader :invocation
|
14
16
|
|
15
17
|
def initialize(s=nil, debug: false, locale: 'en-GB')
|
16
18
|
|
@@ -279,7 +281,7 @@ endpoint: input
|
|
279
281
|
}
|
280
282
|
|
281
283
|
lm = model['interactionModel']['languageModel']
|
282
|
-
lm['invocationName'] = h[:invocation]
|
284
|
+
lm['invocationName'] = @invocation = h[:invocation]
|
283
285
|
|
284
286
|
intents = h[:intent].map do |row|
|
285
287
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alexa_modelbuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
BQY/hxmkBusF1nvv0wUnFzEiFK2iMcWaD13hVGKWx9t+4+vtBennfNm+13zA8vQc
|
36
36
|
iKpMHyJmXkM3QwZ4X+v50mFh
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-10
|
38
|
+
date: 2019-12-10 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: lineparser
|
metadata.gz.sig
CHANGED
Binary file
|