openseadragon 1.0.16 → 1.0.17

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: ecac1d153b7c74a7151471aa8f469028a861302cf8506bc79d5a7a4872e675e4
4
- data.tar.gz: ff5730c2c34c764f75f4c254f3a2f6cd2f0ccafeffce9cebc3c03d5ff7215bf8
3
+ metadata.gz: cce16176773e625a79a3994025e926638562accbad54fbe542a9ccb4d606d15d
4
+ data.tar.gz: cb111bf89121495c24fe796470bd28f7eea64afdb70c14f181afb0ef447f4579
5
5
  SHA512:
6
- metadata.gz: 36e7d7e92f695a59ae3af455ea3bee39cc8446695c8170ad24841b5f8239876c94670645e87ad0e8d445125dec714553d101ed8c46eda49b552ede4bf1ca868d
7
- data.tar.gz: 68b69ddb11c2bd2a098ca18f632b34a07fbe80565a0e0c9a93eed6e197aeba6c7335309758451dc824dfa5d0a126afbefc615b60d60e81a276a97dce41949144
6
+ metadata.gz: 7ba14b5c3bde93579a6114f1766745ff7524dd211bfc864d13ef7c8442ca91c3c221e150c6a6f3bef9ce19c1d67da9fb379970ff75b99cd835df58fdba64419d
7
+ data.tar.gz: 9162a7c3c05652925d3251b824e1e3354ccafa5d4fa7b3534a115509d618d1c0da8a1fbc9fd79b3c3a6e1c88337a0542ed70f54d266e366541ece3f217302703
@@ -27,6 +27,15 @@ module Openseadragon
27
27
  end
28
28
  end
29
29
 
30
+ def add_default_style
31
+ copy_file 'openseadragon.css', 'app/assets/stylesheets/openseadragon.css'
32
+
33
+ if (scss_file = %w[app/assets/stylesheets/application.bootstrap.scss
34
+ app/assets/stylesheets/application.scss].find { |f| File.exist?(f) })
35
+ append_to_file scss_file, "\n@import 'openseadragon';\n"
36
+ end
37
+ end
38
+
30
39
  def inject_helper
31
40
  inject_into_class 'app/controllers/application_controller.rb', ApplicationController do
32
41
  " helper Openseadragon::OpenseadragonHelper\n"
@@ -1,3 +1,3 @@
1
- /*
2
- *= require openseadragon/openseadragon
3
- */
1
+ .openseadragon-viewer {
2
+ min-height: 500px;
3
+ }
@@ -1,3 +1,3 @@
1
1
  module Openseadragon
2
- VERSION = '1.0.16'
2
+ VERSION = '1.0.17'
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openseadragon-rails",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
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.16
4
+ version: 1.0.17
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: 2025-01-15 00:00:00.000000000 Z
13
+ date: 2025-01-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.5.23
177
+ rubygems_version: 3.5.11
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: OpenSeadragon assets and helpers for Rails. http://openseadragon.github.io/