waistband 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Waistband
7
7
 
8
8
  def initialize(row)
9
9
  @source = row['_source'].stringify_keys
10
- @_id = row['_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.keys.map(&:to_s).include?(method_name.to_s)
19
+ return true if @source.has_key?(method_name.to_s)
20
20
  super
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module Waistband
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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
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-27 00:00:00.000000000 Z
12
+ date: 2013-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport