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 +4 -4
- data/CHANGELOG.md +3 -0
- data/inquisitio.gemspec +0 -1
- data/lib/inquisitio/searcher.rb +6 -2
- data/lib/inquisitio/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5979b3509dd914841f1fc553f33e2b2e3ae2e2ef
|
4
|
+
data.tar.gz: d36201990c6be855dea556acfd81a1b22393440f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ecf3137719704252be5de8ef79cba9575eaca75a4b29c4a627dd6f208d2176a195d9152cbddc3e341ad9cf56345cc1c3570a8a256115f343591fb875fba724e
|
7
|
+
data.tar.gz: 9d9e8c5c91afe5ce9aaa2f306efd98aa8cc4637b9b679e465a3b8c045e60da9bd5a53fa86905529639a20ca12ba54c955e82a015736ac2d3809c24659c849e1f
|
data/CHANGELOG.md
CHANGED
data/inquisitio.gemspec
CHANGED
data/lib/inquisitio/searcher.rb
CHANGED
@@ -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
|
-
|
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
|
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: 1.2.
|
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-
|
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.
|
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
|