algoliasearch-rails 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cae40a278ed88ed8ffd9aae137f9c22970b34161
4
- data.tar.gz: 506a7bcc7377fa9a4e3d3a37c8da31d987164d48
3
+ metadata.gz: 3e548f90f9dca1c6078b6b274af2a705840c6654
4
+ data.tar.gz: 2b2beaca193bea7a110486873d44fe51f93a6acd
5
5
  SHA512:
6
- metadata.gz: 004835f49ea8dbda665ff371075b537b5c25c477620e9e3706ae22878c6947ce0acc9902e1bf30812ea35f2ab2f8744f2feabced822818c9c1e247cb49362475
7
- data.tar.gz: c1a925f63ca195e63012fdbd85c1981887392f3148e89cb6c8efb2859813a2cca29c6f3d2f8773ca74c8a2e6892c1b4f01f15684f5e09e078cef29065cfd26be
6
+ metadata.gz: 36568a7863a24722c589a10944292c7daa9f1b358030ac054c9f71c469dcb112aa676472d4f5fc2dfb2cd72e3054d131ddfc821be835938bba7e4e10f1680114
7
+ data.tar.gz: 71c4ad43fbe9d11fd677889bfc138984e25866598110dd0d7516ba099dab7d7a46e4ee7c780b16e5e77b1f5eb11836903b7a85cd6c9fce549263e2a7846fa705
data/.travis.yml CHANGED
@@ -5,7 +5,6 @@ branches:
5
5
  rvm:
6
6
  - 2.0.0
7
7
  - 1.9.3
8
- - rbx-2.2.1
9
8
  env:
10
9
  global:
11
10
  - secure: wRDLGbg+GS7Eo6KhjyAA6YNm6rFVo8j53b0oEZLBkJ2VzvLsKMnpEfopzc0W2wttgVwgkX8C/9adbd/BPsEYbpO+uJFt5DX3A2HVVXCZ2jP0TgLj2m4dOA4ohroYDcdeB0fuZM7a7hvFNswd9vSRLmes6vLQ0GcFTSz1rWQLf6U=
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  CHANGELOG
2
2
 
3
+ 2014-01-02 1.6.3
4
+
5
+ * Expose new ```attributeForDistinct``` setting
6
+
3
7
  2013-12-17 1.6.2
4
8
 
5
9
  * Updated deps (included algoliasearch 1.1.15 and algoliasearch-client-js 2.3.6)
data/Gemfile.lock CHANGED
@@ -24,8 +24,9 @@ GEM
24
24
  thread_safe (~> 0.1)
25
25
  tzinfo (~> 0.3.37)
26
26
  addressable (2.3.5)
27
- algoliasearch (1.1.15)
28
- curb
27
+ algoliasearch (1.1.17)
28
+ curb (~> 0.8)
29
+ json (>= 1.5.1)
29
30
  arel (4.0.1)
30
31
  atomic (1.1.14)
31
32
  autotest (4.4.6)
@@ -39,7 +40,7 @@ GEM
39
40
  curb (0.8.5)
40
41
  diff-lcs (1.2.5)
41
42
  erubis (2.7.0)
42
- ethon (0.6.1)
43
+ ethon (0.6.2)
43
44
  ffi (>= 1.3.0)
44
45
  mime-types (~> 1.18)
45
46
  faraday (0.8.8)
@@ -108,7 +109,7 @@ GEM
108
109
  rack (1.5.2)
109
110
  rack-test (0.6.2)
110
111
  rack (>= 1.0)
111
- rake (10.1.0)
112
+ rake (10.1.1)
112
113
  rdoc (4.0.1)
113
114
  json (~> 1.4)
114
115
  redgreen (1.2.2)
@@ -137,8 +138,8 @@ GEM
137
138
  pry (~> 0.9)
138
139
  pusher-client (~> 0.4)
139
140
  typhoeus (~> 0.6)
140
- typhoeus (0.6.6)
141
- ethon (~> 0.6.1)
141
+ typhoeus (0.6.7)
142
+ ethon (~> 0.6.2)
142
143
  tzinfo (0.3.38)
143
144
  websocket (1.0.7)
144
145
  will_paginate (3.0.5)
data/README.md CHANGED
@@ -264,7 +264,7 @@ class Contact < ActiveRecord::Base
264
264
  include AlgoliaSearch
265
265
 
266
266
  algoliasearch do
267
- tags ['trusted']
267
+ geoloc :lat_attr, :lng_attr
268
268
  end
269
269
  end
270
270
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.2
1
+ 1.6.3
@@ -2,15 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: algoliasearch-rails 1.6.2 ruby lib
5
+ # stub: algoliasearch-rails 1.6.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "algoliasearch-rails"
9
- s.version = "1.6.2"
9
+ s.version = "1.6.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Algolia"]
13
- s.date = "2013-12-17"
13
+ s.date = "2014-01-02"
14
14
  s.description = "AlgoliaSearch integration to your favorite ORM"
15
15
  s.email = "contact@algolia.com"
16
16
  s.extra_rdoc_files = [
@@ -49,7 +49,7 @@ module AlgoliaSearch
49
49
  :minWordSizefor2Typos, :hitsPerPage, :attributesToRetrieve,
50
50
  :attributesToHighlight, :attributesToSnippet, :attributesToIndex,
51
51
  :ranking, :customRanking, :queryType, :attributesForFaceting,
52
- :separatorsToIndex, :optionalWords]
52
+ :separatorsToIndex, :optionalWords, :attributeForDistinct]
53
53
  OPTIONS.each do |k|
54
54
  define_method k do |v|
55
55
  instance_variable_set("@#{k}", v)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algoliasearch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json