bridgetown-quick-search 1.1.3 → 2.0.0

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: 25458440262a79aa91b1f6961ed7df41eef00a4350584a4e0441218715270610
4
- data.tar.gz: 030e1497c975cf0da2c72c20965ab21b53f13793cfa4eb163bc1c38ea9d9cc63
3
+ metadata.gz: edcd790fbcac2d5d75f5f175df2ce441842690553e4bc5af167948e5aaedc68f
4
+ data.tar.gz: b31f224d49d765c284cdd0c69d86261696edadfe5ead4eee0b929776df3a5621
5
5
  SHA512:
6
- metadata.gz: a6ae2ec88462c4309cbf0276a616f4df67625ed72196d2152f192dbe58c411cf6d358aeaea9c66ae65f5540a689cfbe230d53f7981fd93a11c025a532ae8ce47
7
- data.tar.gz: 7528416231c12f8efb183e1d26f182c4146f5a3363022f473c227d647fb20a7b5ce9f04ff94bfbebb24378cac46fc887d6c4201dad16fd356126de9fa6937122
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.5
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
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0 / 2022-10-08
4
+
5
+ * Upgrade to new initializer system for Bridgetown 1.2
6
+
3
7
  ## 1.1.2 / 2021-10-11
4
8
 
5
9
  * Upgrade to newer Lit
@@ -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.5.0"
19
+ spec.required_ruby_version = ">= 2.7.0"
20
20
 
21
- spec.add_dependency "bridgetown", ">= 0.15.0.beta1", "< 2.0"
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", "~> 12.0"
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bridgetown
4
4
  module QuickSearch
5
- VERSION = "1.1.3"
5
+ VERSION = "2.0.0"
6
6
  end
7
7
  end
@@ -3,8 +3,10 @@
3
3
  require "bridgetown"
4
4
  require "bridgetown-quick-search/version"
5
5
 
6
- Bridgetown::PluginManager.new_source_manifest(
7
- origin: Bridgetown::QuickSearch,
8
- components: File.expand_path("../components", __dir__),
9
- content: File.expand_path("../content", __dir__)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bridgetown-quick-search",
3
- "version": "1.1.3",
3
+ "version": "2.0.0",
4
4
  "main": "frontend/javascript/index.js",
5
5
  "module": "frontend/javascript/index.js",
6
6
  "exports": {
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.5"
1025
- resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
1026
- integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
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.6"
1127
- resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
1128
- integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
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: 1.1.3
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: 2021-11-12 00:00:00.000000000 Z
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: 0.15.0.beta1
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: 0.15.0.beta1
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: '12.0'
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: '12.0'
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@1.1.3
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.5.0
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.1.4
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.