algoliasearch-rails 1.10.9 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/VERSION +1 -1
- data/algoliasearch-rails.gemspec +2 -2
- data/lib/algoliasearch-rails.rb +2 -2
- data/lib/algoliasearch/utilities.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f39872864846771818558ceb0b4e0c39133a5f0
|
4
|
+
data.tar.gz: 6917f70e4192d8ad79b02e6bdcdca3e3cc1e8067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb0791e62c9575254411b94315fa667229bf0fed7f601b64e4b356b1a735de2efa9b789c25259dd301fc715f623a36c52f7fb55d4d7f34db58c69a884a105319
|
7
|
+
data.tar.gz: 548db3f2db61373437b8902f907920a932db97747a098f4c13d2200d079aae8c7e6ed5daea3999a66a8c68db0510b4b5085ba19e2f2525a633406635f65750c7
|
data/ChangeLog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
data/algoliasearch-rails.gemspec
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "algoliasearch-rails"
|
9
|
-
s.version = "1.
|
9
|
+
s.version = "1.11.0"
|
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 = "2014-08-
|
13
|
+
s.date = "2014-08-20"
|
14
14
|
s.description = "AlgoliaSearch integration to your favorite ORM"
|
15
15
|
s.email = "contact@algolia.com"
|
16
16
|
s.extra_rdoc_files = [
|
data/lib/algoliasearch-rails.rb
CHANGED
@@ -401,14 +401,14 @@ module AlgoliaSearch
|
|
401
401
|
return true if algolia_object_id_changed?(object, options)
|
402
402
|
settings.get_attributes(object).each do |k, v|
|
403
403
|
changed_method = "#{k}_changed?"
|
404
|
-
return true if object.respond_to?(changed_method)
|
404
|
+
return true if !object.respond_to?(changed_method) || object.send(changed_method)
|
405
405
|
end
|
406
406
|
[options[:if], options[:unless]].each do |condition|
|
407
407
|
case condition
|
408
408
|
when nil
|
409
409
|
when String, Symbol
|
410
410
|
changed_method = "#{condition}_changed?"
|
411
|
-
return true if object.respond_to?(changed_method)
|
411
|
+
return true if !object.respond_to?(changed_method) || object.send(changed_method)
|
412
412
|
else
|
413
413
|
end
|
414
414
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|