corn_starch 1.2.2 → 1.2.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: 5e0ff37ca1243983232a2e61a9e587d02120e73a
4
- data.tar.gz: 4fb5e1b44845fe1521daf1d7459a010255b73517
3
+ metadata.gz: c89bba4af20a9cc5845fcfcfd8082131b1464c1a
4
+ data.tar.gz: 36d7a539917a98c8d6ad3b80f5f44955d6792bde
5
5
  SHA512:
6
- metadata.gz: b8d0b9fbe441a5008ab34d6c47bf16460dbcced9ea8a4acf87c4220b3a38697cda380ef9861b9bcb840c016bf1a50bfaf7e070eb3d11c1774ccdffb3f0b99707
7
- data.tar.gz: 06031108419f0c7f073976508bcc11cf2a7a9096341951375e861898213db687e7bca8682bc80570a38bd61d3742754b91219f5096d50a118f803fee233259f9
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
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
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.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-01 00:00:00.000000000 Z
11
+ date: 2016-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler