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 +4 -4
- data/.github/workflows/ruby.yml +8 -1
- data/README.md +1 -10
- data/app/javascript/openseadragon-rails/dom.js +2 -0
- data/lib/generators/openseadragon/install_generator.rb +1 -1
- data/lib/openseadragon/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5092c65426471e68652b1c005db3be6c2856ecb93195483ed5008e05123a6fd2
|
4
|
+
data.tar.gz: ae4097204f69913d5ee12e30b56b7c51a2bccd03e4ffdb00be10792b1f661d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457e530771e3f4a71376805c6b41660ee5c7c316fbbc5ae1a4bc6c42cab482536940f03b04d6cd6b63117cd339f4db986ec7b5a05d522ca54cab7f70267e1ae3
|
7
|
+
data.tar.gz: ed2b6da12caa7a7819e4612dedb3dcdeded628e3bee9813614ab8fa89597a69c3470d088de2552fd490b44aa224e51a4fbc41a602e509fc062bf399f8d0505ae
|
data/.github/workflows/ruby.yml
CHANGED
@@ -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
|
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 `
|
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
|
|
@@ -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
|
data/package.json
CHANGED
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.
|
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:
|
13
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|