waistband 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/waistband/query_result.rb +2 -2
- data/lib/waistband/version.rb +1 -1
- metadata +2 -2
@@ -7,7 +7,7 @@ module Waistband
|
|
7
7
|
|
8
8
|
def initialize(row)
|
9
9
|
@source = row['_source'].stringify_keys
|
10
|
-
@_id
|
10
|
+
@_id = row['_id']
|
11
11
|
@score = row['_score']
|
12
12
|
end
|
13
13
|
|
@@ -16,7 +16,7 @@ module Waistband
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def respond_to_missing?(method_name, include_private = false)
|
19
|
-
return true if @source.
|
19
|
+
return true if @source.has_key?(method_name.to_s)
|
20
20
|
super
|
21
21
|
end
|
22
22
|
|
data/lib/waistband/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waistband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
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: 2013-08-
|
12
|
+
date: 2013-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|