aspace_client 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aspace_client.rb +15 -0
- data/lib/aspace_client/archivesspace_json_schema.rb +210 -0
- data/lib/aspace_client/asutils.rb +142 -0
- data/lib/aspace_client/client_enum_source.rb +30 -0
- data/lib/aspace_client/exceptions.rb +15 -0
- data/lib/aspace_client/helpers.rb +0 -0
- data/lib/aspace_client/json_schema_concurrency_fix.rb +52 -0
- data/lib/aspace_client/json_schema_utils.rb +414 -0
- data/lib/aspace_client/jsonmodel.rb +342 -0
- data/lib/aspace_client/jsonmodel_client.rb +528 -0
- data/lib/aspace_client/jsonmodel_i18n_mixin.rb +77 -0
- data/lib/aspace_client/jsonmodel_type.rb +478 -0
- data/lib/aspace_client/memoryleak.rb +59 -0
- data/lib/aspace_client/schemas/abstract_agent.rb +51 -0
- data/lib/aspace_client/schemas/abstract_agent_relationship.rb +12 -0
- data/lib/aspace_client/schemas/abstract_archival_object.rb +96 -0
- data/lib/aspace_client/schemas/abstract_classification.rb +44 -0
- data/lib/aspace_client/schemas/abstract_name.rb +23 -0
- data/lib/aspace_client/schemas/abstract_note.rb +13 -0
- data/lib/aspace_client/schemas/accession.rb +174 -0
- data/lib/aspace_client/schemas/accession_parts_relationship.rb +31 -0
- data/lib/aspace_client/schemas/accession_sibling_relationship.rb +31 -0
- data/lib/aspace_client/schemas/active_edits.rb +23 -0
- data/lib/aspace_client/schemas/advanced_query.rb +12 -0
- data/lib/aspace_client/schemas/agent_contact.rb +25 -0
- data/lib/aspace_client/schemas/agent_corporate_entity.rb +32 -0
- data/lib/aspace_client/schemas/agent_family.rb +29 -0
- data/lib/aspace_client/schemas/agent_person.rb +31 -0
- data/lib/aspace_client/schemas/agent_relationship_associative.rb +28 -0
- data/lib/aspace_client/schemas/agent_relationship_earlierlater.rb +28 -0
- data/lib/aspace_client/schemas/agent_relationship_parentchild.rb +26 -0
- data/lib/aspace_client/schemas/agent_relationship_subordinatesuperior.rb +26 -0
- data/lib/aspace_client/schemas/agent_software.rb +22 -0
- data/lib/aspace_client/schemas/archival_object.rb +60 -0
- data/lib/aspace_client/schemas/archival_record_children.rb +15 -0
- data/lib/aspace_client/schemas/boolean_field_query.rb +13 -0
- data/lib/aspace_client/schemas/boolean_query.rb +13 -0
- data/lib/aspace_client/schemas/classification.rb +10 -0
- data/lib/aspace_client/schemas/classification_term.rb +38 -0
- data/lib/aspace_client/schemas/classification_tree.rb +17 -0
- data/lib/aspace_client/schemas/collection_management.rb +27 -0
- data/lib/aspace_client/schemas/container.rb +29 -0
- data/lib/aspace_client/schemas/container_location.rb +19 -0
- data/lib/aspace_client/schemas/date.rb +19 -0
- data/lib/aspace_client/schemas/date_field_query.rb +14 -0
- data/lib/aspace_client/schemas/deaccession.rb +20 -0
- data/lib/aspace_client/schemas/defaults.rb +104 -0
- data/lib/aspace_client/schemas/digital_object.rb +64 -0
- data/lib/aspace_client/schemas/digital_object_component.rb +53 -0
- data/lib/aspace_client/schemas/digital_object_tree.rb +19 -0
- data/lib/aspace_client/schemas/digital_record_children.rb +15 -0
- data/lib/aspace_client/schemas/enumeration.rb +29 -0
- data/lib/aspace_client/schemas/enumeration_migration.rb +14 -0
- data/lib/aspace_client/schemas/event.rb +88 -0
- data/lib/aspace_client/schemas/extent.rb +17 -0
- data/lib/aspace_client/schemas/external_document.rb +12 -0
- data/lib/aspace_client/schemas/external_id.rb +11 -0
- data/lib/aspace_client/schemas/field_query.rb +15 -0
- data/lib/aspace_client/schemas/file_version.rb +26 -0
- data/lib/aspace_client/schemas/group.rb +17 -0
- data/lib/aspace_client/schemas/instance.rb +27 -0
- data/lib/aspace_client/schemas/job.rb +57 -0
- data/lib/aspace_client/schemas/location.rb +36 -0
- data/lib/aspace_client/schemas/location_batch.rb +45 -0
- data/lib/aspace_client/schemas/merge_request.rb +48 -0
- data/lib/aspace_client/schemas/name_corporate_entity.rb +15 -0
- data/lib/aspace_client/schemas/name_family.rb +13 -0
- data/lib/aspace_client/schemas/name_form.rb +15 -0
- data/lib/aspace_client/schemas/name_person.rb +19 -0
- data/lib/aspace_client/schemas/name_software.rb +14 -0
- data/lib/aspace_client/schemas/note_abstract.rb +17 -0
- data/lib/aspace_client/schemas/note_bibliography.rb +29 -0
- data/lib/aspace_client/schemas/note_bioghist.rb +22 -0
- data/lib/aspace_client/schemas/note_chronology.rb +28 -0
- data/lib/aspace_client/schemas/note_citation.rb +32 -0
- data/lib/aspace_client/schemas/note_definedlist.rb +25 -0
- data/lib/aspace_client/schemas/note_digital_object.rb +23 -0
- data/lib/aspace_client/schemas/note_index.rb +29 -0
- data/lib/aspace_client/schemas/note_index_item.rb +25 -0
- data/lib/aspace_client/schemas/note_multipart.rb +25 -0
- data/lib/aspace_client/schemas/note_orderedlist.rb +27 -0
- data/lib/aspace_client/schemas/note_outline.rb +20 -0
- data/lib/aspace_client/schemas/note_outline_level.rb +21 -0
- data/lib/aspace_client/schemas/note_singlepart.rb +24 -0
- data/lib/aspace_client/schemas/note_text.rb +17 -0
- data/lib/aspace_client/schemas/permission.rb +15 -0
- data/lib/aspace_client/schemas/preference.rb +16 -0
- data/lib/aspace_client/schemas/record_tree.rb +17 -0
- data/lib/aspace_client/schemas/repository.rb +32 -0
- data/lib/aspace_client/schemas/repository_with_agent.rb +14 -0
- data/lib/aspace_client/schemas/resource.rb +112 -0
- data/lib/aspace_client/schemas/resource_tree.rb +20 -0
- data/lib/aspace_client/schemas/rights_statement.rb +35 -0
- data/lib/aspace_client/schemas/subject.rb +30 -0
- data/lib/aspace_client/schemas/term.rb +16 -0
- data/lib/aspace_client/schemas/user.rb +56 -0
- data/lib/aspace_client/schemas/user_defined.rb +42 -0
- data/lib/aspace_client/schemas/vocabulary.rb +15 -0
- data/lib/aspace_client/validations.rb +434 -0
- data/lib/aspace_client/validator_cache.rb +47 -0
- data/lib/aspace_client/version.rb +3 -0
- metadata +244 -0
metadata
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aspace_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Fitzpatrick
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.8.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.8.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json-schema
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.10
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.10
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: puma
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.8.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.8.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: net-http-persistent
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.8'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.8'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: multipart-post
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.2.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.2.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.5'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.5'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: A lightweight utility to facilitate interaction with the ArchivesSpace
|
112
|
+
backend API.
|
113
|
+
email: chris.fitzpatrick@lyrasis.org
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- lib/aspace_client/archivesspace_json_schema.rb
|
119
|
+
- lib/aspace_client/asutils.rb
|
120
|
+
- lib/aspace_client/client_enum_source.rb
|
121
|
+
- lib/aspace_client/exceptions.rb
|
122
|
+
- lib/aspace_client/helpers.rb
|
123
|
+
- lib/aspace_client/json_schema_concurrency_fix.rb
|
124
|
+
- lib/aspace_client/json_schema_utils.rb
|
125
|
+
- lib/aspace_client/jsonmodel.rb
|
126
|
+
- lib/aspace_client/jsonmodel_client.rb
|
127
|
+
- lib/aspace_client/jsonmodel_i18n_mixin.rb
|
128
|
+
- lib/aspace_client/jsonmodel_type.rb
|
129
|
+
- lib/aspace_client/memoryleak.rb
|
130
|
+
- lib/aspace_client/schemas/abstract_agent.rb
|
131
|
+
- lib/aspace_client/schemas/abstract_agent_relationship.rb
|
132
|
+
- lib/aspace_client/schemas/abstract_archival_object.rb
|
133
|
+
- lib/aspace_client/schemas/abstract_classification.rb
|
134
|
+
- lib/aspace_client/schemas/abstract_name.rb
|
135
|
+
- lib/aspace_client/schemas/abstract_note.rb
|
136
|
+
- lib/aspace_client/schemas/accession.rb
|
137
|
+
- lib/aspace_client/schemas/accession_parts_relationship.rb
|
138
|
+
- lib/aspace_client/schemas/accession_sibling_relationship.rb
|
139
|
+
- lib/aspace_client/schemas/active_edits.rb
|
140
|
+
- lib/aspace_client/schemas/advanced_query.rb
|
141
|
+
- lib/aspace_client/schemas/agent_contact.rb
|
142
|
+
- lib/aspace_client/schemas/agent_corporate_entity.rb
|
143
|
+
- lib/aspace_client/schemas/agent_family.rb
|
144
|
+
- lib/aspace_client/schemas/agent_person.rb
|
145
|
+
- lib/aspace_client/schemas/agent_relationship_associative.rb
|
146
|
+
- lib/aspace_client/schemas/agent_relationship_earlierlater.rb
|
147
|
+
- lib/aspace_client/schemas/agent_relationship_parentchild.rb
|
148
|
+
- lib/aspace_client/schemas/agent_relationship_subordinatesuperior.rb
|
149
|
+
- lib/aspace_client/schemas/agent_software.rb
|
150
|
+
- lib/aspace_client/schemas/archival_object.rb
|
151
|
+
- lib/aspace_client/schemas/archival_record_children.rb
|
152
|
+
- lib/aspace_client/schemas/boolean_field_query.rb
|
153
|
+
- lib/aspace_client/schemas/boolean_query.rb
|
154
|
+
- lib/aspace_client/schemas/classification.rb
|
155
|
+
- lib/aspace_client/schemas/classification_term.rb
|
156
|
+
- lib/aspace_client/schemas/classification_tree.rb
|
157
|
+
- lib/aspace_client/schemas/collection_management.rb
|
158
|
+
- lib/aspace_client/schemas/container.rb
|
159
|
+
- lib/aspace_client/schemas/container_location.rb
|
160
|
+
- lib/aspace_client/schemas/date.rb
|
161
|
+
- lib/aspace_client/schemas/date_field_query.rb
|
162
|
+
- lib/aspace_client/schemas/deaccession.rb
|
163
|
+
- lib/aspace_client/schemas/defaults.rb
|
164
|
+
- lib/aspace_client/schemas/digital_object.rb
|
165
|
+
- lib/aspace_client/schemas/digital_object_component.rb
|
166
|
+
- lib/aspace_client/schemas/digital_object_tree.rb
|
167
|
+
- lib/aspace_client/schemas/digital_record_children.rb
|
168
|
+
- lib/aspace_client/schemas/enumeration.rb
|
169
|
+
- lib/aspace_client/schemas/enumeration_migration.rb
|
170
|
+
- lib/aspace_client/schemas/event.rb
|
171
|
+
- lib/aspace_client/schemas/extent.rb
|
172
|
+
- lib/aspace_client/schemas/external_document.rb
|
173
|
+
- lib/aspace_client/schemas/external_id.rb
|
174
|
+
- lib/aspace_client/schemas/field_query.rb
|
175
|
+
- lib/aspace_client/schemas/file_version.rb
|
176
|
+
- lib/aspace_client/schemas/group.rb
|
177
|
+
- lib/aspace_client/schemas/instance.rb
|
178
|
+
- lib/aspace_client/schemas/job.rb
|
179
|
+
- lib/aspace_client/schemas/location.rb
|
180
|
+
- lib/aspace_client/schemas/location_batch.rb
|
181
|
+
- lib/aspace_client/schemas/merge_request.rb
|
182
|
+
- lib/aspace_client/schemas/name_corporate_entity.rb
|
183
|
+
- lib/aspace_client/schemas/name_family.rb
|
184
|
+
- lib/aspace_client/schemas/name_form.rb
|
185
|
+
- lib/aspace_client/schemas/name_person.rb
|
186
|
+
- lib/aspace_client/schemas/name_software.rb
|
187
|
+
- lib/aspace_client/schemas/note_abstract.rb
|
188
|
+
- lib/aspace_client/schemas/note_bibliography.rb
|
189
|
+
- lib/aspace_client/schemas/note_bioghist.rb
|
190
|
+
- lib/aspace_client/schemas/note_chronology.rb
|
191
|
+
- lib/aspace_client/schemas/note_citation.rb
|
192
|
+
- lib/aspace_client/schemas/note_definedlist.rb
|
193
|
+
- lib/aspace_client/schemas/note_digital_object.rb
|
194
|
+
- lib/aspace_client/schemas/note_index.rb
|
195
|
+
- lib/aspace_client/schemas/note_index_item.rb
|
196
|
+
- lib/aspace_client/schemas/note_multipart.rb
|
197
|
+
- lib/aspace_client/schemas/note_orderedlist.rb
|
198
|
+
- lib/aspace_client/schemas/note_outline.rb
|
199
|
+
- lib/aspace_client/schemas/note_outline_level.rb
|
200
|
+
- lib/aspace_client/schemas/note_singlepart.rb
|
201
|
+
- lib/aspace_client/schemas/note_text.rb
|
202
|
+
- lib/aspace_client/schemas/permission.rb
|
203
|
+
- lib/aspace_client/schemas/preference.rb
|
204
|
+
- lib/aspace_client/schemas/record_tree.rb
|
205
|
+
- lib/aspace_client/schemas/repository.rb
|
206
|
+
- lib/aspace_client/schemas/repository_with_agent.rb
|
207
|
+
- lib/aspace_client/schemas/resource.rb
|
208
|
+
- lib/aspace_client/schemas/resource_tree.rb
|
209
|
+
- lib/aspace_client/schemas/rights_statement.rb
|
210
|
+
- lib/aspace_client/schemas/subject.rb
|
211
|
+
- lib/aspace_client/schemas/term.rb
|
212
|
+
- lib/aspace_client/schemas/user.rb
|
213
|
+
- lib/aspace_client/schemas/user_defined.rb
|
214
|
+
- lib/aspace_client/schemas/vocabulary.rb
|
215
|
+
- lib/aspace_client/validations.rb
|
216
|
+
- lib/aspace_client/validator_cache.rb
|
217
|
+
- lib/aspace_client/version.rb
|
218
|
+
- lib/aspace_client.rb
|
219
|
+
homepage: https://github.com/archivesspace/aspace-client
|
220
|
+
licenses:
|
221
|
+
- ECL2
|
222
|
+
metadata: {}
|
223
|
+
post_install_message:
|
224
|
+
rdoc_options: []
|
225
|
+
require_paths:
|
226
|
+
- lib
|
227
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - '>='
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project:
|
239
|
+
rubygems_version: 2.0.14
|
240
|
+
signing_key:
|
241
|
+
specification_version: 4
|
242
|
+
summary: A lightweight utility to facilitate interaction with the ArchivesSpace backend
|
243
|
+
API.
|
244
|
+
test_files: []
|