forest_liana 1.3.34 → 1.3.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b07024391d65b3bf00f9833d9de1dc07f3a42399
4
- data.tar.gz: b0bf9511566b89a00284eaa24870f5675f2c512a
3
+ metadata.gz: 027387f99037587f027c8a5999c29d8019eae6e1
4
+ data.tar.gz: b9fc443ad832307d3e4567a75541df7b679c12f5
5
5
  SHA512:
6
- metadata.gz: a7c2214c56012e09456a28d50cb13535eeee88a311b5e647637fff8f213e1d67c8418430b8c705a2a65d3443aed4dd121f884d3997c8de9a9a535b61e43930cf
7
- data.tar.gz: 3a82b6aa75defd84002f6aa04cb53ae3b8aa575f03f84623965e409d72aa5735a6000c5c83c2d2bb4cb9648daee68669026c6f6b2cdcc10581c9bbdae0a655ce
6
+ metadata.gz: b4d4a3d23ea11e547698c2b334510dca6a96c26b55d3550523af095733042cc0cd8982b6a3c52234c7bdf884e24c27dc75fa14c7a25b7f8644ae155dc6a9d642
7
+ data.tar.gz: ec80ba6de4281e5bca0f4a961e2e52779b953a71e98e6333ea8ee37cdb28d9198708d5d73e74e5158b4ee3d6a9402c1d42901894d2e926ca50bd834336c0523c
@@ -22,6 +22,8 @@ module ForestLiana
22
22
  elsif subclass.table_name == table_name
23
23
  model = subclass
24
24
  end
25
+
26
+ break if model
25
27
  end
26
28
 
27
29
  model
@@ -19,7 +19,7 @@ module ForestLiana::Collection
19
19
  end
20
20
 
21
21
  def field(name, opts, &block)
22
- model.fields << opts.merge({ field: name, is_searchable: false })
22
+ model.fields << opts.merge({ field: name, :'is-searchable' => false })
23
23
 
24
24
  if serializer_name
25
25
  ForestLiana::UserSpace.const_get(serializer_name).class_eval do
@@ -31,7 +31,7 @@ module ForestLiana::Collection
31
31
  def has_many(name, opts, &block)
32
32
  model.fields << opts.merge({
33
33
  field: name,
34
- is_searchable: false,
34
+ :'is-searchable' => false,
35
35
  type: ['String']
36
36
  })
37
37
 
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.3.34"
2
+ VERSION = "1.3.35"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.34
4
+ version: 1.3.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails