poliqarpr 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/changelog.txt +6 -0
- data/lib/poliqarpr/client.rb +3 -1
- data/poliqarpr.gemspec +1 -1
- metadata +2 -2
data/changelog.txt
CHANGED
data/lib/poliqarpr/client.rb
CHANGED
@@ -39,7 +39,7 @@ module Poliqarp
|
|
39
39
|
# A hint about installation of default corpus gem
|
40
40
|
def self.const_missing(const)
|
41
41
|
if const.to_s =~ /DEFAULT_CORPUS/
|
42
|
-
raise "You need to install '
|
42
|
+
raise "You need to install gem 'poliqarpr-corpus' to use the default corpus"
|
43
43
|
end
|
44
44
|
super
|
45
45
|
end
|
@@ -450,6 +450,8 @@ protected
|
|
450
450
|
result_count = talk("BUFFER-STATE").split(" ")[2].to_i
|
451
451
|
break unless should_wait?
|
452
452
|
end while result_count < answer_offset
|
453
|
+
# force stop waiting if the result offset is reached before the query has finished
|
454
|
+
stop_waiting
|
453
455
|
@last_result = "OK #{result_count}"
|
454
456
|
result_count
|
455
457
|
end
|
data/poliqarpr.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: poliqarpr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Aleksander Pohl
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-22 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|