workarea-core 3.4.43 → 3.4.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/workarea/release/changeset.rb +4 -1
- data/app/models/workarea/search/admin.rb +1 -1
- data/lib/workarea/version.rb +1 -1
- data/workarea-core.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f641c286644da5814fc1100ad784ff282d5603ced4f5c0f799d5254654a3787f
|
4
|
+
data.tar.gz: 44459b17e343dfafcf686531c397e9aafd96c53466600cf920d556d7bfd821bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9aa81651f0ccbec509e884fd732cb936557b529817201b3afe6272700a94aabf6b860e35455818c8f48e7a73c97a4025ebc19dc82dc8b56321e5c75e9ac7c98
|
7
|
+
data.tar.gz: 731d4fe4eee3eab2b30c8246aae068719762f265c4bb012d4c942f6d9aacc536e544d0e1d615af609addd51474921b4b5afde1a6ceda7b51a5e1ae3b42c6273a
|
@@ -11,7 +11,10 @@ module Workarea
|
|
11
11
|
belongs_to :release, class_name: 'Workarea::Release', index: true
|
12
12
|
belongs_to :releasable, polymorphic: true, index: true, optional: true
|
13
13
|
|
14
|
-
index(
|
14
|
+
index(
|
15
|
+
{ 'document_path.type' => 1, 'document_path.document_id' => 1 },
|
16
|
+
{ name: 'document_path' }
|
17
|
+
)
|
15
18
|
|
16
19
|
# Whether these value changes to this field should be included when
|
17
20
|
# saving a changeset. Used in building changeset hashes.
|
@@ -38,7 +38,7 @@ module Workarea
|
|
38
38
|
aggregation = search(query)['aggregations']['grouped_by_type']['type']
|
39
39
|
aggregation['buckets']
|
40
40
|
.reduce([]) { |m, b| m + b['top']['hits']['hits'] }
|
41
|
-
.sort_by { |r| [r['_source']['jump_to_position'], r['_score']] }
|
41
|
+
.sort_by { |r| [r['_source']['jump_to_position'] || 999, r['_score'] || 0] }
|
42
42
|
.map do |result|
|
43
43
|
{
|
44
44
|
label: result['_source']['jump_to_text'],
|
data/lib/workarea/version.rb
CHANGED
data/workarea-core.gemspec
CHANGED
@@ -58,7 +58,7 @@ Gem::Specification.new do |s|
|
|
58
58
|
s.add_dependency 'i18n-js', '~> 3.2.1'
|
59
59
|
s.add_dependency 'local_time', '~> 1.0.3'
|
60
60
|
s.add_dependency 'lodash-rails', '~> 4.17.4'
|
61
|
-
s.add_dependency 'jquery-rails', '~> 4.
|
61
|
+
s.add_dependency 'jquery-rails', '~> 4.4.0'
|
62
62
|
s.add_dependency 'jquery-ui-rails', '~> 6.0.1'
|
63
63
|
s.add_dependency 'tooltipster-rails', '~> 4.1.2'
|
64
64
|
s.add_dependency 'chart-js-rails', '~> 0.0.9' # TODO remove v4
|
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.4.
|
4
|
+
version: 3.4.44
|
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-11-
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -632,14 +632,14 @@ dependencies:
|
|
632
632
|
requirements:
|
633
633
|
- - "~>"
|
634
634
|
- !ruby/object:Gem::Version
|
635
|
-
version: 4.
|
635
|
+
version: 4.4.0
|
636
636
|
type: :runtime
|
637
637
|
prerelease: false
|
638
638
|
version_requirements: !ruby/object:Gem::Requirement
|
639
639
|
requirements:
|
640
640
|
- - "~>"
|
641
641
|
- !ruby/object:Gem::Version
|
642
|
-
version: 4.
|
642
|
+
version: 4.4.0
|
643
643
|
- !ruby/object:Gem::Dependency
|
644
644
|
name: jquery-ui-rails
|
645
645
|
requirement: !ruby/object:Gem::Requirement
|