middleman-search-gds 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: da8fdabed383e3f9b0113de262a53ec7c570e9852d7dd766d6f16ffca553974f
4
+ data.tar.gz: c3f9e64751b03205d21ed946c3df60203fb2a03f0f4ce895ea9b221932ff2161
5
+ SHA512:
6
+ metadata.gz: 93fbc2ae89a34470cfd9e29dca9d1279637b6a6b900642d8cf44c9b7e024df1bee4802b8307334340ce734eceb79882e0c32b27f8d7815c00122c8988a2d6209
7
+ data.tar.gz: d531d18d40a6b4d985fd4fe0aaf0135545c8476e72fdf1bb039a294cf3c69e920547a5f8a0398521d4a0840e3524683091421e2a4374332438213d6c0b205a87
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # 0.11.2
2
+
3
+ * No longer calls `File::exists?`, which was deleted from the standard library in [Ruby 3.2](https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/).
data/README.md CHANGED
@@ -16,6 +16,12 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install middleman-search
18
18
 
19
+ ## Deployment
20
+
21
+ New releases of this gem do not get deployed automatically.
22
+
23
+ To release it you will need to follow the process to [publish to rubygems.org](https://guides.rubygems.org/publishing/#publishing-to-rubygemsorg), using the alphagov credentials - contact someone in GOV.UK senior tech for access.
24
+
19
25
  ## Usage
20
26
 
21
27
  You need to activate the module in your `config.rb`, telling the extension how to index your resources:
@@ -156,7 +156,7 @@ module Middleman
156
156
  def lunr_resource(resource_name)
157
157
  @lunr_dirs.flat_map do |dir|
158
158
  [File.join(dir, minified_path(resource_name)), File.join(dir, resource_name)]
159
- end.detect { |file| File.exists? file } or raise "Couldn't find #{resource_name} nor #{minified_path(resource_name)} in #{@lunr_dirs.map {|dir| File.absolute_path dir }.join File::PATH_SEPARATOR}"
159
+ end.detect { |file| File.exist? file } or raise "Couldn't find #{resource_name} nor #{minified_path(resource_name)} in #{@lunr_dirs.map {|dir| File.absolute_path dir }.join File::PATH_SEPARATOR}"
160
160
  end
161
161
  end
162
162
  end
@@ -1,3 +1,3 @@
1
1
  module MiddlemanSearch
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
metadata CHANGED
@@ -1,96 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-search-gds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
5
- prerelease:
4
+ version: 0.11.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Government Digital Service
9
8
  - Matías García Isaía
10
9
  - Santiago Palladino
11
- autorequire:
10
+ autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2020-05-18 00:00:00.000000000 Z
13
+ date: 2023-03-08 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: middleman-core
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - ">="
22
20
  - !ruby/object:Gem::Version
23
21
  version: '3.2'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - ">="
30
27
  - !ruby/object:Gem::Version
31
28
  version: '3.2'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: execjs
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ~>
33
+ - - "~>"
38
34
  - !ruby/object:Gem::Version
39
35
  version: '2.6'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ~>
40
+ - - "~>"
46
41
  - !ruby/object:Gem::Version
47
42
  version: '2.6'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: nokogiri
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ~>
47
+ - - "~>"
54
48
  - !ruby/object:Gem::Version
55
49
  version: '1.6'
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ~>
54
+ - - "~>"
62
55
  - !ruby/object:Gem::Version
63
56
  version: '1.6'
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: bundler
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
- - - ~>
61
+ - - "~>"
70
62
  - !ruby/object:Gem::Version
71
63
  version: '1.5'
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
- - - ~>
68
+ - - "~>"
78
69
  - !ruby/object:Gem::Version
79
70
  version: '1.5'
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: rake
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
- - - ! '>='
75
+ - - ">="
86
76
  - !ruby/object:Gem::Version
87
77
  version: '0'
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
- - - ! '>='
82
+ - - ">="
94
83
  - !ruby/object:Gem::Version
95
84
  version: '0'
96
85
  description: LunrJS-based search for Middleman. This is an unofficial fork of the
@@ -103,10 +92,10 @@ executables: []
103
92
  extensions: []
104
93
  extra_rdoc_files: []
105
94
  files:
106
- - .gitignore
107
- - .travis.yml
95
+ - ".gitignore"
96
+ - ".travis.yml"
97
+ - CHANGELOG.md
108
98
  - Gemfile
109
- - Jenkinsfile
110
99
  - LICENSE.txt
111
100
  - README.md
112
101
  - lib/middleman-search.rb
@@ -135,26 +124,24 @@ files:
135
124
  homepage: http://github.com/alphagov/middleman-search
136
125
  licenses:
137
126
  - MIT
138
- post_install_message:
127
+ metadata: {}
128
+ post_install_message:
139
129
  rdoc_options: []
140
130
  require_paths:
141
131
  - lib
142
132
  required_ruby_version: !ruby/object:Gem::Requirement
143
- none: false
144
133
  requirements:
145
- - - ! '>='
134
+ - - ">="
146
135
  - !ruby/object:Gem::Version
147
136
  version: '0'
148
137
  required_rubygems_version: !ruby/object:Gem::Requirement
149
- none: false
150
138
  requirements:
151
- - - ! '>='
139
+ - - ">="
152
140
  - !ruby/object:Gem::Version
153
141
  version: '0'
154
142
  requirements: []
155
- rubyforge_project:
156
- rubygems_version: 1.8.23
157
- signing_key:
158
- specification_version: 3
143
+ rubygems_version: 3.4.7
144
+ signing_key:
145
+ specification_version: 4
159
146
  summary: LunrJS-based search for Middleman
160
147
  test_files: []
data/Jenkinsfile DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env groovy
2
-
3
- library("govuk")
4
-
5
- node {
6
- govuk.buildProject(
7
- gemName: "middleman-search-gds",
8
- overrideTestTask: {
9
- // there are no tests in this repo, so the default `bundle exec rake` would fail
10
- },
11
- )
12
- }