Skip to content

Commit

Permalink
Upgrade openseadragon
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Dec 19, 2024
1 parent 3bdfdab commit 9906e7a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ GEM
ed25519 (1.3.0)
edtf (3.2.0)
activesupport (>= 3.0, < 9.0)
erubi (1.13.0)
erubi (1.13.1)
execjs (2.10.0)
factory_bot (6.5.0)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -438,7 +438,7 @@ GEM
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
io-console (0.8.0)
irb (1.14.2)
irb (1.14.3)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
iso-639 (0.3.8)
Expand Down Expand Up @@ -483,7 +483,7 @@ GEM
llhttp-ffi (0.5.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
logger (1.6.3)
logger (1.6.4)
loofah (2.23.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand Down Expand Up @@ -570,7 +570,7 @@ GEM
version_gem (~> 1.1)
observer (0.1.2)
okcomputer (1.18.5)
openseadragon (0.9.0)
openseadragon (1.0.4)
rails (> 6.1.0)
orm_adapter (0.5.0)
os (1.1.4)
Expand All @@ -584,7 +584,7 @@ GEM
racc
parslet (2.0.0)
popper_js (2.11.8)
psych (5.2.1)
psych (5.2.2)
date
stringio
public_suffix (6.0.1)
Expand Down Expand Up @@ -651,7 +651,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.9.1)
rdoc (6.10.0)
psych (>= 4.0.0)
recaptcha (5.17.1)
redcarpet (3.6.0)
Expand Down
1 change: 0 additions & 1 deletion app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//= link_tree ../images
//= link application.js
//= link openseadragon-assets.js
//= link spotlight/manifest.js
//= link component_library_overrides.css
//= link_tree ../builds
4 changes: 2 additions & 2 deletions app/assets/javascripts/openseadragon.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//= require openseadragon/openseadragon
//= require openseadragon/rails
//= require openseadragon/dom
//= require openseadragon/rails
1 change: 1 addition & 0 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Rails.application.config.assets.paths << Rails.root.join('node_modules')
Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap-icons/font")

Rails.application.config.assets.paths << Rails.root.join('node_modules/openseadragon/build/openseadragon/images')
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"leaflet": "^1.9.4",
"leaflet-sidebar": "^0.2.4",
"nodemon": "^3.1.7",
"openseadragon-rails": "^1.0.4",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"sass": "^1.82.0",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,18 @@ normalize-range@^0.1.2:
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==

openseadragon-rails@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/openseadragon-rails/-/openseadragon-rails-1.0.4.tgz#47d41cb0e8f1c6012856eaa88c6a46d6ba8feb17"
integrity sha512-5ugV+QVRVMYGEk4YpNoP6OGSFiHHpqKs+RvvAhnIqwA6XbaIZKlwweeuYfnQCJeELtZAoY3yX3Cwpu7H/Y3BaQ==
dependencies:
openseadragon "^5.0.1"

openseadragon@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/openseadragon/-/openseadragon-5.0.1.tgz#ad3aaccc6c0f733c3153131e9af05bc2e17a1952"
integrity sha512-a/hjouW9i3UfWxRADVYN2MyRhXMGnE7x9VVL7/4jXCcDLFyO4UM5o4RStYtqa5BfaHw/wMNAaD2WbxQF8f1pJg==

path-type@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-5.0.0.tgz#14b01ed7aea7ddf9c7c3f46181d4d04f9c785bb8"
Expand Down

0 comments on commit 9906e7a

Please sign in to comment.