iiif_manifest 1.1.0 → 1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebfc009f93b6b56223eefbe2387b77b481b0897e74ff06861dd9731f1cb11da4
|
4
|
+
data.tar.gz: 9db51ecae1599ccf29cfa94d32b73630cb8f29e77909556bf9621224d0d0c728
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40acf74c8a9fbab07080e074d24216d705af922ec44bb9c318cd4bf0c74acf1e00ac0a6de22dc737ed678dcbcc172229dc4c5d5dcf5195d94906bfd2fc558321
|
7
|
+
data.tar.gz: cf16d75f2eab225b03ca7935aa4bf6ec8d22c45f8173a9b9fe654f6db7aaacb97a807b8ec594d7422e29925c4aaeebf45ac81daf781b47a862aaf52b1530d509
|
data/.circleci/config.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
version: 2.1
|
3
3
|
orbs:
|
4
|
-
samvera: samvera/circleci-orb@0
|
4
|
+
samvera: samvera/circleci-orb@1.0
|
5
5
|
|
6
6
|
jobs:
|
7
7
|
test:
|
@@ -10,7 +10,7 @@ jobs:
|
|
10
10
|
type: string
|
11
11
|
bundler_version:
|
12
12
|
type: string
|
13
|
-
default: 2.
|
13
|
+
default: 2.3.10
|
14
14
|
|
15
15
|
executor:
|
16
16
|
name: 'samvera/ruby'
|
@@ -36,16 +36,35 @@ workflows:
|
|
36
36
|
jobs:
|
37
37
|
- test:
|
38
38
|
name: "ruby3-0"
|
39
|
-
ruby_version: "3.0.
|
39
|
+
ruby_version: "3.0.3"
|
40
40
|
- test:
|
41
41
|
name: "ruby2-7"
|
42
|
-
ruby_version: "2.7.
|
42
|
+
ruby_version: "2.7.5"
|
43
43
|
- test:
|
44
44
|
name: "ruby2-6"
|
45
|
-
ruby_version: "2.6.
|
45
|
+
ruby_version: "2.6.9"
|
46
46
|
- test:
|
47
47
|
name: "ruby2-5"
|
48
|
-
ruby_version: "2.5.
|
48
|
+
ruby_version: "2.5.9"
|
49
|
+
|
50
|
+
nightly:
|
51
|
+
triggers:
|
52
|
+
- schedule:
|
53
|
+
cron: "0 0 * * *"
|
54
|
+
filters:
|
55
|
+
branches:
|
56
|
+
only:
|
57
|
+
- main
|
58
|
+
jobs:
|
49
59
|
- test:
|
50
|
-
name: "
|
51
|
-
ruby_version: "
|
60
|
+
name: "ruby3-0"
|
61
|
+
ruby_version: "3.0.3"
|
62
|
+
- test:
|
63
|
+
name: "ruby2-7"
|
64
|
+
ruby_version: "2.7.5"
|
65
|
+
- test:
|
66
|
+
name: "ruby2-6"
|
67
|
+
ruby_version: "2.6.9"
|
68
|
+
- test:
|
69
|
+
name: "ruby2-5"
|
70
|
+
ruby_version: "2.5.9"
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Code: [![CircleCI](https://circleci.com/gh/samvera/iiif_manifest.svg?style=svg)]
|
|
4
4
|
|
5
5
|
Docs: [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md) [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
|
6
6
|
|
7
|
-
|
7
|
+
Join the conversation on slack: [![Slack Status](https://raw.githubusercontent.com/samvera/maintenance/main/assets/slack_icon.png)](http://slack.samvera.org/)
|
8
8
|
|
9
9
|
# What is IIIFManifest
|
10
10
|
|
@@ -171,21 +171,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
171
171
|
|
172
172
|
Bug reports and pull requests are welcome on GitHub at <https://github.com/samvera-labs/iiif_manifest>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
173
173
|
|
174
|
-
## Releasing
|
175
|
-
|
176
|
-
1. `bundle install`
|
177
|
-
2. Increase the version number in `lib/iiif_manifest/version.rb`
|
178
|
-
3. Increase the same version number in `.github_changelog_generator`
|
179
|
-
4. Update `CHANGELOG.md` by running this command:
|
180
|
-
|
181
|
-
```
|
182
|
-
github_changelog_generator --user samvera --project iiif_manifest --token YOUR_GITHUB_TOKEN_HERE
|
183
|
-
```
|
184
|
-
|
185
|
-
5. Commit these changes to the master branch
|
186
|
-
|
187
|
-
6. Run `rake release`
|
188
|
-
|
189
174
|
## Help
|
190
175
|
|
191
176
|
The Samvera community is here to help. Please see our [support guide](./SUPPORT.md).
|
@@ -194,4 +179,4 @@ The Samvera community is here to help. Please see our [support guide](./SUPPORT.
|
|
194
179
|
|
195
180
|
This software has been developed by and is brought to you by the Samvera community. Learn more at the [Samvera website](http://samvera.org/).
|
196
181
|
|
197
|
-
![Samvera Logo](https://
|
182
|
+
![Samvera Logo](https://raw.githubusercontent.com/samvera/maintenance/main/assets/samvera_tree.png)
|
@@ -12,9 +12,9 @@ module IIIFManifest
|
|
12
12
|
|
13
13
|
def apply(canvas)
|
14
14
|
annotation['target'] = canvas['id']
|
15
|
-
canvas['width'] = annotation.body['width']
|
16
|
-
canvas['height'] = annotation.body['height']
|
17
|
-
canvas['duration'] = annotation.body['duration']
|
15
|
+
canvas['width'] = annotation.body['width'] if annotation.body['width'].present?
|
16
|
+
canvas['height'] = annotation.body['height'] if annotation.body['height'].present?
|
17
|
+
canvas['duration'] = annotation.body['duration'] if annotation.body['duration'].present?
|
18
18
|
# Assume first item in canvas is an annotation page
|
19
19
|
canvas.items.first.items += [annotation]
|
20
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iiif_manifest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.1.6
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Generate IIIF presentation manifests for Hydra::Works
|