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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27db1be9742128fc3fd387fbb1712ee054279b15
4
- data.tar.gz: a3b1388f90ca72bd0411c2c69f089aa1eace0aa6
3
+ metadata.gz: 4a6c3c7e821ac123715eb0f433f0656cddddbe60
4
+ data.tar.gz: acbe5821aaf7dca83dab326e5ac89869124fd0e2
5
5
  SHA512:
6
- metadata.gz: 72fc05eff0781551063b4b1f43842e65bf7a53b9acdbb33decaea5672ff5369324e81e48d8a64b2c2a64e149f7f482775c8c4982a9ac1a37c8f9b416e2029e18
7
- data.tar.gz: a00a31e5689025f1c62e6d4f761f17b1ff37a645e819d632c844f593b5ab45da1f81d5e22c84276e05d0164f79f6ec0d26565a51acc7b7eb7d20d4ef7d6e2ea9
6
+ metadata.gz: a74ceaf315ea95bf27794467dce390a9bd215fd03c84614703d4edc7491fc904ba4cdcb719212b7b2d25863d2cf9618076337eb8ba3289925f1c6fe6ef428553
7
+ data.tar.gz: 27a215517651410184539c28c3e14705fb3008eea43640bb4d2c431ea7109457e235f40b73f2df29fce45394ebdbf0ac68a977f6e583b1b0f8b6dfdaae56872f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.4 / 2013-11-05
2
+
3
+ [FEATURE] Added logging when indexing.
4
+
1
5
  0.1.3 / 2013-10-31
2
6
 
3
7
  [BUGFIX] Fix namespacing issue with ActiveSupport::String
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Inquisitio
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-10-31 00:00:00.000000000 Z
13
+ date: 2013-11-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: excon