inquisitio 1.2.3 → 1.2.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: ab2d4cf939da96f26e1f9ad688363f9df23ed697
4
- data.tar.gz: 865070d56b16d662a21a5ea2ae6deb823757cde6
3
+ metadata.gz: 5979b3509dd914841f1fc553f33e2b2e3ae2e2ef
4
+ data.tar.gz: d36201990c6be855dea556acfd81a1b22393440f
5
5
  SHA512:
6
- metadata.gz: e2458344374731f34cfbfa78c9c662dcf285303cd4a9ff004b5af23693d4cbbd8c2a4ea01cacacf27a1e86c591adf917659c548df00a0a93de1ba87ba9c037ab
7
- data.tar.gz: e13822c322f83c5d49911505930d4ca05e05c3eddb3f72a4fde1182fc75960d9b83b0df5ec73d19fed22f05deb4753ac6f8a3cd4484f5524355b25851a95ea12
6
+ metadata.gz: 2ecf3137719704252be5de8ef79cba9575eaca75a4b29c4a627dd6f208d2176a195d9152cbddc3e341ad9cf56345cc1c3570a8a256115f343591fb875fba724e
7
+ data.tar.gz: 9d9e8c5c91afe5ce9aaa2f306efd98aa8cc4637b9b679e465a3b8c045e60da9bd5a53fa86905529639a20ca12ba54c955e82a015736ac2d3809c24659c849e1f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 1.2.4 / 2014-06-12
2
+ [FEATURE] Remove deep clone to allow inquisitio on jRuby
3
+
1
4
  1.2.3 / 2014-06-05
2
5
  [FEATURE] Return time taken by queries as time_ms on Searcher for 2013-01-01 api
3
6
 
data/inquisitio.gemspec CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "excon", "~> 0.25.0"
22
- spec.add_dependency "ruby_deep_clone"
23
22
 
24
23
  spec.add_development_dependency "bundler", "~> 1.3"
25
24
  spec.add_development_dependency "rake"
@@ -1,5 +1,4 @@
1
1
  require 'excon'
2
- require "deep_clone"
3
2
 
4
3
  module Inquisitio
5
4
  class Searcher
@@ -164,7 +163,12 @@ module Inquisitio
164
163
  end
165
164
 
166
165
  def clone
167
- Searcher.new(DeepClone.clone(params)) do |s|
166
+ params_clone = JSON.parse(params.to_json)
167
+ symbolised_params = params_clone.inject({}) do |h, (key, value)|
168
+ h[key.to_sym] = value
169
+ h
170
+ end
171
+ Searcher.new(symbolised_params) do |s|
168
172
  yield(s) if block_given?
169
173
  end
170
174
  end
@@ -1,3 +1,3 @@
1
1
  module Inquisitio
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.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: 1.2.3
4
+ version: 1.2.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: 2014-06-05 00:00:00.000000000 Z
13
+ date: 2014-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: excon
@@ -26,20 +26,6 @@ dependencies:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  version: 0.25.0
29
- - !ruby/object:Gem::Dependency
30
- name: ruby_deep_clone
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - '>='
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - '>='
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: bundler
45
31
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
162
  version: '0'
177
163
  requirements: []
178
164
  rubyforge_project:
179
- rubygems_version: 2.0.14
165
+ rubygems_version: 2.1.9
180
166
  signing_key:
181
167
  specification_version: 4
182
168
  summary: This wraps AWS CloudSearch in a Ruby Gem