ruby_speech 2.1.0-java → 2.1.1-java
Sign up to get free protection for your applications and to get access to all the features.
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
@@ -2,14 +2,14 @@
|
|
2
2
|
name: ruby_speech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.1.
|
5
|
+
version: 2.1.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Ben Langfeld
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: niceogiri
|