pbcore 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +674 -0
- data/README.md +37 -0
- data/Rakefile +6 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/lib/pbcore.rb +28 -0
- data/lib/pbcore/annotation.rb +12 -0
- data/lib/pbcore/asset_date.rb +12 -0
- data/lib/pbcore/asset_type.rb +11 -0
- data/lib/pbcore/attributes.rb +6 -0
- data/lib/pbcore/attributes/common.rb +13 -0
- data/lib/pbcore/attributes/time_interval.rb +12 -0
- data/lib/pbcore/audience_level.rb +11 -0
- data/lib/pbcore/audience_rating.rb +11 -0
- data/lib/pbcore/contributor.rb +19 -0
- data/lib/pbcore/contributor/contributor.rb +12 -0
- data/lib/pbcore/contributor/role.rb +12 -0
- data/lib/pbcore/coverage.rb +20 -0
- data/lib/pbcore/coverage/coverage.rb +11 -0
- data/lib/pbcore/coverage/type.rb +11 -0
- data/lib/pbcore/creator.rb +19 -0
- data/lib/pbcore/creator/creator.rb +16 -0
- data/lib/pbcore/creator/role.rb +11 -0
- data/lib/pbcore/description.rb +13 -0
- data/lib/pbcore/description_document.rb +60 -0
- data/lib/pbcore/element.rb +199 -0
- data/lib/pbcore/errors.rb +55 -0
- data/lib/pbcore/extension.rb +19 -0
- data/lib/pbcore/extension/embedded.rb +15 -0
- data/lib/pbcore/extension/wrap.rb +26 -0
- data/lib/pbcore/extension/wrap/authority_used.rb +11 -0
- data/lib/pbcore/extension/wrap/element.rb +11 -0
- data/lib/pbcore/extension/wrap/value.rb +11 -0
- data/lib/pbcore/factories.rb +6 -0
- data/lib/pbcore/genre.rb +11 -0
- data/lib/pbcore/identifier.rb +11 -0
- data/lib/pbcore/instantiation.rb +87 -0
- data/lib/pbcore/instantiation/alternative_modes.rb +11 -0
- data/lib/pbcore/instantiation/annotation.rb +12 -0
- data/lib/pbcore/instantiation/channel_configuration.rb +11 -0
- data/lib/pbcore/instantiation/colors.rb +11 -0
- data/lib/pbcore/instantiation/data_rate.rb +13 -0
- data/lib/pbcore/instantiation/date.rb +13 -0
- data/lib/pbcore/instantiation/digital.rb +11 -0
- data/lib/pbcore/instantiation/dimensions.rb +13 -0
- data/lib/pbcore/instantiation/duration.rb +11 -0
- data/lib/pbcore/instantiation/essence_track.rb +59 -0
- data/lib/pbcore/instantiation/essence_track/annotation.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/aspect_ratio.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/bit_depth.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/data_rate.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/duration.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/encoding.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/frame_rate.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/frame_size.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/identifier.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/language.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/playback_speed.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/sampling_rate.rb +11 -0
- data/lib/pbcore/instantiation/essence_track/standard.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/time_start.rb +9 -0
- data/lib/pbcore/instantiation/essence_track/type.rb +9 -0
- data/lib/pbcore/instantiation/extension.rb +22 -0
- data/lib/pbcore/instantiation/file_size.rb +13 -0
- data/lib/pbcore/instantiation/generations.rb +11 -0
- data/lib/pbcore/instantiation/identifier.rb +11 -0
- data/lib/pbcore/instantiation/language.rb +11 -0
- data/lib/pbcore/instantiation/location.rb +11 -0
- data/lib/pbcore/instantiation/media_type.rb +11 -0
- data/lib/pbcore/instantiation/physical.rb +11 -0
- data/lib/pbcore/instantiation/relation.rb +19 -0
- data/lib/pbcore/instantiation/relation/identifier.rb +9 -0
- data/lib/pbcore/instantiation/relation/type.rb +9 -0
- data/lib/pbcore/instantiation/rights.rb +22 -0
- data/lib/pbcore/instantiation/rights/link.rb +11 -0
- data/lib/pbcore/instantiation/rights/summary.rb +11 -0
- data/lib/pbcore/instantiation/standard.rb +13 -0
- data/lib/pbcore/instantiation/time_start.rb +11 -0
- data/lib/pbcore/instantiation/tracks.rb +11 -0
- data/lib/pbcore/instantiation_document.rb +97 -0
- data/lib/pbcore/publisher.rb +19 -0
- data/lib/pbcore/publisher/publisher.rb +17 -0
- data/lib/pbcore/publisher/role.rb +11 -0
- data/lib/pbcore/relation.rb +19 -0
- data/lib/pbcore/relation/identifier.rb +11 -0
- data/lib/pbcore/relation/type.rb +11 -0
- data/lib/pbcore/rights_summary.rb +22 -0
- data/lib/pbcore/rights_summary/link.rb +11 -0
- data/lib/pbcore/rights_summary/summary.rb +11 -0
- data/lib/pbcore/subject.rb +15 -0
- data/lib/pbcore/title.rb +15 -0
- data/lib/pbcore/version.rb +3 -0
- data/lib/pbcore/vocab.rb +15 -0
- data/pbcore.gemspec +40 -0
- metadata +297 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class Publisher < Element
|
|
5
|
+
autoload :Publisher, 'pbcore/publisher/publisher'
|
|
6
|
+
autoload :Role, 'pbcore/publisher/role'
|
|
7
|
+
|
|
8
|
+
element :pbcorePublisher, as: :value
|
|
9
|
+
element :publisher, as: :publisher, class: PBCore::Publisher::Publisher
|
|
10
|
+
element :publisherRole, as: :role, class: PBCore::Publisher::Role
|
|
11
|
+
|
|
12
|
+
build_xml do |xml|
|
|
13
|
+
xml.pbcorePublisher(xml_attributes.compact) do |xml|
|
|
14
|
+
publisher.build(xml) if publisher
|
|
15
|
+
role.build(xml) if role
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class Publisher::Publisher < Element
|
|
5
|
+
element :publisher, as: :value
|
|
6
|
+
|
|
7
|
+
attribute :affiliation, as: :affiliation
|
|
8
|
+
attribute :affiliationSource, as: :affiliation_source
|
|
9
|
+
attribute :affiliationRef, as: :affiliation_ref
|
|
10
|
+
attribute :affiliationVersion, as: :affiliation_version
|
|
11
|
+
attribute :affiliationAnnotation, as: :affiliation_annotation
|
|
12
|
+
|
|
13
|
+
build_xml do |xml|
|
|
14
|
+
xml.publisher(value, xml_attributes.compact)
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class Relation < Element
|
|
5
|
+
autoload :Type, 'pbcore/relation/type'
|
|
6
|
+
autoload :Identifier, 'pbcore/relation/identifier'
|
|
7
|
+
|
|
8
|
+
element :pbcoreRelation, as: :value
|
|
9
|
+
element :pbcoreRelationType, as: :type, class: PBCore::Relation::Type
|
|
10
|
+
element :pbcoreRelationIdentifier, as: :identifier, class: PBCore::Relation::Identifier
|
|
11
|
+
|
|
12
|
+
build_xml do |xml|
|
|
13
|
+
xml.pbcoreRelation(xml_attributes.compact) do |xml|
|
|
14
|
+
type.build(xml) if type
|
|
15
|
+
identifier.build(xml) if identifier
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class RightsSummary < Element
|
|
5
|
+
|
|
6
|
+
autoload :Summary, 'pbcore/rights_summary/summary'
|
|
7
|
+
autoload :Link, 'pbcore/rights_summary/link'
|
|
8
|
+
|
|
9
|
+
element :pbcoreRightsSummary, as: :value
|
|
10
|
+
element :rightsSummary, as: :summary, class: PBCore::RightsSummary::Summary
|
|
11
|
+
element :rightsLink, as: :link, class: PBCore::RightsSummary::Link
|
|
12
|
+
|
|
13
|
+
include PBCore::Attributes::TimeInterval
|
|
14
|
+
|
|
15
|
+
build_xml do |xml|
|
|
16
|
+
xml.pbcoreRightsSummary(xml_attributes.compact) do |xml|
|
|
17
|
+
summary.build(xml) if summary
|
|
18
|
+
link.build(xml) if link
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class Subject < Element
|
|
5
|
+
element :pbcoreSubject, as: :value
|
|
6
|
+
attribute :subjectType, as: :type
|
|
7
|
+
attribute :subjectTypeRef, as: :type_ref
|
|
8
|
+
attribute :subjectTypeSource, as: :type_source
|
|
9
|
+
attribute :subjectTypeAnnotation, as: :type_annotation
|
|
10
|
+
|
|
11
|
+
build_xml do |xml|
|
|
12
|
+
xml.pbcoreSubject(value, xml_attributes.compact)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/pbcore/title.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require 'pbcore/element'
|
|
2
|
+
|
|
3
|
+
module PBCore
|
|
4
|
+
class Title < Element
|
|
5
|
+
element :pbcoreTitle, as: :value
|
|
6
|
+
attribute :titleType, as: :type
|
|
7
|
+
attribute :titleTypeSource, as: :type_source
|
|
8
|
+
attribute :titleTypeRef, as: :type_ref
|
|
9
|
+
attribute :titleTypeAnnotation, as: :type_annotation
|
|
10
|
+
|
|
11
|
+
build_xml do |xml|
|
|
12
|
+
xml.pbcoreTitle(value, xml_attributes.compact)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/pbcore/vocab.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module PBCore
|
|
2
|
+
module Vocab
|
|
3
|
+
class << self
|
|
4
|
+
def date_types
|
|
5
|
+
[ "accepted", "available", "available end", "available start",
|
|
6
|
+
"broadcast", "captured", "created", "copyright", "deletion",
|
|
7
|
+
"digitized", "distributed", "dubbed", "edited", "encoded",
|
|
8
|
+
"encrypted", "event", "ingested", "issued", "licensed", "mastered",
|
|
9
|
+
"migrated", "mixed", "modified", "normalized", "performed", "podcast",
|
|
10
|
+
"published", "released", "restored", "revised", "transferred",
|
|
11
|
+
"valid", "validated", "webcast" ]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/pbcore.gemspec
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require "pbcore/version"
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "pbcore"
|
|
8
|
+
spec.version = PBCore::VERSION
|
|
9
|
+
spec.authors = ["Andrew Myers"]
|
|
10
|
+
spec.email = ["andrew_myers@wgbh.org"]
|
|
11
|
+
|
|
12
|
+
spec.summary = "PBCore models and factories for Ruby"
|
|
13
|
+
spec.description = "Data models for parsing PBCore XML, manipulating " \
|
|
14
|
+
"PBCore metadata in Ruby, and factories to produce " \
|
|
15
|
+
"sample PBCore with Faker data."
|
|
16
|
+
spec.homepage = "https://github.com/WGBH-MLA/pbcore"
|
|
17
|
+
spec.license = "MIT"
|
|
18
|
+
|
|
19
|
+
# Specify which files should be added to the gem when it is released.
|
|
20
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
21
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
23
|
+
end
|
|
24
|
+
spec.bindir = "exe"
|
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
|
+
spec.require_paths = ["lib"]
|
|
27
|
+
|
|
28
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
30
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.6'
|
|
31
|
+
spec.add_development_dependency 'equivalent-xml', '~> 0.6'
|
|
32
|
+
spec.add_development_dependency 'factory_bot', '~> 4.11'
|
|
33
|
+
spec.add_development_dependency 'faker', '~> 1.0'
|
|
34
|
+
spec.add_development_dependency 'activesupport', '~> 5.2'
|
|
35
|
+
|
|
36
|
+
spec.add_dependency 'sax-machine', '~> 1.3'
|
|
37
|
+
spec.add_dependency 'nokogiri', '~> 1.10'
|
|
38
|
+
spec.add_dependency 'factory_bot', '~> 4.11'
|
|
39
|
+
spec.add_dependency 'faker', '~> 1.9'
|
|
40
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: pbcore
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Andrew Myers
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rake
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '10.0'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '10.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rspec
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: pry-byebug
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.6'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.6'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: equivalent-xml
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0.6'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0.6'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: factory_bot
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '4.11'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '4.11'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: faker
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '1.0'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '1.0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: activesupport
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '5.2'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '5.2'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: sax-machine
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - "~>"
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '1.3'
|
|
118
|
+
type: :runtime
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - "~>"
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '1.3'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: nokogiri
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - "~>"
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '1.10'
|
|
132
|
+
type: :runtime
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - "~>"
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '1.10'
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: factory_bot
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - "~>"
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '4.11'
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - "~>"
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '4.11'
|
|
153
|
+
- !ruby/object:Gem::Dependency
|
|
154
|
+
name: faker
|
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
|
156
|
+
requirements:
|
|
157
|
+
- - "~>"
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '1.9'
|
|
160
|
+
type: :runtime
|
|
161
|
+
prerelease: false
|
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - "~>"
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '1.9'
|
|
167
|
+
description: Data models for parsing PBCore XML, manipulating PBCore metadata in Ruby,
|
|
168
|
+
and factories to produce sample PBCore with Faker data.
|
|
169
|
+
email:
|
|
170
|
+
- andrew_myers@wgbh.org
|
|
171
|
+
executables: []
|
|
172
|
+
extensions: []
|
|
173
|
+
extra_rdoc_files: []
|
|
174
|
+
files:
|
|
175
|
+
- ".gitignore"
|
|
176
|
+
- ".rspec"
|
|
177
|
+
- ".travis.yml"
|
|
178
|
+
- Gemfile
|
|
179
|
+
- LICENSE.txt
|
|
180
|
+
- README.md
|
|
181
|
+
- Rakefile
|
|
182
|
+
- bin/console
|
|
183
|
+
- bin/setup
|
|
184
|
+
- lib/pbcore.rb
|
|
185
|
+
- lib/pbcore/annotation.rb
|
|
186
|
+
- lib/pbcore/asset_date.rb
|
|
187
|
+
- lib/pbcore/asset_type.rb
|
|
188
|
+
- lib/pbcore/attributes.rb
|
|
189
|
+
- lib/pbcore/attributes/common.rb
|
|
190
|
+
- lib/pbcore/attributes/time_interval.rb
|
|
191
|
+
- lib/pbcore/audience_level.rb
|
|
192
|
+
- lib/pbcore/audience_rating.rb
|
|
193
|
+
- lib/pbcore/contributor.rb
|
|
194
|
+
- lib/pbcore/contributor/contributor.rb
|
|
195
|
+
- lib/pbcore/contributor/role.rb
|
|
196
|
+
- lib/pbcore/coverage.rb
|
|
197
|
+
- lib/pbcore/coverage/coverage.rb
|
|
198
|
+
- lib/pbcore/coverage/type.rb
|
|
199
|
+
- lib/pbcore/creator.rb
|
|
200
|
+
- lib/pbcore/creator/creator.rb
|
|
201
|
+
- lib/pbcore/creator/role.rb
|
|
202
|
+
- lib/pbcore/description.rb
|
|
203
|
+
- lib/pbcore/description_document.rb
|
|
204
|
+
- lib/pbcore/element.rb
|
|
205
|
+
- lib/pbcore/errors.rb
|
|
206
|
+
- lib/pbcore/extension.rb
|
|
207
|
+
- lib/pbcore/extension/embedded.rb
|
|
208
|
+
- lib/pbcore/extension/wrap.rb
|
|
209
|
+
- lib/pbcore/extension/wrap/authority_used.rb
|
|
210
|
+
- lib/pbcore/extension/wrap/element.rb
|
|
211
|
+
- lib/pbcore/extension/wrap/value.rb
|
|
212
|
+
- lib/pbcore/factories.rb
|
|
213
|
+
- lib/pbcore/genre.rb
|
|
214
|
+
- lib/pbcore/identifier.rb
|
|
215
|
+
- lib/pbcore/instantiation.rb
|
|
216
|
+
- lib/pbcore/instantiation/alternative_modes.rb
|
|
217
|
+
- lib/pbcore/instantiation/annotation.rb
|
|
218
|
+
- lib/pbcore/instantiation/channel_configuration.rb
|
|
219
|
+
- lib/pbcore/instantiation/colors.rb
|
|
220
|
+
- lib/pbcore/instantiation/data_rate.rb
|
|
221
|
+
- lib/pbcore/instantiation/date.rb
|
|
222
|
+
- lib/pbcore/instantiation/digital.rb
|
|
223
|
+
- lib/pbcore/instantiation/dimensions.rb
|
|
224
|
+
- lib/pbcore/instantiation/duration.rb
|
|
225
|
+
- lib/pbcore/instantiation/essence_track.rb
|
|
226
|
+
- lib/pbcore/instantiation/essence_track/annotation.rb
|
|
227
|
+
- lib/pbcore/instantiation/essence_track/aspect_ratio.rb
|
|
228
|
+
- lib/pbcore/instantiation/essence_track/bit_depth.rb
|
|
229
|
+
- lib/pbcore/instantiation/essence_track/data_rate.rb
|
|
230
|
+
- lib/pbcore/instantiation/essence_track/duration.rb
|
|
231
|
+
- lib/pbcore/instantiation/essence_track/encoding.rb
|
|
232
|
+
- lib/pbcore/instantiation/essence_track/frame_rate.rb
|
|
233
|
+
- lib/pbcore/instantiation/essence_track/frame_size.rb
|
|
234
|
+
- lib/pbcore/instantiation/essence_track/identifier.rb
|
|
235
|
+
- lib/pbcore/instantiation/essence_track/language.rb
|
|
236
|
+
- lib/pbcore/instantiation/essence_track/playback_speed.rb
|
|
237
|
+
- lib/pbcore/instantiation/essence_track/sampling_rate.rb
|
|
238
|
+
- lib/pbcore/instantiation/essence_track/standard.rb
|
|
239
|
+
- lib/pbcore/instantiation/essence_track/time_start.rb
|
|
240
|
+
- lib/pbcore/instantiation/essence_track/type.rb
|
|
241
|
+
- lib/pbcore/instantiation/extension.rb
|
|
242
|
+
- lib/pbcore/instantiation/file_size.rb
|
|
243
|
+
- lib/pbcore/instantiation/generations.rb
|
|
244
|
+
- lib/pbcore/instantiation/identifier.rb
|
|
245
|
+
- lib/pbcore/instantiation/language.rb
|
|
246
|
+
- lib/pbcore/instantiation/location.rb
|
|
247
|
+
- lib/pbcore/instantiation/media_type.rb
|
|
248
|
+
- lib/pbcore/instantiation/physical.rb
|
|
249
|
+
- lib/pbcore/instantiation/relation.rb
|
|
250
|
+
- lib/pbcore/instantiation/relation/identifier.rb
|
|
251
|
+
- lib/pbcore/instantiation/relation/type.rb
|
|
252
|
+
- lib/pbcore/instantiation/rights.rb
|
|
253
|
+
- lib/pbcore/instantiation/rights/link.rb
|
|
254
|
+
- lib/pbcore/instantiation/rights/summary.rb
|
|
255
|
+
- lib/pbcore/instantiation/standard.rb
|
|
256
|
+
- lib/pbcore/instantiation/time_start.rb
|
|
257
|
+
- lib/pbcore/instantiation/tracks.rb
|
|
258
|
+
- lib/pbcore/instantiation_document.rb
|
|
259
|
+
- lib/pbcore/publisher.rb
|
|
260
|
+
- lib/pbcore/publisher/publisher.rb
|
|
261
|
+
- lib/pbcore/publisher/role.rb
|
|
262
|
+
- lib/pbcore/relation.rb
|
|
263
|
+
- lib/pbcore/relation/identifier.rb
|
|
264
|
+
- lib/pbcore/relation/type.rb
|
|
265
|
+
- lib/pbcore/rights_summary.rb
|
|
266
|
+
- lib/pbcore/rights_summary/link.rb
|
|
267
|
+
- lib/pbcore/rights_summary/summary.rb
|
|
268
|
+
- lib/pbcore/subject.rb
|
|
269
|
+
- lib/pbcore/title.rb
|
|
270
|
+
- lib/pbcore/version.rb
|
|
271
|
+
- lib/pbcore/vocab.rb
|
|
272
|
+
- pbcore.gemspec
|
|
273
|
+
homepage: https://github.com/WGBH-MLA/pbcore
|
|
274
|
+
licenses:
|
|
275
|
+
- MIT
|
|
276
|
+
metadata: {}
|
|
277
|
+
post_install_message:
|
|
278
|
+
rdoc_options: []
|
|
279
|
+
require_paths:
|
|
280
|
+
- lib
|
|
281
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
282
|
+
requirements:
|
|
283
|
+
- - ">="
|
|
284
|
+
- !ruby/object:Gem::Version
|
|
285
|
+
version: '0'
|
|
286
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
|
+
requirements:
|
|
288
|
+
- - ">="
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: '0'
|
|
291
|
+
requirements: []
|
|
292
|
+
rubyforge_project:
|
|
293
|
+
rubygems_version: 2.7.6
|
|
294
|
+
signing_key:
|
|
295
|
+
specification_version: 4
|
|
296
|
+
summary: PBCore models and factories for Ruby
|
|
297
|
+
test_files: []
|