geoblacklight 4.4.2 → 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 +4 -4
- data/.github/workflows/ruby.yml +10 -7
- data/.solr_wrapper +1 -0
- data/app/assets/images/blacklight/circle-info-solid.svg +1 -1
- data/app/assets/images/blacklight/fire-solid.svg +1 -1
- data/app/assets/images/blacklight/lightbulb-solid.svg +1 -1
- data/app/assets/images/blacklight/search.svg +5 -0
- data/app/assets/images/blacklight/triangle-exclamation-solid.svg +1 -1
- data/geoblacklight.gemspec +2 -2
- data/lib/generators/geoblacklight/install_generator.rb +14 -0
- data/lib/generators/geoblacklight/templates/package-test.json +6 -6
- data/lib/geoblacklight/version.rb +1 -1
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -8
- metadata +19 -15
- /data/app/assets/images/blacklight/{arizona.svg → university-of-arizona.svg} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bce174ac6134dedcbce46d7f91cb9b1cbcafce1f0eb74df43cdbbbc92b02506c
|
4
|
+
data.tar.gz: bfd8b45faefa2c480a519c171255baa4e8d0a578dae1f47992451d02c4b3c5cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27342c0aee318bfb0a322d312ec908fe42f5da4811da89cd281ffd983e4fb42090c43ec595cbc92b0310bc08682addcd57af56eb57915181153e1b48cf8a9b96
|
7
|
+
data.tar.gz: 9802692c62ef7ded4908e7bab01e9e56d3ee7b7125036f724907d51b286284f6a9fe9baed539a433ff30ef52abda33ba535c92a76800d68b3e758e48db2b5988
|
data/.github/workflows/ruby.yml
CHANGED
@@ -10,7 +10,7 @@ jobs:
|
|
10
10
|
linter:
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
13
|
+
- uses: actions/checkout@v4
|
14
14
|
- name: Set up Ruby
|
15
15
|
uses: ruby/setup-ruby@v1
|
16
16
|
with:
|
@@ -23,7 +23,7 @@ jobs:
|
|
23
23
|
aardvark-fixture-linter:
|
24
24
|
runs-on: ubuntu-latest
|
25
25
|
steps:
|
26
|
-
- uses: actions/checkout@
|
26
|
+
- uses: actions/checkout@v4
|
27
27
|
- name: Set up Ruby
|
28
28
|
uses: ruby/setup-ruby@v1
|
29
29
|
with:
|
@@ -37,12 +37,15 @@ jobs:
|
|
37
37
|
runs-on: ubuntu-latest
|
38
38
|
strategy:
|
39
39
|
matrix:
|
40
|
-
ruby_version: ['3.2', '3.3']
|
41
|
-
rails_version: [
|
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:
|
45
|
-
- uses: actions/checkout@
|
48
|
+
- uses: actions/checkout@v4
|
46
49
|
- name: Set up Ruby
|
47
50
|
uses: ruby/setup-ruby@v1
|
48
51
|
with:
|
@@ -68,8 +71,8 @@ jobs:
|
|
68
71
|
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test --skip-webpack-install --skip-javascript'
|
69
72
|
SOLR_URL: http://solr:SolrRocks@localhost:8983/solr/blacklight-core
|
70
73
|
- name: Upload coverage artifacts
|
71
|
-
uses: actions/upload-artifact@
|
74
|
+
uses: actions/upload-artifact@v4
|
72
75
|
if: always()
|
73
76
|
with:
|
74
|
-
name: coverage
|
77
|
+
name: "coverage-${{ matrix.ruby_version }}-${{ matrix.rails_version }}"
|
75
78
|
path: coverage/
|
data/.solr_wrapper
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!
|
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"><!--!
|
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"><!--!
|
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"><!--!
|
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>
|
data/geoblacklight.gemspec
CHANGED
@@ -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", ">=
|
21
|
-
spec.add_dependency "blacklight", "
|
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
|
-
"
|
3
|
-
"
|
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
|
-
"
|
8
|
-
"
|
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
|
}
|
@@ -8,14 +8,6 @@ class TestAppGenerator < Rails::Generators::Base
|
|
8
8
|
def add_gems
|
9
9
|
gem "blacklight"
|
10
10
|
|
11
|
-
# In CI, Javascript and Webpacker are removed when generating Rails 6.x
|
12
|
-
# applications to enable Vite. Disabling javascript during test app
|
13
|
-
# generation removes Turbolinks. This gem is required and needs to be
|
14
|
-
# re-added.
|
15
|
-
if ENV["RAILS_VERSION"] && Gem::Version.new(ENV["RAILS_VERSION"]) < Gem::Version.new("7.0")
|
16
|
-
gem "turbolinks"
|
17
|
-
end
|
18
|
-
|
19
11
|
Bundler.with_clean_env do
|
20
12
|
run "bundle install"
|
21
13
|
end
|
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Graves
|
8
8
|
- Darren Hardy
|
9
9
|
- Eliot Jordan
|
10
10
|
- Jack Reed
|
11
|
-
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2025-07-25 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rails
|
@@ -19,34 +18,40 @@ dependencies:
|
|
19
18
|
requirements:
|
20
19
|
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
21
|
+
version: '7'
|
23
22
|
- - "<"
|
24
23
|
- !ruby/object:Gem::Version
|
25
|
-
version: '
|
24
|
+
version: '8.1'
|
26
25
|
type: :runtime
|
27
26
|
prerelease: false
|
28
27
|
version_requirements: !ruby/object:Gem::Requirement
|
29
28
|
requirements:
|
30
29
|
- - ">="
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
31
|
+
version: '7'
|
33
32
|
- - "<"
|
34
33
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
34
|
+
version: '8.1'
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
36
|
name: blacklight
|
38
37
|
requirement: !ruby/object:Gem::Requirement
|
39
38
|
requirements:
|
40
|
-
- - "
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '7.41'
|
42
|
+
- - "<"
|
41
43
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
44
|
+
version: '8.0'
|
43
45
|
type: :runtime
|
44
46
|
prerelease: false
|
45
47
|
version_requirements: !ruby/object:Gem::Requirement
|
46
48
|
requirements:
|
47
|
-
- - "
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '7.41'
|
52
|
+
- - "<"
|
48
53
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
54
|
+
version: '8.0'
|
50
55
|
- !ruby/object:Gem::Dependency
|
51
56
|
name: config
|
52
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -385,7 +390,6 @@ files:
|
|
385
390
|
- README.md
|
386
391
|
- Rakefile
|
387
392
|
- app/assets/images/blacklight/american-geographical-society-library-uwm-libraries.svg
|
388
|
-
- app/assets/images/blacklight/arizona.svg
|
389
393
|
- app/assets/images/blacklight/arrow-circle-down.svg
|
390
394
|
- app/assets/images/blacklight/baruch-cuny.svg
|
391
395
|
- app/assets/images/blacklight/book.svg
|
@@ -453,6 +457,7 @@ files:
|
|
453
457
|
- app/assets/images/blacklight/raster.svg
|
454
458
|
- app/assets/images/blacklight/restricted.svg
|
455
459
|
- app/assets/images/blacklight/rutgers.svg
|
460
|
+
- app/assets/images/blacklight/search.svg
|
456
461
|
- app/assets/images/blacklight/sms.svg
|
457
462
|
- app/assets/images/blacklight/stanford.svg
|
458
463
|
- app/assets/images/blacklight/table.svg
|
@@ -462,6 +467,7 @@ files:
|
|
462
467
|
- app/assets/images/blacklight/triangle-exclamation-solid.svg
|
463
468
|
- app/assets/images/blacklight/tufts.svg
|
464
469
|
- app/assets/images/blacklight/ucla.svg
|
470
|
+
- app/assets/images/blacklight/university-of-arizona.svg
|
465
471
|
- app/assets/images/blacklight/university-of-california-berkeley.svg
|
466
472
|
- app/assets/images/blacklight/university-of-chicago.svg
|
467
473
|
- app/assets/images/blacklight/university-of-colorado-boulder.svg
|
@@ -892,7 +898,6 @@ homepage: http://github.com/geoblacklight/geoblacklight
|
|
892
898
|
licenses:
|
893
899
|
- Apache 2.0
|
894
900
|
metadata: {}
|
895
|
-
post_install_message:
|
896
901
|
rdoc_options: []
|
897
902
|
require_paths:
|
898
903
|
- lib
|
@@ -907,8 +912,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
907
912
|
- !ruby/object:Gem::Version
|
908
913
|
version: 2.5.2
|
909
914
|
requirements: []
|
910
|
-
rubygems_version: 3.
|
911
|
-
signing_key:
|
915
|
+
rubygems_version: 3.6.2
|
912
916
|
specification_version: 4
|
913
917
|
summary: A discovery platform for geospatial holdings
|
914
918
|
test_files: []
|
File without changes
|