inquisitio 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/inquisitio/indexer.rb +2 -0
- data/lib/inquisitio/version.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: 4a6c3c7e821ac123715eb0f433f0656cddddbe60
|
4
|
+
data.tar.gz: acbe5821aaf7dca83dab326e5ac89869124fd0e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a74ceaf315ea95bf27794467dce390a9bd215fd03c84614703d4edc7491fc904ba4cdcb719212b7b2d25863d2cf9618076337eb8ba3289925f1c6fe6ef428553
|
7
|
+
data.tar.gz: 27a215517651410184539c28c3e14705fb3008eea43640bb4d2c431ea7109457e235f40b73f2df29fce45394ebdbf0ac68a977f6e583b1b0f8b6dfdaae56872f
|
data/CHANGELOG.md
CHANGED
data/lib/inquisitio/indexer.rb
CHANGED
@@ -15,9 +15,11 @@ module Inquisitio
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def index
|
18
|
+
Inquisitio.config.logger.info "Indexer posting to #{batch_index_url} body: #{body}"
|
18
19
|
response = Excon.post(batch_index_url,
|
19
20
|
:body => body,
|
20
21
|
:headers => {"Content-Type" =>"application/json"})
|
22
|
+
Inquisitio.config.logger.info "Response - status: #{response.status} body: #{response.body}"
|
21
23
|
raise InquisitioError.new("Index failed with status code: #{response.status} Message: #{response.body}") unless response.status == 200
|
22
24
|
response.body
|
23
25
|
end
|
data/lib/inquisitio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inquisitio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: excon
|