geoblacklight 4.4.3 → 4.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52b5acf220b42925f6e5f561184695d15258224f89e289a9c136b578b43db42c
4
- data.tar.gz: e67f2ad90acf15e3d1557ca3ae1962a491088f7d9d0ff7a0fcaf4f7e641f2b85
3
+ metadata.gz: bce174ac6134dedcbce46d7f91cb9b1cbcafce1f0eb74df43cdbbbc92b02506c
4
+ data.tar.gz: bfd8b45faefa2c480a519c171255baa4e8d0a578dae1f47992451d02c4b3c5cf
5
5
  SHA512:
6
- metadata.gz: 007346f8ec5c7e3b81c33f4b7835a10a3eb07c5a3885f9ba965d7af18263572d21f06d03267598a54e3ebb55207b888797c559f39fcb2df65d3d678d7d390c44
7
- data.tar.gz: f9bde64443e74953e95cd77a1324e9d3369944ae693efb518b0bfaca1f0990cdf35027094b185145b38bd341b96bf2427cd94b92f774d7c70f2f7979720c5a95
6
+ metadata.gz: 27342c0aee318bfb0a322d312ec908fe42f5da4811da89cd281ffd983e4fb42090c43ec595cbc92b0310bc08682addcd57af56eb57915181153e1b48cf8a9b96
7
+ data.tar.gz: 9802692c62ef7ded4908e7bab01e9e56d3ee7b7125036f724907d51b286284f6a9fe9baed539a433ff30ef52abda33ba535c92a76800d68b3e758e48db2b5988
@@ -37,8 +37,11 @@ jobs:
37
37
  runs-on: ubuntu-latest
38
38
  strategy:
39
39
  matrix:
40
- ruby_version: ['3.2', '3.3']
41
- rails_version: [7.1.3, 7.2.0]
40
+ ruby_version: ['3.2', '3.3', '3.4']
41
+ rails_version: ['7.1.5.1', '7.2.2.1', '8.0.2']
42
+ exclude:
43
+ - ruby_version: '3.2'
44
+ rails_version: '8.0.2'
42
45
 
43
46
  name: test ruby ${{ matrix.ruby_version }} / rails ${{ matrix.rails_version }}
44
47
  steps:
data/.solr_wrapper CHANGED
@@ -1,3 +1,4 @@
1
+ version: 8.11.4
1
2
  validate: false
2
3
  instance_dir: tmp/solr
3
4
  download_dir: tmp/solr
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! https://fontawesome.com/license (Commercial License) 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! https://fontawesome.com/license (Commercial License) 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M272 384c9.6-31.9 29.5-59.1 49.2-86.2l0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4l0 0c19.8 27.1 39.7 54.4 49.2 86.2H272zM192 512c44.2 0 80-35.8 80-80V416H112v16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! https://fontawesome.com/license (Commercial License) 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M272 384c9.6-31.9 29.5-59.1 49.2-86.2l0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4l0 0c19.8 27.1 39.7 54.4 49.2 86.2H272zM192 512c44.2 0 80-35.8 80-80V416H112v16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"/></svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" aria-label="Search" role="img">
2
+ <title>Search</title>
3
+ <path fill="none" d="M0 0h24v24H0V0z"></path>
4
+ <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
5
+ </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! https://fontawesome.com/license (Commercial License) 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc. --><path fill="#6c757d" d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ["lib"]
18
18
  spec.required_rubygems_version = ">= 2.5.2"
19
19
 
20
- spec.add_dependency "rails", ">= 7", "< 7.3"
21
- spec.add_dependency "blacklight", "~> 7.0"
20
+ spec.add_dependency "rails", ">= 7", "< 8.1"
21
+ spec.add_dependency "blacklight", ">= 7.41", "< 8.0"
22
22
  spec.add_dependency "config"
23
23
  spec.add_dependency "faraday", "~> 2.0"
24
24
  spec.add_dependency "coderay"
@@ -117,6 +117,20 @@ module Geoblacklight
117
117
  copy_file "base.html.erb", "app/views/layouts/blacklight/base.html.erb"
118
118
  end
119
119
 
120
+ # Ensure Sprockets is used instead of Propshaft
121
+ def ensure_sprockets
122
+ gemfile = File.read("Gemfile")
123
+ propshaft_present = gemfile.match?(/^\s*gem\s+["']propshaft["'].*$/)
124
+ if propshaft_present
125
+ gsub_file "Gemfile", /^(\s*gem\s+["']propshaft["'].*)$/, '# \1'
126
+ end
127
+ unless gemfile.match?(/gem ['\"]sprockets-rails['\"]/)
128
+ append_to_file "Gemfile" do
129
+ "\ngem 'sprockets-rails'\n"
130
+ end
131
+ end
132
+ end
133
+
120
134
  def copy_package_json
121
135
  if options[:test]
122
136
  # If building engine cart test app, use specific package.json so the
@@ -1,10 +1,10 @@
1
1
  {
2
- "devDependencies": {
3
- "vite": "^5.1.5",
4
- "vite-plugin-ruby": "^5.0.0",
5
- "vite-plugin-rails": "^0.5.0"
2
+ "dependencies": {
3
+ "@geoblacklight/frontend": "^4.4.6"
6
4
  },
7
- "scripts": {
8
- "postinstall": "yarn link @geoblacklight/frontend"
5
+ "devDependencies": {
6
+ "vite": "^5.0.0",
7
+ "vite-plugin-rails": "^0.5.0",
8
+ "vite-plugin-ruby": "^5.1.0"
9
9
  }
10
10
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Geoblacklight
4
- VERSION = "4.4.3"
4
+ VERSION = "4.5.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoblacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.3
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Graves
@@ -10,7 +10,7 @@ authors:
10
10
  - Jack Reed
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-05-23 00:00:00.000000000 Z
13
+ date: 2025-07-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '7'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '7.3'
24
+ version: '8.1'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,21 +31,27 @@ dependencies:
31
31
  version: '7'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '7.3'
34
+ version: '8.1'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: blacklight
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '7.41'
42
+ - - "<"
40
43
  - !ruby/object:Gem::Version
41
- version: '7.0'
44
+ version: '8.0'
42
45
  type: :runtime
43
46
  prerelease: false
44
47
  version_requirements: !ruby/object:Gem::Requirement
45
48
  requirements:
46
- - - "~>"
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '7.41'
52
+ - - "<"
47
53
  - !ruby/object:Gem::Version
48
- version: '7.0'
54
+ version: '8.0'
49
55
  - !ruby/object:Gem::Dependency
50
56
  name: config
51
57
  requirement: !ruby/object:Gem::Requirement
@@ -451,6 +457,7 @@ files:
451
457
  - app/assets/images/blacklight/raster.svg
452
458
  - app/assets/images/blacklight/restricted.svg
453
459
  - app/assets/images/blacklight/rutgers.svg
460
+ - app/assets/images/blacklight/search.svg
454
461
  - app/assets/images/blacklight/sms.svg
455
462
  - app/assets/images/blacklight/stanford.svg
456
463
  - app/assets/images/blacklight/table.svg