corn_starch 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/corn_starch/unisearchable.rb +2 -2
- data/lib/corn_starch/version.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: c89bba4af20a9cc5845fcfcfd8082131b1464c1a
|
4
|
+
data.tar.gz: 36d7a539917a98c8d6ad3b80f5f44955d6792bde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb14f8ca5b44b0beffccc42aba53a18d9cf117bd17d7dadbcd2c1112f51eb03b4061de029964ad9e1084b06de55174242e5501cda1a1f6cab269aaa287dab0f1
|
7
|
+
data.tar.gz: 978269bcd30fc2e991ba3b6e78c87f523bc7dd21fe4715142d70ca681e8ba699de2a92ad3a31b4318edc1ad2690a9a96538cd7c1168073d5af9240c7a754ce19
|
@@ -19,12 +19,12 @@ module CornStarch
|
|
19
19
|
|
20
20
|
# Get/Set Searchable Attributes
|
21
21
|
def searchable_attributes attrs = nil
|
22
|
-
@searchable_attributes = attrs || @searchable_attributes
|
22
|
+
@searchable_attributes = (attrs || @searchable_attributes) || {}
|
23
23
|
end
|
24
24
|
|
25
25
|
# Get/Set Searchable Associations
|
26
26
|
def searchable_associations assocs = nil
|
27
|
-
@searchable_associations = assocs || @searchable_associations
|
27
|
+
@searchable_associations = (assocs || @searchable_associations) || {}
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
data/lib/corn_starch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_starch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|