collectionspace-client 0.15.0 → 0.15.1
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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.gitignore +0 -1
- data/Gemfile.lock +109 -0
- data/README.md +2 -1
- data/collectionspace-client.gemspec +2 -0
- data/lib/collectionspace/client/service.rb +6 -0
- data/lib/collectionspace/client/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b9f5c5e51e9a99c4ac0ab4d9a9e0ac8cecac7bc38391c3cc57d3c987394110de
|
|
4
|
+
data.tar.gz: 3106c95bf948acacb6b109b2c672ef9e2e71d51b6d9ee16b40794c4c98b8d2d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0aa8523a50202bebcaf3a09151e3376251b5575e7e344a32624016979f8e49de45193cb630f0a5be1acec660a94f959ef03e935ed1042a244a52fe076c92c067
|
|
7
|
+
data.tar.gz: 9074177d65643755b34380f53ecf3bcfd77ec3c5e7d1c8af92df2e11e0edeac89ae6223e4645f7aac75f6983e826a22055021017259c27b743c08a86eb610e40
|
data/.github/workflows/ci.yml
CHANGED
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
collectionspace-client (0.15.1)
|
|
5
|
+
httparty
|
|
6
|
+
json
|
|
7
|
+
nokogiri
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
addressable (2.8.1)
|
|
13
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
14
|
+
ast (2.4.2)
|
|
15
|
+
awesome_print (1.9.2)
|
|
16
|
+
coderay (1.1.3)
|
|
17
|
+
crack (0.4.5)
|
|
18
|
+
rexml
|
|
19
|
+
diff-lcs (1.5.0)
|
|
20
|
+
docile (1.4.0)
|
|
21
|
+
hashdiff (1.0.1)
|
|
22
|
+
httparty (0.21.0)
|
|
23
|
+
mini_mime (>= 1.0.0)
|
|
24
|
+
multi_xml (>= 0.5.2)
|
|
25
|
+
json (2.6.3)
|
|
26
|
+
language_server-protocol (3.17.0.3)
|
|
27
|
+
method_source (1.0.0)
|
|
28
|
+
mini_mime (1.1.2)
|
|
29
|
+
mini_portile2 (2.8.1)
|
|
30
|
+
multi_xml (0.6.0)
|
|
31
|
+
nokogiri (1.14.2)
|
|
32
|
+
mini_portile2 (~> 2.8.0)
|
|
33
|
+
racc (~> 1.4)
|
|
34
|
+
parallel (1.22.1)
|
|
35
|
+
parser (3.2.1.0)
|
|
36
|
+
ast (~> 2.4.1)
|
|
37
|
+
pry (0.14.2)
|
|
38
|
+
coderay (~> 1.1)
|
|
39
|
+
method_source (~> 1.0)
|
|
40
|
+
public_suffix (5.0.1)
|
|
41
|
+
racc (1.6.2)
|
|
42
|
+
rainbow (3.1.1)
|
|
43
|
+
rake (13.0.6)
|
|
44
|
+
regexp_parser (2.7.0)
|
|
45
|
+
rexml (3.2.5)
|
|
46
|
+
rspec (3.12.0)
|
|
47
|
+
rspec-core (~> 3.12.0)
|
|
48
|
+
rspec-expectations (~> 3.12.0)
|
|
49
|
+
rspec-mocks (~> 3.12.0)
|
|
50
|
+
rspec-core (3.12.1)
|
|
51
|
+
rspec-support (~> 3.12.0)
|
|
52
|
+
rspec-expectations (3.12.2)
|
|
53
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
+
rspec-support (~> 3.12.0)
|
|
55
|
+
rspec-mocks (3.12.3)
|
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
57
|
+
rspec-support (~> 3.12.0)
|
|
58
|
+
rspec-support (3.12.0)
|
|
59
|
+
rubocop (1.44.1)
|
|
60
|
+
json (~> 2.3)
|
|
61
|
+
parallel (~> 1.10)
|
|
62
|
+
parser (>= 3.2.0.0)
|
|
63
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
64
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
65
|
+
rexml (>= 3.2.5, < 4.0)
|
|
66
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
|
67
|
+
ruby-progressbar (~> 1.7)
|
|
68
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
|
69
|
+
rubocop-ast (1.27.0)
|
|
70
|
+
parser (>= 3.2.1.0)
|
|
71
|
+
rubocop-performance (1.15.2)
|
|
72
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
73
|
+
rubocop-ast (>= 0.4.0)
|
|
74
|
+
ruby-progressbar (1.12.0)
|
|
75
|
+
simplecov (0.22.0)
|
|
76
|
+
docile (~> 1.1)
|
|
77
|
+
simplecov-html (~> 0.11)
|
|
78
|
+
simplecov_json_formatter (~> 0.1)
|
|
79
|
+
simplecov-html (0.12.3)
|
|
80
|
+
simplecov_json_formatter (0.1.4)
|
|
81
|
+
standard (1.24.3)
|
|
82
|
+
language_server-protocol (~> 3.17.0.2)
|
|
83
|
+
rubocop (= 1.44.1)
|
|
84
|
+
rubocop-performance (= 1.15.2)
|
|
85
|
+
unicode-display_width (2.4.2)
|
|
86
|
+
vcr (6.1.0)
|
|
87
|
+
webmock (3.18.1)
|
|
88
|
+
addressable (>= 2.8.0)
|
|
89
|
+
crack (>= 0.3.2)
|
|
90
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
91
|
+
|
|
92
|
+
PLATFORMS
|
|
93
|
+
ruby
|
|
94
|
+
|
|
95
|
+
DEPENDENCIES
|
|
96
|
+
awesome_print
|
|
97
|
+
bundler
|
|
98
|
+
collectionspace-client!
|
|
99
|
+
pry
|
|
100
|
+
rake (~> 13.0)
|
|
101
|
+
rspec
|
|
102
|
+
rubocop
|
|
103
|
+
simplecov (~> 0.21)
|
|
104
|
+
standard
|
|
105
|
+
vcr (~> 6.1)
|
|
106
|
+
webmock
|
|
107
|
+
|
|
108
|
+
BUNDLED WITH
|
|
109
|
+
2.4.7
|
data/README.md
CHANGED
|
@@ -37,10 +37,11 @@ bundle exec rake
|
|
|
37
37
|
```bash
|
|
38
38
|
gem install gem-release
|
|
39
39
|
# https://github.com/svenfuchs/gem-release#gem-bump
|
|
40
|
-
gem bump --version $VERSION
|
|
40
|
+
gem bump --version $VERSION
|
|
41
41
|
# i.e.
|
|
42
42
|
gem bump --version minor --pretend # dryrun
|
|
43
43
|
gem bump --version minor # do it for real
|
|
44
|
+
bundle # update gem version in Gemfile.lock
|
|
44
45
|
# PR and merge will publish new version
|
|
45
46
|
```
|
|
46
47
|
|
|
@@ -9,8 +9,10 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ["mark.cooper@lyrasis.org"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "CollectionSpace API client."
|
|
12
|
+
spec.description = "Client for interacting with CollectionSpace Services API"
|
|
12
13
|
spec.homepage = "https://github.com/lyrasis/collectionspace-client.git"
|
|
13
14
|
spec.license = "MIT"
|
|
15
|
+
spec.required_ruby_version = ">= 2.7.4"
|
|
14
16
|
|
|
15
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
16
18
|
spec.bindir = "exe"
|
|
@@ -12,6 +12,12 @@ module CollectionSpace
|
|
|
12
12
|
path: "acquisitions",
|
|
13
13
|
term: nil
|
|
14
14
|
},
|
|
15
|
+
"chronologyauthorities" => {
|
|
16
|
+
identifier: "shortIdentifier",
|
|
17
|
+
ns_prefix: "chronologies",
|
|
18
|
+
path: "chronologyauthorities/urn:cspace:name(#{subtype})/items",
|
|
19
|
+
term: "chronology#{TERM_SUFFIX}"
|
|
20
|
+
},
|
|
15
21
|
"citationauthorities" => {
|
|
16
22
|
identifier: "shortIdentifier",
|
|
17
23
|
ns_prefix: "citations",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: collectionspace-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Cooper
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -192,7 +192,7 @@ dependencies:
|
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
|
-
description:
|
|
195
|
+
description: Client for interacting with CollectionSpace Services API
|
|
196
196
|
email:
|
|
197
197
|
- mark.cooper@lyrasis.org
|
|
198
198
|
executables: []
|
|
@@ -208,6 +208,7 @@ files:
|
|
|
208
208
|
- ".ruby-version"
|
|
209
209
|
- ".travis.yml"
|
|
210
210
|
- Gemfile
|
|
211
|
+
- Gemfile.lock
|
|
211
212
|
- LICENSE.txt
|
|
212
213
|
- README.md
|
|
213
214
|
- Rakefile
|
|
@@ -253,14 +254,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
253
254
|
requirements:
|
|
254
255
|
- - ">="
|
|
255
256
|
- !ruby/object:Gem::Version
|
|
256
|
-
version:
|
|
257
|
+
version: 2.7.4
|
|
257
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
259
|
requirements:
|
|
259
260
|
- - ">="
|
|
260
261
|
- !ruby/object:Gem::Version
|
|
261
262
|
version: '0'
|
|
262
263
|
requirements: []
|
|
263
|
-
rubygems_version: 3.4.
|
|
264
|
+
rubygems_version: 3.4.20
|
|
264
265
|
signing_key:
|
|
265
266
|
specification_version: 4
|
|
266
267
|
summary: CollectionSpace API client.
|