releaf-core 3.0.3 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/releaf/button_helper.rb +1 -1
- data/app/lib/releaf/search.rb +1 -3
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca0405cb5b1e6f2c13d440924f6144f8ec3650b40679c08f1c122f24622316d5
|
4
|
+
data.tar.gz: 84027e4272a62bcb846f00d3202185f4c89908eb6ef9e20fe41e013004d906a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71eb65e0436d553fe9ae3a0e00e5f1a2d00d178c766ec64865c53436e53597fed7543190fb94813d6076b30597b83d6ea5b279e2babf62493d6a931f08a99cd9
|
7
|
+
data.tar.gz: 1f719c71df5300592bbeb93621b32ea7bf35f286d5414357530f421f82156ccd96728295e3dae03a2b2da7da2d223117aa67a616ede75fbea23906ba6f02ccb7
|
data/app/lib/releaf/search.rb
CHANGED
@@ -106,8 +106,6 @@ module Releaf
|
|
106
106
|
def extract_where_condition_from_scope(reflection, table_alias)
|
107
107
|
tmp_relation = build_tmp_relation(reflection, table_alias)
|
108
108
|
|
109
|
-
return nil if tmp_relation.where_values_hash.blank?
|
110
|
-
|
111
109
|
tmp_relation.arel.ast.cores.first.wheres
|
112
110
|
end
|
113
111
|
|
@@ -115,7 +113,7 @@ module Releaf
|
|
115
113
|
# Need to create tmp relation since setting table alias for actual klass
|
116
114
|
# is a bad idea.
|
117
115
|
klass = Class.new(reflection.klass) do
|
118
|
-
self.arel_table.
|
116
|
+
self.arel_table.name = table_alias
|
119
117
|
end
|
120
118
|
|
121
119
|
klass.instance_exec(&reflection.scope)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releaf-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CubeSystems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '7.
|
19
|
+
version: '7.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '7.
|
26
|
+
version: '7.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '7.
|
33
|
+
version: '7.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '7.
|
40
|
+
version: '7.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activerecord
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '7.
|
47
|
+
version: '7.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '7.
|
54
|
+
version: '7.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: i18n
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,28 +240,28 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
243
|
+
version: '1.1'
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
250
|
+
version: '1.1'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: will_paginate
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
257
|
+
version: '4.0'
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
264
|
+
version: '4.0'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: font-awesome-rails
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 6.
|
285
|
+
version: '6.3'
|
286
286
|
type: :runtime
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 6.
|
292
|
+
version: '6.3'
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: rack-cache
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -310,14 +310,14 @@ dependencies:
|
|
310
310
|
requirements:
|
311
311
|
- - "~>"
|
312
312
|
- !ruby/object:Gem::Version
|
313
|
-
version: '
|
313
|
+
version: '2.0'
|
314
314
|
type: :runtime
|
315
315
|
prerelease: false
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
318
|
- - "~>"
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version: '
|
320
|
+
version: '2.0'
|
321
321
|
description: Admin interface for RubyOnRails projects inspired by Leaf CMS
|
322
322
|
email: info@cubesystems.lv
|
323
323
|
executables: []
|
@@ -598,7 +598,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
598
598
|
- !ruby/object:Gem::Version
|
599
599
|
version: '0'
|
600
600
|
requirements: []
|
601
|
-
rubygems_version: 3.
|
601
|
+
rubygems_version: 3.4.10
|
602
602
|
signing_key:
|
603
603
|
specification_version: 4
|
604
604
|
summary: core gem for releaf
|