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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60c9661fdb72c24f3f45ae97f935e786ecb9ba89
4
- data.tar.gz: 8719fd9af7bf7c2e09660adb246a178a01e9f252
3
+ metadata.gz: 5c8f029c01847ecbf72fc2e65c4d6b0de29f3e67
4
+ data.tar.gz: 04e19f19e9252cd3c71eff33c0b5626755bded43
5
5
  SHA512:
6
- metadata.gz: d9d389d0a53d35d1f627ff4452891f200ebfd2dd3a72c0b80a66e8a1bd57183f2c73cd2fefb0078a3be810dd3c13b03c06009be0cc21759db6ad97b32efd44d8
7
- data.tar.gz: 5ffc80970632201fd0ef03b66a640d712f0f98404187bcbd13ca1c104dc0ba73babc0d1353bfe40e6a924c2c6bcdc1b70e29031bca0e29f77856bd82e03416c1
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::Percentage
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)
@@ -1,5 +1,5 @@
1
1
  module IIIF
2
2
  module Image
3
- VERSION = '0.0.8'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
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.8
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-25 00:00:00.000000000 Z
11
+ date: 2017-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport