elastic_record 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -162,6 +162,19 @@ module ElasticRecord
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
+
# def normalize_value(value)
|
166
|
+
# case value
|
167
|
+
# when true
|
168
|
+
# "T"
|
169
|
+
# when false
|
170
|
+
# "F"
|
171
|
+
# when Time
|
172
|
+
# value.iso8601
|
173
|
+
# else
|
174
|
+
# value
|
175
|
+
# end
|
176
|
+
# end
|
177
|
+
|
165
178
|
def build_limit(limit)
|
166
179
|
if limit
|
167
180
|
Arelastic::Searches::Size.new(limit)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arelastic
|