adhearsion-asr 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/adhearsion-asr/prompt_builder.rb +2 -0
- data/lib/adhearsion-asr/version.rb +1 -1
- data/spec/adhearsion-asr/controller_methods_spec.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d7e97002dde733bc1e12c3c68a741e4642d38f7
|
4
|
+
data.tar.gz: f77c5dc898935b8b471b8d973289c79aea2b1e32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ca17cd388bd6c8d997aa7a66485bba6efccb3e6b7f4a45cd5b31d6b08386de3b5f84e45751c70683c61e5d4e6974e998dd095bd09b1af31dd2b836ed5f28ef
|
7
|
+
data.tar.gz: d4ba8f56d484aa5c752616ea978363dea2d35704295584449ae54db10dd94bafa07e81225aef40b3e9edd8b16a532006aad55ad6e558c705832823e4fda30759
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# [develop](https://github.com/adhearsion/adhearsion-asr)
|
2
2
|
|
3
|
+
# [v1.1.1](https://github.com/adhearsion/adhearsion-asr/compare/1.1.0...1.1.1) - [2014-01-28](https://rubygems.org/gems/adhearsion-asr/versions/1.1.1)
|
4
|
+
* Bugfix: Handle stop completion reason smoothly
|
5
|
+
|
3
6
|
# [v1.1.0](https://github.com/adhearsion/adhearsion-asr/compare/1.0.1...1.1.0) - [2014-01-02](https://rubygems.org/gems/adhearsion-asr/versions/1.1.0)
|
4
7
|
* Feature: Alias `Result#response` to `#utterance`, with a deprecation warning
|
5
8
|
* Feature: Add `#match?` predicate to `Result` object
|
@@ -586,6 +586,16 @@ module AdhearsionASR
|
|
586
586
|
end
|
587
587
|
end
|
588
588
|
|
589
|
+
context "that is a stop" do
|
590
|
+
let(:reason) { Punchblock::Event::Complete::Stop.new }
|
591
|
+
|
592
|
+
it "returns :stop status and a nil utterance" do
|
593
|
+
result.status.should eql(:stop)
|
594
|
+
result.should_not be_match
|
595
|
+
result.utterance.should be_nil
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
589
599
|
context "that is an error" do
|
590
600
|
let(:reason) { Punchblock::Event::Complete::Error.new details: 'foobar' }
|
591
601
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-asr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Langfeld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adhearsion
|