algoliasearch-rails 1.23.2 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/ChangeLog +6 -0
- data/README.md +25 -7
- data/lib/algoliasearch-rails.rb +1 -1
- data/lib/algoliasearch/configuration.rb +1 -1
- data/lib/algoliasearch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49eeb3fd056a6f2e54198d03ab1c11611e0c20881a19306b7a6f8c19c509711e
|
4
|
+
data.tar.gz: a4c97fb37f6d16da2bcec303c99474d5522de49caa4f120f3fa2cd9520785ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6902ca01a224ce2fc070d64732b94cfdeef94a63fabb5cdf05a1cf0d92d2ba9127d88c846882dd479228b935a24ea53b85d7c609a243023f7fb9e4b4668dbf6d
|
7
|
+
data.tar.gz: 2af5daf2dbe550fb3a2c1d2d5a8588d844d407d2829b3eef8f0062e5b6c9b15bf30733a63abdf097129dc667cea6ad371cf610ec16565f53f91b2670f7f941fa
|
data/.travis.yml
CHANGED
data/ChangeLog
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## [1.24.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.24.0) (2020-02-21)
|
4
|
+
|
5
|
+
**Added**
|
6
|
+
|
7
|
+
* Adds indexLanguages in index settings
|
8
|
+
|
3
9
|
## [1.23.2](https://github.com/algolia/algoliasearch-rails/releases/tag/1.23.2) (2019-06-26)
|
4
10
|
|
5
11
|
**Fixed**
|
data/README.md
CHANGED
@@ -1,9 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://www.algolia.com">
|
3
|
+
<img alt="Algolia for Rails" src="https://raw.githubusercontent.com/algolia/algoliasearch-client-common/master/banners/rails.png" >
|
4
|
+
</a>
|
5
|
+
|
6
|
+
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your Rails project</h4>
|
7
|
+
|
8
|
+
<p align="center">
|
9
|
+
<a href="https://travis-ci.org/algolia/algoliasearch-rails"><img src="https://img.shields.io/travis/algolia/algoliasearch-rails/master.svg" alt="Build Status"></img></a>
|
10
|
+
<a href="http://badge.fury.io/rb/algoliasearch-rails"><img src="https://badge.fury.io/rb/algoliasearch-rails.svg" alt="Gem Version"></img></a>
|
11
|
+
<a href="https://codeclimate.com/github/algolia/algoliasearch-rails"><img src="https://codeclimate.com/github/algolia/algoliasearch-rails.svg" alt="Code Climate"></img></a>
|
12
|
+
<img src="https://img.shields.io/badge/ActiveRecord-yes-blue.svg?style=flat-square" alt="ActiveRecord"></img>
|
13
|
+
<img src="https://img.shields.io/badge/Mongoid-yes-blue.svg?style=flat-square" alt="Mongoid"></img>
|
14
|
+
<img src="https://img.shields.io/badge/Sequel-yes-blue.svg?style=flat-square" alt="Sequel"></img>
|
15
|
+
</p>
|
16
|
+
</p>
|
17
|
+
|
18
|
+
<p align="center">
|
19
|
+
<a href="https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/?language=ruby" target="_blank">Documentation</a> •
|
20
|
+
<a href="https://discourse.algolia.com" target="_blank">Community Forum</a> •
|
21
|
+
<a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> •
|
22
|
+
<a href="https://github.com/algolia/algoliasearch-rails/issues" target="_blank">Report a bug</a> •
|
23
|
+
<a href="https://www.algolia.com/support" target="_blank">Support</a>
|
24
|
+
</p>
|
7
25
|
|
8
26
|
|
9
27
|
This gem let you easily integrate the Algolia Search API to your favorite ORM. It's based on the [algoliasearch-client-ruby](https://github.com/algolia/algoliasearch-client-ruby) gem.
|
@@ -142,7 +160,7 @@ class Contact < ActiveRecord::Base
|
|
142
160
|
include AlgoliaSearch
|
143
161
|
|
144
162
|
algoliasearch do
|
145
|
-
|
163
|
+
attributes :first_name, :last_name, :email
|
146
164
|
end
|
147
165
|
end
|
148
166
|
```
|
data/lib/algoliasearch-rails.rb
CHANGED
@@ -68,7 +68,7 @@ module AlgoliaSearch
|
|
68
68
|
:disableTypoToleranceOnAttributes, :disableTypoToleranceOnWords, :separatorsToIndex,
|
69
69
|
# Language
|
70
70
|
:ignorePlurals, :removeStopWords, :camelCaseAttributes, :decompoundedAttributes,
|
71
|
-
:keepDiacriticsOnCharacters, :queryLanguages,
|
71
|
+
:keepDiacriticsOnCharacters, :queryLanguages, :indexLanguages,
|
72
72
|
# Query Rules
|
73
73
|
:enableRules,
|
74
74
|
# Query Strategy
|
@@ -6,7 +6,7 @@ module AlgoliaSearch
|
|
6
6
|
|
7
7
|
def configuration=(configuration)
|
8
8
|
@@configuration = configuration.merge(
|
9
|
-
:user_agent => "Algolia for Rails (#{AlgoliaSearch::VERSION}); Rails (#{Rails::VERSION})"
|
9
|
+
:user_agent => "Algolia for Rails (#{AlgoliaSearch::VERSION}); Rails (#{Rails::VERSION::STRING})"
|
10
10
|
)
|
11
11
|
Algolia.init @@configuration
|
12
12
|
end
|
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.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
rubygems_version: 3.0.
|
191
|
+
rubygems_version: 3.0.6
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: AlgoliaSearch integration to your favorite ORM
|