openseadragon 1.0.10 → 1.0.12

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: 1a1f161e9a5df7ff6959bed0587ffe9b78e75d98f0daf6d9c6bdeb53a195cac9
4
- data.tar.gz: 0cc531c2a210a7a6746305c6b659435e4f1f581efeb9905d209451a8950c554b
3
+ metadata.gz: 5092c65426471e68652b1c005db3be6c2856ecb93195483ed5008e05123a6fd2
4
+ data.tar.gz: ae4097204f69913d5ee12e30b56b7c51a2bccd03e4ffdb00be10792b1f661d48
5
5
  SHA512:
6
- metadata.gz: 70d6288505da4edfca1439d5f6d824c7ea45b82fa1932bd0fa53796b7c2b3bd6534b98aeafb86e1549366d3fda7c6a7a5510b63a2f4aba73710cfc4308f4ff0b
7
- data.tar.gz: b54668148d0d90cfd5c18114275bce8b3a0cf85a1335a83a3e6b557d89c9bb1380d12b7a3bb5e9360907964a9d32767c304c33bd859c78f36bf944d5639af342
6
+ metadata.gz: 457e530771e3f4a71376805c6b41660ee5c7c316fbbc5ae1a4bc6c42cab482536940f03b04d6cd6b63117cd339f4db986ec7b5a05d522ca54cab7f70267e1ae3
7
+ data.tar.gz: ed2b6da12caa7a7819e4612dedb3dcdeded628e3bee9813614ab8fa89597a69c3470d088de2552fd490b44aa224e51a4fbc41a602e509fc062bf399f8d0505ae
@@ -13,14 +13,21 @@ jobs:
13
13
  matrix:
14
14
  rails_version: [8.0.1]
15
15
  ruby: [3.2, 3.3]
16
+ additional_engine_cart_rails_options: [""]
16
17
  include:
18
+ - ruby: 3.3
19
+ rails_version: 8.0.1
20
+ additional_engine_cart_rails_options: --css=bootstrap --js=esbuild
17
21
  - ruby: 3.3
18
22
  rails_version: 7.2.2.1
23
+ additional_engine_cart_rails_options: -a propshaft
19
24
  - ruby: 3.2
20
25
  rails_version: 7.1.5.1
26
+ additional_engine_cart_rails_options: -a propshaft
27
+
21
28
  env:
22
29
  RAILS_VERSION: ${{ matrix.rails_version }}
23
- ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-kamal --skip-test -a propshaft"
30
+ ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-kamal --skip-test ${{ matrix.additional_engine_cart_rails_options }}"
24
31
  steps:
25
32
  - uses: actions/checkout@v2
26
33
  - name: Set up Ruby ${{ matrix.ruby }}
data/README.md CHANGED
@@ -28,16 +28,7 @@ The generator will install the Rails helpers and openseadragon assets.
28
28
 
29
29
  ## Usage
30
30
 
31
- You must provide the `OpenSeadragon` function as a global. You can do this via the NPM dependency:
32
- ```js
33
- import OpenSeadragon from 'openseadragon'
34
- window.OpenSeadragon = OpenSeadragon
35
- ```
36
-
37
- or via the CDN:
38
- ```html
39
- <script src="https://cdn.jsdelivr.net/npm/openseadragon@5.0/build/openseadragon/openseadragon.min.js"></script>
40
- ```
31
+ You must provide the `openseadragon` npm package as an external dependency.
41
32
 
42
33
  See [https://openseadragon.github.io](https://openseadragon.github.io) for further details
43
34
 
@@ -1,3 +1,5 @@
1
+ import OpenSeadragon from 'openseadragon'
2
+
1
3
  (function() {
2
4
  let __osd_counter = 0;
3
5
 
@@ -7,7 +7,7 @@ module Openseadragon
7
7
  def append_javascript
8
8
  run "yarn init -y"
9
9
  gsub_file "package.json", /\.internal_test_app/, "internal_test_app" # name beginning with a dot is illegal
10
- run "yarn add openseadragon"
10
+ run "yarn add openseadragon-rails"
11
11
 
12
12
  append_to_file 'app/javascript/application.js' do
13
13
  <<~CONTENT
@@ -1,3 +1,3 @@
1
1
  module Openseadragon
2
- VERSION = "1.0.10"
2
+ VERSION = '1.0.12'
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openseadragon-rails",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Openseadragon support for Rails apps",
5
5
  "exports": {
6
6
  ".": "./app/javascript/openseadragon-rails/index.js",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openseadragon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-12-20 00:00:00.000000000 Z
13
+ date: 2025-01-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler