ruby_speech 2.1.0 → 2.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/ruby_speech/grxml/matcher.rb +2 -1
- data/lib/ruby_speech/grxml/tag.rb +1 -1
- data/lib/ruby_speech/version.rb +1 -1
- data/spec/ruby_speech/grxml/matcher_spec.rb +1 -1
- 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: 1a8d3e73e5f227d7d3da08899c03911a31608f8d
|
4
|
+
data.tar.gz: 56f12469b5e17e34b587a0158b7cbe112db4f5a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 041a96833583708890574c64eb659a0d1898b4d7b86296a6ca0932ea3696a4918aba4bee41343689e6a30ec67f20b8761d5b44e0e5a7d9e540aa8245524f96a8
|
7
|
+
data.tar.gz: 932a81c99d79b66ea580f1377c0c4ed2b84b40fd67f3b132e650385ffa6fa2e377073c46acac5c72c2251d4b0666820fa4b1dffc93553f0261d116024b55c930
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# [develop](https://github.com/benlangfeld/ruby_speech)
|
2
2
|
|
3
|
+
# [2.1.1](https://github.com/benlangfeld/ruby_speech/compare/v2.1.0...v2.1.1) - [2013-05-09](https://rubygems.org/gems/ruby_speech/versions/2.1.1)
|
4
|
+
* Bugfix: Support numeric SISR literal tags
|
5
|
+
|
3
6
|
# [2.1.0](https://github.com/benlangfeld/ruby_speech/compare/v2.0.2...v2.1.0) - [2013-05-07](https://rubygems.org/gems/ruby_speech/versions/2.1.0)
|
4
7
|
* Feature: Support for SISR literal syntax
|
5
8
|
|
@@ -119,7 +119,8 @@ module RubySpeech
|
|
119
119
|
match = /#{regexp_content}/.match(utterance)
|
120
120
|
return if match.captures.all?(&:nil?)
|
121
121
|
last_capture_index = match.captures.size - 1 - match.captures.reverse.find_index { |item| !item.nil? }
|
122
|
-
match.names[last_capture_index]
|
122
|
+
group = match.names[last_capture_index]
|
123
|
+
group && group[1..-1]
|
123
124
|
end
|
124
125
|
end
|
125
126
|
end
|
data/lib/ruby_speech/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_speech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.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: 2013-05-
|
11
|
+
date: 2013-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: niceogiri
|