name-spotter 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/name-spotter/neti_neti_client.rb +1 -1
- data/name-spotter.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
@@ -7,7 +7,7 @@ class NameSpotter
|
|
7
7
|
def find(text)
|
8
8
|
# the form does not get sent if text is nil or empty
|
9
9
|
return [] if text.nil? || text.empty?
|
10
|
-
response = RestClient.post("http://#{@host}:#{@port}", data: text, timeout:
|
10
|
+
response = RestClient.post("http://#{@host}:#{@port}", data: text, timeout: 9_000_000, open_timeout: 9_000_000, connection: "Keep-Alive")
|
11
11
|
response.body.split("|").collect do |info|
|
12
12
|
res = info.split(",")
|
13
13
|
name = res[0...-2].join(",")
|
data/name-spotter.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "name-spotter"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anthony Goddard", "Chuck Ha", "Dmitry Mozzherin"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: name-spotter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -269,7 +269,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
269
269
|
version: '0'
|
270
270
|
segments:
|
271
271
|
- 0
|
272
|
-
hash: -
|
272
|
+
hash: -967146612802258338
|
273
273
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
274
|
none: false
|
275
275
|
requirements:
|