clumpy 0.2.7 → 0.2.8

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: 9bdbfef1adbfd8fb569226453e2d580c65e7a348
4
- data.tar.gz: 3c199636374d074c3bdb37f5f1f3eb0fa83ee068
3
+ metadata.gz: ce75704d0ea6206400894e839761b6f197744611
4
+ data.tar.gz: 3899b14908360a9e0684779227d8ca2fb8afb285
5
5
  SHA512:
6
- metadata.gz: 5f97faf5c646c9079980b883adf831e57fe44b3013553bae88101b4bfc84772139b9d548f8bba145c6f09eb6b57c9fcafe30876894bd0adc177d9df9e01acbea
7
- data.tar.gz: f9cbee56548ea77c69f13d97fc4a379bb01c6ee43252451fd0e2558a18fe6863c4f5342a6fe72bdc38711e79fa376539332c83f15a7906bda8ac3332b341f11f
6
+ metadata.gz: 88e903aadf9e0be90f390de1d155ca446cd5c6bfe86abb320dbebe6a5c74580092ac6c96a967c4aa633c02d1d02f487d5fd4c214769f3cbf97f155d1b7de424a
7
+ data.tar.gz: d1143e3bc8bb6c1eff28b2949a3da92e72b650c3d7f0d01278c32c0e0eaee8135c55f9eb8875187710ee363900409756cb575e923a0bcc92e650c9b6b7c98905
@@ -2,16 +2,16 @@ module Clumpy
2
2
  module Extensions
3
3
  module ChewyHit
4
4
  def latitude
5
- @latitude ||= lat.to_f
5
+ @latitude ||= _source.lat.to_f
6
6
  end
7
7
 
8
8
  def longitude
9
- @longitude ||= lng.to_f
9
+ @longitude ||= _source.lng.to_f
10
10
  end
11
11
 
12
12
  def as_json(*)
13
13
  {
14
- id: id,
14
+ id: _source.id,
15
15
  type: _source.full?(:type) || type.classify
16
16
  }
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Clumpy
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clumpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Opper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
11
+ date: 2014-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler