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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c1293c3a2424f19cf39c77892b3d3fad7447211
4
- data.tar.gz: c3a989f62d49e246f644700e022eed592f00da41
3
+ metadata.gz: 8d66f78f52a81526049f7be9b14ddc64669a5977
4
+ data.tar.gz: 248b34157489eb40c6cdfbf9e2dac3b2fd1aca87
5
5
  SHA512:
6
- metadata.gz: 27f131316b63cc5aeed1bd97fa24a7221303ba53ae77bcd45d408311d73448e22d267fd1f3b5575ea1c79b719478c28b8099d9220821ab9a13347f4c769e3208
7
- data.tar.gz: 0a6bf8f4ae55f16e4fca9dce29a25443b3c0dcfbacb3cdd442bada81990bf6a8792bd5f7e221ea0fdff2551d0bfc07a4f9cc9b1560d1778580322a12bc9e0492
6
+ metadata.gz: 3aa9e60434688b0484bafd24a0a78c24a83331c85875f2e020ac5b0705de6419b7eab9a70d76479485f0ea8e0bc5ca46d9bb0b164a7ce0ce41b1a5696fbbc9a1
7
+ data.tar.gz: fd097f52ff4581b8da589e06ddd02e009539da2f632e545b6e97f211a51c71b46fb5f4f3caf50ac305842d46716f71af08d4238eccf18c6eac522f9f92f2614d
data/.gitignore CHANGED
@@ -15,4 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
- spec/internal
18
+ .internal_test_app
@@ -1,5 +1,5 @@
1
1
  rvm:
2
- - 2.3.1
2
+ - 2.4
3
3
 
4
4
  env:
5
5
  global:
@@ -2,8 +2,8 @@ module Openseadragon
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Openseadragon
4
4
 
5
- config.assets.precompile += %w(openseadragon/*.png)
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
-
@@ -1,3 +1,3 @@
1
1
  module Openseadragon
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -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, a: 1}.to_json)}"/
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.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: 2017-08-11 00:00:00.000000000 Z
13
+ date: 2018-06-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler