workarea-core 3.5.19 → 3.5.20
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6261fa607f871ebfb3c05fb63ba16c8fdd08cd08d3dd0e34971ad18b1868f21
|
4
|
+
data.tar.gz: de5b0e46393f51fd7b1259ed6acd2aac028a4f7d8f311e19f26ec0bf331bffb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8b791f8733b306e0411a309550e32055716ffd6abb952b9ce9e171bd7b3ade86a7cc6868a2d18a586c1ab847c18552b4f024dd9b2a4280a7eb2cd446fbd825
|
7
|
+
data.tar.gz: 033113c7e285a55c87f1fbf9b4a108d50767b9fa83041e7a9bb6bb8391164fd5a1986aa59ee1bd7c14ad0f55398d72a094cbbad4ab2c3e93dc37293be28385be
|
@@ -57,7 +57,9 @@ module Workarea
|
|
57
57
|
percentage_field = super
|
58
58
|
return percentage_field unless percentage_field.zero?
|
59
59
|
|
60
|
-
country_percentage
|
60
|
+
[country_percentage, region_percentage, postal_code_percentage]
|
61
|
+
.compact
|
62
|
+
.sum
|
61
63
|
end
|
62
64
|
end
|
63
65
|
end
|
@@ -127,11 +127,6 @@ Workarea::Configuration.define_fields do
|
|
127
127
|
end
|
128
128
|
|
129
129
|
fieldset 'Search', namespaced: false do
|
130
|
-
field 'Default Search Facet Result Sizes',
|
131
|
-
type: :integer,
|
132
|
-
default: 10,
|
133
|
-
description: 'The number of filter results returned for each filter type.'
|
134
|
-
|
135
130
|
field 'Search Facet Result Sizes',
|
136
131
|
type: :hash,
|
137
132
|
values_type: :integer,
|
@@ -139,7 +134,15 @@ Workarea::Configuration.define_fields do
|
|
139
134
|
description: %(
|
140
135
|
The number of filter results returned for any specified filter type. If no
|
141
136
|
size is defined for a filter type, the default will be what is specified
|
142
|
-
in the default config
|
137
|
+
in the default config below.
|
138
|
+
).squish
|
139
|
+
|
140
|
+
field 'Default Search Facet Result Sizes',
|
141
|
+
type: :integer,
|
142
|
+
default: 10,
|
143
|
+
description: %(
|
144
|
+
The number of filter results returned for each filter type when not
|
145
|
+
specified above.
|
143
146
|
).squish
|
144
147
|
|
145
148
|
field 'Search Size Facet Sort',
|
@@ -7,5 +7,5 @@ env_expire_after = ENV['WORKAREA_SESSION_STORE_EXPIRE_AFTER']
|
|
7
7
|
Rails.application.config.session_store(
|
8
8
|
:cookie_store,
|
9
9
|
key: "_#{Rails.application.class.name.deconstantize.underscore}_session",
|
10
|
-
expire_after: env_expire_after.present? ? env_expire_after.to_i :
|
10
|
+
expire_after: env_expire_after.present? ? env_expire_after.to_i : 30.minutes
|
11
11
|
)
|
data/lib/workarea/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|