iiif-image-api 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iiif/image/services/option_decoder.rb +1 -1
- data/lib/iiif/image/version.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: 5c8f029c01847ecbf72fc2e65c4d6b0de29f3e67
|
4
|
+
data.tar.gz: 04e19f19e9252cd3c71eff33c0b5626755bded43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff387d913f52efbf71df10da96df64fe2432ccee9e75ebadce5fba7f0d934e358e446591792fc95128ee05844d919d0c65ecd5a5df6c08d8c1924a47afdbea7
|
7
|
+
data.tar.gz: afcbc9ab302c93e722b41fd610dbef2972776181c40beeecd5f7043dd6cd7e256e6fecace800ba5fd9757c636b5efae9e8fdece2055530e3991de65d5ca9f339
|
@@ -52,7 +52,7 @@ module IIIF::Image
|
|
52
52
|
if region.nil? || region == 'full'
|
53
53
|
Region::Full.new
|
54
54
|
elsif md = /^pct:(\d+(?:.\d+)?),(\d+(?:.\d+)?),(\d+(?:.\d+)?),(\d+(?:.\d+)?)$/.match(region)
|
55
|
-
Region::
|
55
|
+
Region::Percent
|
56
56
|
.new(md[1].to_f, md[2].to_f, md[3].to_f, md[4].to_f)
|
57
57
|
elsif md = /^(\d+),(\d+),(\d+),(\d+)$/.match(region)
|
58
58
|
Region::Absolute.new(md[1].to_i, md[2].to_i, md[3].to_i, md[4].to_i)
|
data/lib/iiif/image/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iiif-image-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|