openseadragon 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +1 -1
- data/lib/openseadragon/engine.rb +3 -3
- data/lib/openseadragon/version.rb +1 -1
- data/spec/helpers/openseadragon_helper_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d66f78f52a81526049f7be9b14ddc64669a5977
|
4
|
+
data.tar.gz: 248b34157489eb40c6cdfbf9e2dac3b2fd1aca87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aa9e60434688b0484bafd24a0a78c24a83331c85875f2e020ac5b0705de6419b7eab9a70d76479485f0ea8e0bc5ca46d9bb0b164a7ce0ce41b1a5696fbbc9a1
|
7
|
+
data.tar.gz: fd097f52ff4581b8da589e06ddd02e009539da2f632e545b6e97f211a51c71b46fb5f4f3caf50ac305842d46716f71af08d4238eccf18c6eac522f9f92f2614d
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/lib/openseadragon/engine.rb
CHANGED
@@ -2,8 +2,8 @@ module Openseadragon
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace Openseadragon
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
initializer 'openseadragon.assets.precompile' do |app|
|
6
|
+
app.config.assets.precompile += %w[openseadragon/*.png]
|
7
|
+
end
|
7
8
|
end
|
8
9
|
end
|
9
|
-
|
@@ -94,7 +94,7 @@ describe Openseadragon::OpenseadragonHelper do
|
|
94
94
|
it "should merge a tilesource key with the options provided" do
|
95
95
|
expect(subject).to have_selector 'picture source[src="openseadragon-tilesource"]'
|
96
96
|
expect(subject).to have_selector 'picture source[src="openseadragon-tilesource"][id="xyz"]'
|
97
|
-
expect(subject).to match /data-openseadragon="#{helper.escape_once({b: 2, c: 3
|
97
|
+
expect(subject).to match /data-openseadragon="#{helper.escape_once({a: 1, b: 2, c: 3}.to_json)}"/
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
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: 0.
|
4
|
+
version: 0.5.0
|
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: 2018-06-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|