bridgetown-quick-search 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -3
- data/CHANGELOG.md +4 -0
- data/bridgetown-quick-search.gemspec +3 -3
- data/components/bridgetown_quick_search/search.liquid +2 -3
- data/lib/bridgetown-quick-search/version.rb +1 -1
- data/lib/bridgetown-quick-search.rb +7 -5
- data/package.json +1 -1
- data/yarn.lock +6 -6
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edcd790fbcac2d5d75f5f175df2ce441842690553e4bc5af167948e5aaedc68f
|
|
4
|
+
data.tar.gz: b31f224d49d765c284cdd0c69d86261696edadfe5ead4eee0b929776df3a5621
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2080d0597d679be8792a25b92145bf0f6c081717f1ec8870f56a75d399994d6fe119176e8fde45a23321359b2758274fe5cec54307902f857203bc61df07eaf
|
|
7
|
+
data.tar.gz: be7099b617e6e8620db736ef2e2d18df2beace96c697f83bfb10d22ace83d3447a6d759132859237f0ca7182231d0032e23a8a1843e95b3cbbdbf1c65f9fa6ea
|
data/.rubocop.yml
CHANGED
|
@@ -4,19 +4,20 @@ inherit_gem:
|
|
|
4
4
|
rubocop-bridgetown: .rubocop.yml
|
|
5
5
|
|
|
6
6
|
AllCops:
|
|
7
|
-
TargetRubyVersion: 2.
|
|
8
|
-
Include:
|
|
9
|
-
- lib/**/*.rb
|
|
7
|
+
TargetRubyVersion: 2.7
|
|
10
8
|
|
|
11
9
|
Exclude:
|
|
10
|
+
- Rakefile
|
|
12
11
|
- .gitignore
|
|
13
12
|
- .rspec
|
|
14
13
|
- .rubocop.yml
|
|
15
14
|
|
|
16
15
|
- Gemfile.lock
|
|
16
|
+
- "*.gemspec"
|
|
17
17
|
- CHANGELOG.md
|
|
18
18
|
- LICENSE.txt
|
|
19
19
|
- README.md
|
|
20
20
|
|
|
21
21
|
- script/**/*
|
|
22
22
|
- vendor/**/*
|
|
23
|
+
- spec/**/*
|
data/CHANGELOG.md
CHANGED
|
@@ -16,13 +16,13 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
spec.require_paths = ["lib"]
|
|
17
17
|
spec.metadata = { "yarn-add" => "bridgetown-quick-search@#{Bridgetown::QuickSearch::VERSION}" }
|
|
18
18
|
|
|
19
|
-
spec.required_ruby_version = ">= 2.
|
|
19
|
+
spec.required_ruby_version = ">= 2.7.0"
|
|
20
20
|
|
|
21
|
-
spec.add_dependency "bridgetown", ">=
|
|
21
|
+
spec.add_dependency "bridgetown", ">= 1.2.0.beta2", "< 2.0"
|
|
22
22
|
|
|
23
23
|
spec.add_development_dependency "bundler"
|
|
24
24
|
spec.add_development_dependency "nokogiri", "~> 1.6"
|
|
25
|
-
spec.add_development_dependency "rake", "~>
|
|
25
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
26
26
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
27
27
|
spec.add_development_dependency "rubocop-bridgetown", "~> 0.2"
|
|
28
28
|
end
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
name: Bridgetown Quick Search
|
|
1
|
+
{% comment %}
|
|
3
2
|
variables:
|
|
4
3
|
input_class?: [string, Custom class(es) to apply to the search input control.]
|
|
5
4
|
placeholder?: [string, Placeholder text for the search input control.]
|
|
6
5
|
theme: [string, Dark or Light theme ("dark" or "light"). Defaults to light.]
|
|
7
6
|
snippet_length?: [integer, Length of the result text snippet. Defaults to 142.]
|
|
8
|
-
|
|
7
|
+
{% endcomment %}
|
|
9
8
|
<bridgetown-search-form>
|
|
10
9
|
<input slot="input" type="search" class="{{ input_class }}" placeholder="{{ placeholder }}" />
|
|
11
10
|
<bridgetown-search-results {% if snippet_length %}snippetlength="{{ snippet_length }}" {% endif %}theme="{% if theme %}{{ theme }}{% endif %}"></bridgetown-search-results>
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
require "bridgetown"
|
|
4
4
|
require "bridgetown-quick-search/version"
|
|
5
5
|
|
|
6
|
-
Bridgetown
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
)
|
|
6
|
+
Bridgetown.initializer :"bridgetown-quick-search" do |config|
|
|
7
|
+
config.source_manifest(
|
|
8
|
+
origin: Bridgetown::QuickSearch,
|
|
9
|
+
components: File.expand_path("../components", __dir__),
|
|
10
|
+
content: File.expand_path("../content", __dir__)
|
|
11
|
+
)
|
|
12
|
+
end
|
data/package.json
CHANGED
data/yarn.lock
CHANGED
|
@@ -1021,9 +1021,9 @@ minimatch@^3.0.4:
|
|
|
1021
1021
|
brace-expansion "^1.1.7"
|
|
1022
1022
|
|
|
1023
1023
|
minimist@^1.2.5:
|
|
1024
|
-
version "1.2.
|
|
1025
|
-
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.
|
|
1026
|
-
integrity sha512-
|
|
1024
|
+
version "1.2.6"
|
|
1025
|
+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
|
|
1026
|
+
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==
|
|
1027
1027
|
|
|
1028
1028
|
mixin-deep@^1.2.0:
|
|
1029
1029
|
version "1.3.2"
|
|
@@ -1123,9 +1123,9 @@ path-is-absolute@^1.0.0:
|
|
|
1123
1123
|
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
|
|
1124
1124
|
|
|
1125
1125
|
path-parse@^1.0.6:
|
|
1126
|
-
version "1.0.
|
|
1127
|
-
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.
|
|
1128
|
-
integrity sha512-
|
|
1126
|
+
version "1.0.7"
|
|
1127
|
+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
|
1128
|
+
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
|
1129
1129
|
|
|
1130
1130
|
picomatch@^2.0.4, picomatch@^2.2.1:
|
|
1131
1131
|
version "2.2.2"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bridgetown-quick-search
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bridgetown Team
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bridgetown
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 1.2.0.beta2
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '2.0'
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
29
|
+
version: 1.2.0.beta2
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '2.0'
|
|
@@ -64,14 +64,14 @@ dependencies:
|
|
|
64
64
|
requirements:
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '
|
|
67
|
+
version: '13.0'
|
|
68
68
|
type: :development
|
|
69
69
|
prerelease: false
|
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
74
|
+
version: '13.0'
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: rspec
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,7 +100,7 @@ dependencies:
|
|
|
100
100
|
- - "~>"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0.2'
|
|
103
|
-
description:
|
|
103
|
+
description:
|
|
104
104
|
email: maintainers@bridgetownrb.com
|
|
105
105
|
executables: []
|
|
106
106
|
extensions: []
|
|
@@ -127,8 +127,8 @@ homepage: https://github.com/bridgetownrb/bridgetown-quick-search
|
|
|
127
127
|
licenses:
|
|
128
128
|
- MIT
|
|
129
129
|
metadata:
|
|
130
|
-
yarn-add: bridgetown-quick-search@
|
|
131
|
-
post_install_message:
|
|
130
|
+
yarn-add: bridgetown-quick-search@2.0.0
|
|
131
|
+
post_install_message:
|
|
132
132
|
rdoc_options: []
|
|
133
133
|
require_paths:
|
|
134
134
|
- lib
|
|
@@ -136,15 +136,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
requirements:
|
|
137
137
|
- - ">="
|
|
138
138
|
- !ruby/object:Gem::Version
|
|
139
|
-
version: 2.
|
|
139
|
+
version: 2.7.0
|
|
140
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
requirements:
|
|
142
142
|
- - ">="
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
144
|
version: '0'
|
|
145
145
|
requirements: []
|
|
146
|
-
rubygems_version: 3.
|
|
147
|
-
signing_key:
|
|
146
|
+
rubygems_version: 3.3.3
|
|
147
|
+
signing_key:
|
|
148
148
|
specification_version: 4
|
|
149
149
|
summary: A Liquid + Web Component for Bridgetown sites which performs search queries
|
|
150
150
|
with Lunr.js.
|