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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a1cf11328ad544ae68cd6f0f4b395f56cb19736b77e09ed1bf5cbabbd6bc756
4
- data.tar.gz: 3a3e814367ac7580db4e3846a0a9fd5f9ac16ecb518420d216817a1a281b01ef
3
+ metadata.gz: 8f0176683d5de6bb4bf2983218178607f846b76fc4974cbeb3c505b53cc74384
4
+ data.tar.gz: 4f949dee10c6ffb77a394e0f4a5e82d9a0702d3ac388cf972b13746a062186c9
5
5
  SHA512:
6
- metadata.gz: ed8f8760b8de16b5b22d13feff78978e5860d0f95f6f05f81e5178c0e11ae022a4353e84f13e102ca72d81d65592ebaa91e979af677d9be9d055aebefc60887e
7
- data.tar.gz: 655dd881cbd6c03ec4322fb544acd06dd00e8680e72e2820d7048aec3acda0d7bd5ef4362785e151398a8a2d2f5be26b3eb02d4f1b031887754c6399f4d40dd4
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?
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "9.4.3"
2
+ VERSION = "9.5.1"
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: 9.4.3
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-04 00:00:00.000000000 Z
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'