workarea-search_autocomplete 1.0.1 → 1.0.2
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: 36b1c94350df146fb08bcd1ff2f999e01d90c5061102f93d2a37f960ca3cfeed
|
4
|
+
data.tar.gz: 15342e7cf3b33b5c6308a1bfc966387bcbee18de067c1c4dec70d6ff6891e462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53c88054ad9ad77f07037ed1e396cc71ef0bd5122ad0f2b05c4450d44ac91363a5f5ddee6371bcb5f7fc9acdd18aaf02e14a962659543fa6f7ee09aa90443976
|
7
|
+
data.tar.gz: 78223237493e544dbb479cc2678295536421d5bb08ab2805ca7227567dcc6ffca189b732175f6f1065b6bd0643157b054ebaee7b4f5e48908ef3c56e66b53f43
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
Workarea Search Autocomplete 1.0.2 (2020-01-21)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Re-initialize modules on template response
|
5
|
+
|
6
|
+
When the autocomplete view is rendered we need to re-initialize the
|
7
|
+
JavaScript modules to ensure that their functionality is provided to the
|
8
|
+
template.
|
9
|
+
|
10
|
+
SEARCHAUTO-4
|
11
|
+
Curt Howard
|
12
|
+
|
13
|
+
|
14
|
+
|
1
15
|
Workarea Search Autocomplete 1.0.1 (2019-12-17)
|
2
16
|
--------------------------------------------------------------------------------
|
3
17
|
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -37,10 +37,9 @@ task :release do
|
|
37
37
|
Rake::Task['workarea:changelog'].execute
|
38
38
|
system 'git add CHANGELOG.md'
|
39
39
|
system 'git commit -m "Update CHANGELOG"'
|
40
|
-
system 'git push origin HEAD'
|
41
40
|
|
42
41
|
system "git tag -a v#{Workarea::SearchAutocomplete::VERSION} -m 'Tagging #{Workarea::SearchAutocomplete::VERSION}'"
|
43
|
-
system 'git push --tags'
|
42
|
+
system 'git push origin HEAD --follow-tags'
|
44
43
|
|
45
44
|
system "gem build workarea-search_autocomplete.gemspec"
|
46
45
|
system "gem push workarea-search_autocomplete-#{Workarea::SearchAutocomplete::VERSION}.gem"
|
data/app/assets/javascripts/workarea/storefront/search_autocomplete/modules/search_autocomplete.js
CHANGED
@@ -15,11 +15,15 @@ WORKAREA.registerModule('searchAutocomplete', (function () {
|
|
15
15
|
},
|
16
16
|
|
17
17
|
render = function (response) {
|
18
|
+
var $response = $(response);
|
19
|
+
|
20
|
+
WORKAREA.initModules($response);
|
21
|
+
|
18
22
|
$('#search_autocomplete')
|
19
23
|
.removeClass('visually-hidden')
|
20
24
|
.addClass('search-autocomplete--visible')
|
21
25
|
.empty()
|
22
|
-
.append(response)
|
26
|
+
.append($response)
|
23
27
|
.closest('.page-header__search-value')
|
24
28
|
.addClass('page-header__search-value--autocomplete');
|
25
29
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-search_autocomplete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.1.2
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Adds search autocomplete to storefront
|