pugin 1.10.5 → 1.10.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/pugin/components/_global-search.haml +1 -1
- data/lib/pugin.rb +1 -1
- data/lib/pugin/version.rb +1 -1
- data/spec/fixtures/_header_with_search.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9dba3b405f8ae0cf19b46ab2ce6c982749b1037
|
4
|
+
data.tar.gz: 75fe1ec7cd474cb869aa4a785483c4068bd58d9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90d9fcc917cfc71b314336a96690c82861b3641e9e794fde551bb8aaca47520c258007eb9e62728ccd78f1d6c4099818985886c1447be04ba7d858d8738ab795
|
7
|
+
data.tar.gz: 4dfbe1c0c5c2e70c33da3d94b2402c8921343e343af4bbdd50a25b1513c800f58963bcc8ae72c5e610124c2bb41b68e5bec9c3e42f842c3ec49732f5909fbc28
|
@@ -4,6 +4,6 @@
|
|
4
4
|
%input{ type: 'search', name: 'q', value: @query_parameter, id: 'search_global', autocomplete: 'off', maxlength: '1000', pattern: '^(?!.*<script|<Script).*$', required: '' }
|
5
5
|
%button{ class: 'btn--white', tabindex: '-1', type: 'submit', aria: { label: 'submit search' } }
|
6
6
|
= render partial: 'pugin/icons/search'
|
7
|
-
%a{ href: '/search',
|
7
|
+
%a{ href: '/search', aria: { label: 'open search' } }
|
8
8
|
= render partial: 'pugin/icons/search'
|
9
9
|
= render partial: 'pugin/icons/close'
|
data/lib/pugin.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'pugin/version'
|
2
2
|
|
3
3
|
module Pugin
|
4
|
-
ASSET_VERSION = '1.
|
4
|
+
ASSET_VERSION = '1.12.0'.freeze
|
5
5
|
ASSET_LOCATION_URL = ENV.fetch('ASSET_LOCATION_URL', 'https://static.parliament.uk/pugin')
|
6
6
|
STATIC_ASSET_LOCATION_URL = ENV.fetch('STATIC_ASSET_LOCATION_URL', 'https://s3-eu-west-1.amazonaws.com/web1live.static-assets')
|
7
7
|
STATIC_ASSET_PUBLIC_LOCATION_URL = ENV.fetch('STATIC_ASSET_PUBLIC_LOCATION_URL', 'https://static.parliament.uk/assets-public')
|
data/lib/pugin/version.rb
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
</button>
|
41
41
|
</div>
|
42
42
|
</form>
|
43
|
-
<a aria-label='open search'
|
43
|
+
<a aria-label='open search' href='/search'>
|
44
44
|
<svg aria-hidden='true' data-icon='search' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
|
45
45
|
<title>Search icon</title>
|
46
46
|
<g fill='#fff'>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Rayner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|