forest_liana 9.4.3 → 9.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forest_liana/collection.rb +1 -1
- data/lib/forest_liana/version.rb +1 -1
- metadata +2 -17
- data/config/initializers/arel-helpers.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0176683d5de6bb4bf2983218178607f846b76fc4974cbeb3c505b53cc74384
|
4
|
+
data.tar.gz: 4f949dee10c6ffb77a394e0f4a5e82d9a0702d3ac388cf972b13746a062186c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a7e3a0a475c400559c0acfb14c2f0b2d08ebc84b38356486ccc2d851a822b1f4e3c9864ef31d1c0d6a870ba9774b3e9c990610f19e081a474231749a68000e1
|
7
|
+
data.tar.gz: baf28439443b7de0509b45b6d8e8c57323cd4dce5b6b38ea6c1666329505423c9222dc2bd2ccc7e7505701663e51d983d7aa7c711169564093aa6181952a7898
|
@@ -72,12 +72,12 @@ module ForestLiana::Collection
|
|
72
72
|
opts[:relationships] = nil unless opts.has_key?(:relationships)
|
73
73
|
opts[:widget] = nil unless opts.has_key?(:widget)
|
74
74
|
opts[:validations] = [] unless opts.has_key?(:validations)
|
75
|
+
opts[:is_virtual] = true unless opts.has_key?(:polymorphic_key) && opts[:polymorphic_key]
|
75
76
|
|
76
77
|
model.fields << opts.merge({
|
77
78
|
field: name,
|
78
79
|
is_filterable: !!opts[:is_filterable],
|
79
80
|
is_sortable: !!opts[:is_sortable],
|
80
|
-
is_virtual: true
|
81
81
|
})
|
82
82
|
|
83
83
|
define_method(name) { self.data[name] } if smart_collection?
|
data/lib/forest_liana/version.rb
CHANGED
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: 9.
|
4
|
+
version: 9.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: arel-helpers
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: groupdate
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -323,7 +309,6 @@ files:
|
|
323
309
|
- app/services/forest_liana/utils/context_variables_injector.rb
|
324
310
|
- app/services/forest_liana/value_stat_getter.rb
|
325
311
|
- app/views/layouts/forest_liana/application.html.erb
|
326
|
-
- config/initializers/arel-helpers.rb
|
327
312
|
- config/initializers/error-messages.rb
|
328
313
|
- config/initializers/errors.rb
|
329
314
|
- config/initializers/httpclient.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'arel-helpers'
|