iiif_manifest 0.6.0 → 1.0.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
  SHA256:
3
- metadata.gz: cfc7099813836fb900812b98e9c32b2946479b399beb603689bde033fbaae84e
4
- data.tar.gz: bf71a041c8452f34c2c2e8acfbf6e88f74185574fde224134fa8c0e5f644b43c
3
+ metadata.gz: f3996d740fdf480fc1e4f99581ba405cc358b387b45089262425cd9d6387ab20
4
+ data.tar.gz: 9324fe734057d3280ee8643c9c9d3c9b1f4ccffac3388eb52a861ceafb4d95a7
5
5
  SHA512:
6
- metadata.gz: 474f3b2a9a348067e83c7e1b63096be5aaafdb3d8c99a9e4c1c8ac7d442a6b6f2a12407c9897390d8c99cb13ed05a4fd0001a448c5274b3f0cb2a59f5702b265
7
- data.tar.gz: 914f36916f395785a3f002a864aed38de35341684463b6a71154efc68bee1dcd0b9334cbe186f1756caa00ed3e8afcd01b45a823c7a17ec3f614932e5d905e21
6
+ metadata.gz: 5050db7eadaf7320bbee7a36d20681932b5e6b7b0eab77047e659e21b014345315a6c320dbbadf701be05502aec23f32258bed724bd165f9b68d6e9bbfd3afde
7
+ data.tar.gz: 61560974ee100eb2c66cffa373eebb5851ee154adc70eb11389a5f905a214a070e71de26c30a80bfd7664806dd20a1e695beb2af57ab74e8460b2d66e9c75859
@@ -0,0 +1,63 @@
1
+ ---
2
+ version: 2.1
3
+ orbs:
4
+ samvera: samvera/circleci-orb@0
5
+
6
+ jobs:
7
+ test:
8
+ parameters:
9
+ ruby_version:
10
+ type: string
11
+ rails_version:
12
+ type: string
13
+ bundler_version:
14
+ type: string
15
+ default: 1.17.2
16
+
17
+ executor:
18
+ name: 'samvera/ruby'
19
+ ruby_version: << parameters.ruby_version >>
20
+
21
+ environment:
22
+ COVERAGE: true
23
+ RAILS_VERSION: << parameters.rails_version >>
24
+
25
+ working_directory: ~/iiif_manifest
26
+
27
+ steps:
28
+ - samvera/cached_checkout
29
+ - samvera/bundle_for_gem:
30
+ ruby_version: << parameters.ruby_version >>
31
+ bundler_version: << parameters.bundler_version >>
32
+ project: iiif_manifest
33
+ - samvera/rubocop
34
+ - samvera/parallel_rspec
35
+
36
+ workflows:
37
+ version: 2
38
+ ci:
39
+ jobs:
40
+ - test:
41
+ name: "ruby2-6_rails5-2"
42
+ ruby_version: "2.6.3"
43
+ rails_version: "5.2.3"
44
+ - test:
45
+ name: "ruby2-5_rails5-2"
46
+ ruby_version: "2.5.5"
47
+ rails_version: "5.2.3"
48
+ - test:
49
+ name: "ruby2-4_rails5-2"
50
+ ruby_version: "2.4.6"
51
+ rails_version: "5.2.3"
52
+ - test:
53
+ name: "ruby2-6_rails5-1"
54
+ ruby_version: "2.6.3"
55
+ rails_version: "5.1.7"
56
+ - test:
57
+ name: "ruby2-5_rails5-1"
58
+ ruby_version: "2.5.5"
59
+ rails_version: "5.1.7"
60
+ - test:
61
+ name: "ruby2-4_rails5-1"
62
+ ruby_version: "2.4.6"
63
+ rails_version: "5.1.7"
@@ -22,6 +22,7 @@ Metrics/AbcSize:
22
22
  Metrics/LineLength:
23
23
  Exclude:
24
24
  - 'iiif_manifest.gemspec'
25
+ - 'lib/iiif_manifest/v3/manifest_builder/canvas_builder.rb'
25
26
 
26
27
  # Offense count: 1
27
28
  # Configuration parameters: AssignmentOnly.
@@ -52,6 +53,7 @@ RSpec/ExampleLength:
52
53
  - 'spec/lib/iiif_manifest/v3/manifest_factory_spec.rb'
53
54
  - 'spec/lib/iiif_manifest/v3/manifest_builder/body_builder_spec.rb'
54
55
  - 'spec/lib/iiif_manifest/v3/manifest_builder/structure_builder_spec.rb'
56
+ - 'spec/lib/iiif_manifest/v3/manifest_builder/canvas_builder_spec.rb'
55
57
 
56
58
  # Offense count: 20
57
59
  Style/Documentation:
@@ -20,10 +20,11 @@ Gem::Specification.new do |spec|
20
20
  spec.add_dependency 'activesupport', '>= 4'
21
21
 
22
22
  spec.add_development_dependency 'bixby', '~> 1.0'
23
- spec.add_development_dependency 'bundler', '~> 1.11'
23
+ spec.add_development_dependency 'bundler', '~> 2.0'
24
24
  spec.add_development_dependency 'pry-byebug'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
+ spec.add_development_dependency 'rspec_junit_formatter'
27
28
  spec.add_development_dependency 'rubocop'
28
29
  spec.add_development_dependency 'rubocop-rspec'
29
30
  end
@@ -46,7 +46,7 @@ module IIIFManifest
46
46
  end
47
47
 
48
48
  def display_content
49
- Array.wrap(record.display_content) if record.respond_to?(:display_content)
49
+ Array.wrap(record.display_content) if record.respond_to?(:display_content) && record.display_content.present?
50
50
  end
51
51
 
52
52
  def apply_record_properties
@@ -1,3 +1,3 @@
1
1
  module IIIFManifest
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '1.0.0'.freeze
3
3
  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: 0.6.0
4
+ version: 1.0.0
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: 2019-05-14 00:00:00.000000000 Z
12
+ date: 2019-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '1.11'
48
+ version: '2.0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.11'
55
+ version: '2.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: pry-byebug
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -95,6 +95,20 @@ dependencies:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '3.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: rspec_junit_formatter
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: rubocop
100
114
  requirement: !ruby/object:Gem::Requirement
@@ -132,6 +146,7 @@ executables: []
132
146
  extensions: []
133
147
  extra_rdoc_files: []
134
148
  files:
149
+ - ".circleci/config.yml"
135
150
  - ".gitignore"
136
151
  - ".rspec"
137
152
  - ".rubocop.yml"
@@ -197,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
212
  - !ruby/object:Gem::Version
198
213
  version: '0'
199
214
  requirements: []
200
- rubygems_version: 3.0.3
215
+ rubygems_version: 3.0.4
201
216
  signing_key:
202
217
  specification_version: 4
203
218
  summary: Generate IIIF presentation manifests for Hydra::Works