sdr-client 2.18.0 → 2.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e60d4d82ab422c5b5ca90234d4e4113824e6afe72b46161c8cb311f8706c620
4
- data.tar.gz: 4f16e397d8a4d1c3bb1747b0e0378229a98fd46a860feecc618619f99871cf9f
3
+ metadata.gz: 8b9f90e6b2328a165dec0fdc4f1b65a1b1423a58eab004a3ce028d5545a6f717
4
+ data.tar.gz: 4ae2de10b489328955ebc5687aac298d91121873d9677b128b024975152dcbed
5
5
  SHA512:
6
- metadata.gz: 9244c5483ce300e26f21372a7402c491f98786a680b172c8a66cf107eacb7a5762578674488eb5922a0af6b9e729d1882fcc030a66033a015f47bf2729c446f7
7
- data.tar.gz: e4dfecc0e59afabc8a2c77abdabf9bea3ae7438df0a172e5bd0b4bebb0222e1ea0c8196f7ea4fdf060db10d0809739c491c1b2367a5109fe43219e445f17029a
6
+ metadata.gz: fd8b1c6ac2e2c63deddbbfbfa5df0908f33e9448a1226c0f7471a1b96a5da6d493da6d5eaf7236d6b154312ca04a0e28ab44e7522d8273f86b0e72bc5f16e54a
7
+ data.tar.gz: 91e1eadf611b65c0286438afbac517e7040542e8eb3702b0fad310c5a92812ca41606cdea1ee62bbc777449095ee0d86856be3347c88a92ad31b46db735f3427
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby-rails: sul-dlss/ruby-rails@4.2.2
3
+ ruby-rails: sul-dlss/ruby-rails@4.2.3
4
4
  workflows:
5
5
  build:
6
6
  jobs:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sdr-client (2.18.0)
4
+ sdr-client (2.18.1)
5
5
  activesupport
6
6
  cocina-models (~> 0.99.0)
7
7
  config
@@ -13,8 +13,9 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activesupport (7.2.1)
16
+ activesupport (8.0.1)
17
17
  base64
18
+ benchmark (>= 0.3)
18
19
  bigdecimal
19
20
  concurrent-ruby (~> 1.0, >= 1.3.1)
20
21
  connection_pool (>= 2.2.5)
@@ -24,16 +25,18 @@ GEM
24
25
  minitest (>= 5.1)
25
26
  securerandom (>= 0.3)
26
27
  tzinfo (~> 2.0, >= 2.0.5)
28
+ uri (>= 0.13.1)
27
29
  addressable (2.8.7)
28
30
  public_suffix (>= 2.0.2, < 7.0)
29
31
  ast (2.4.2)
30
32
  attr_extras (7.1.0)
31
33
  base64 (0.2.0)
32
- bigdecimal (3.1.8)
34
+ benchmark (0.4.0)
35
+ bigdecimal (3.1.9)
33
36
  byebug (11.1.3)
34
37
  childprocess (5.1.0)
35
38
  logger (~> 1.5)
36
- cocina-models (0.99.0)
39
+ cocina-models (0.99.3)
37
40
  activesupport
38
41
  deprecation
39
42
  dry-struct (~> 1.0)
@@ -43,19 +46,15 @@ GEM
43
46
  i18n
44
47
  jsonpath
45
48
  nokogiri
46
- openapi3_parser
47
49
  openapi_parser (~> 1.0)
48
50
  super_diff
49
51
  thor
50
52
  zeitwerk (~> 2.1)
51
- commonmarker (1.1.5-arm64-darwin)
52
- commonmarker (1.1.5-x86_64-darwin)
53
- commonmarker (1.1.5-x86_64-linux)
54
- concurrent-ruby (1.3.4)
53
+ concurrent-ruby (1.3.5)
55
54
  config (5.5.2)
56
55
  deep_merge (~> 1.2, >= 1.2.1)
57
56
  ostruct
58
- connection_pool (2.4.1)
57
+ connection_pool (2.5.0)
59
58
  crack (1.0.0)
60
59
  bigdecimal
61
60
  rexml
@@ -65,69 +64,70 @@ GEM
65
64
  diff-lcs (1.5.1)
66
65
  docile (1.4.1)
67
66
  drb (2.2.1)
68
- dry-core (1.0.1)
67
+ dry-core (1.1.0)
69
68
  concurrent-ruby (~> 1.0)
69
+ logger
70
70
  zeitwerk (~> 2.6)
71
- dry-inflector (1.1.0)
72
- dry-logic (1.5.0)
71
+ dry-inflector (1.2.0)
72
+ dry-logic (1.6.0)
73
+ bigdecimal
73
74
  concurrent-ruby (~> 1.0)
74
- dry-core (~> 1.0, < 2)
75
+ dry-core (~> 1.1)
75
76
  zeitwerk (~> 2.6)
76
- dry-monads (1.6.0)
77
+ dry-monads (1.7.1)
77
78
  concurrent-ruby (~> 1.0)
78
- dry-core (~> 1.0, < 2)
79
+ dry-core (~> 1.1)
79
80
  zeitwerk (~> 2.6)
80
- dry-struct (1.6.0)
81
- dry-core (~> 1.0, < 2)
82
- dry-types (>= 1.7, < 2)
81
+ dry-struct (1.7.0)
82
+ dry-core (~> 1.1)
83
+ dry-types (~> 1.8)
83
84
  ice_nine (~> 0.11)
84
85
  zeitwerk (~> 2.6)
85
- dry-types (1.7.2)
86
+ dry-types (1.8.1)
86
87
  bigdecimal (~> 3.0)
87
88
  concurrent-ruby (~> 1.0)
88
89
  dry-core (~> 1.0)
89
90
  dry-inflector (~> 1.0)
90
91
  dry-logic (~> 1.4)
91
92
  zeitwerk (~> 2.6)
92
- edtf (3.1.1)
93
- activesupport (>= 3.0, < 8.0)
93
+ edtf (3.2.0)
94
+ activesupport (>= 3.0, < 9.0)
94
95
  equivalent-xml (0.6.0)
95
96
  nokogiri (>= 1.4.3)
96
- faraday (2.12.0)
97
- faraday-net_http (>= 2.0, < 3.4)
97
+ faraday (2.12.2)
98
+ faraday-net_http (>= 2.0, < 3.5)
98
99
  json
99
100
  logger
100
- faraday-net_http (3.3.0)
101
- net-http
102
- hashdiff (1.1.1)
103
- i18n (1.14.6)
101
+ faraday-net_http (3.4.0)
102
+ net-http (>= 0.5.0)
103
+ hashdiff (1.1.2)
104
+ i18n (1.14.7)
104
105
  concurrent-ruby (~> 1.0)
105
106
  ice_nine (0.11.2)
106
- json (2.7.2)
107
+ json (2.9.1)
107
108
  jsonpath (1.1.5)
108
109
  multi_json
109
110
  language_server-protocol (3.17.0.3)
110
- launchy (3.0.1)
111
+ launchy (3.1.0)
111
112
  addressable (~> 2.8)
112
113
  childprocess (~> 5.0)
113
- logger (1.6.1)
114
- minitest (5.25.1)
114
+ logger (~> 1.6)
115
+ logger (1.6.5)
116
+ minitest (5.25.4)
115
117
  multi_json (1.15.0)
116
- net-http (0.4.1)
118
+ net-http (0.6.0)
117
119
  uri
118
- nokogiri (1.16.7-arm64-darwin)
120
+ nokogiri (1.18.2-arm64-darwin)
119
121
  racc (~> 1.4)
120
- nokogiri (1.16.7-x86_64-darwin)
122
+ nokogiri (1.18.2-x86_64-darwin)
121
123
  racc (~> 1.4)
122
- nokogiri (1.16.7-x86_64-linux)
124
+ nokogiri (1.18.2-x86_64-linux-gnu)
123
125
  racc (~> 1.4)
124
- openapi3_parser (0.10.0)
125
- commonmarker (>= 1.0)
126
126
  openapi_parser (1.0.0)
127
- optimist (3.1.0)
128
- ostruct (0.6.0)
127
+ optimist (3.2.0)
128
+ ostruct (0.6.1)
129
129
  parallel (1.26.3)
130
- parser (3.3.5.0)
130
+ parser (3.3.7.0)
131
131
  ast (~> 2.4.1)
132
132
  racc
133
133
  patience_diff (1.2.0)
@@ -136,13 +136,13 @@ GEM
136
136
  racc (1.8.1)
137
137
  rainbow (3.1.1)
138
138
  rake (13.2.1)
139
- regexp_parser (2.9.2)
140
- rexml (3.3.8)
139
+ regexp_parser (2.10.0)
140
+ rexml (3.4.0)
141
141
  rspec (3.13.0)
142
142
  rspec-core (~> 3.13.0)
143
143
  rspec-expectations (~> 3.13.0)
144
144
  rspec-mocks (~> 3.13.0)
145
- rspec-core (3.13.1)
145
+ rspec-core (3.13.2)
146
146
  rspec-support (~> 3.13.0)
147
147
  rspec-expectations (3.13.3)
148
148
  diff-lcs (>= 1.2.0, < 2.0)
@@ -150,20 +150,20 @@ GEM
150
150
  rspec-mocks (3.13.2)
151
151
  diff-lcs (>= 1.2.0, < 2.0)
152
152
  rspec-support (~> 3.13.0)
153
- rspec-support (3.13.1)
153
+ rspec-support (3.13.2)
154
154
  rspec_junit_formatter (0.6.0)
155
155
  rspec-core (>= 2, < 4, != 2.12.0)
156
- rubocop (1.66.1)
156
+ rubocop (1.71.0)
157
157
  json (~> 2.3)
158
158
  language_server-protocol (>= 3.17.0)
159
159
  parallel (~> 1.10)
160
160
  parser (>= 3.3.0.2)
161
161
  rainbow (>= 2.2.2, < 4.0)
162
- regexp_parser (>= 2.4, < 3.0)
163
- rubocop-ast (>= 1.32.2, < 2.0)
162
+ regexp_parser (>= 2.9.3, < 3.0)
163
+ rubocop-ast (>= 1.36.2, < 2.0)
164
164
  ruby-progressbar (~> 1.7)
165
- unicode-display_width (>= 2.4.0, < 3.0)
166
- rubocop-ast (1.32.3)
165
+ unicode-display_width (>= 2.4.0, < 4.0)
166
+ rubocop-ast (1.37.0)
167
167
  parser (>= 3.3.1.0)
168
168
  rubocop-capybara (2.21.0)
169
169
  rubocop (~> 1.41)
@@ -179,30 +179,33 @@ GEM
179
179
  rubocop-rspec_rails (2.29.1)
180
180
  rubocop (~> 1.61)
181
181
  ruby-progressbar (1.13.0)
182
- securerandom (0.3.1)
182
+ securerandom (0.4.1)
183
183
  simplecov (0.22.0)
184
184
  docile (~> 1.1)
185
185
  simplecov-html (~> 0.11)
186
186
  simplecov_json_formatter (~> 0.1)
187
187
  simplecov-html (0.13.1)
188
188
  simplecov_json_formatter (0.1.4)
189
- super_diff (0.13.0)
189
+ super_diff (0.15.0)
190
190
  attr_extras (>= 6.2.4)
191
191
  diff-lcs
192
192
  patience_diff
193
193
  thor (1.3.2)
194
194
  tzinfo (2.0.6)
195
195
  concurrent-ruby (~> 1.0)
196
- unicode-display_width (2.6.0)
197
- uri (0.13.1)
196
+ unicode-display_width (3.1.4)
197
+ unicode-emoji (~> 4.0, >= 4.0.4)
198
+ unicode-emoji (4.0.4)
199
+ uri (1.0.2)
198
200
  webmock (3.24.0)
199
201
  addressable (>= 2.8.0)
200
202
  crack (>= 0.3.2)
201
203
  hashdiff (>= 0.4.0, < 2.0.0)
202
- zeitwerk (2.7.0)
204
+ zeitwerk (2.7.1)
203
205
 
204
206
  PLATFORMS
205
207
  arm64-darwin-23
208
+ arm64-darwin-24
206
209
  x86_64-darwin-19
207
210
  x86_64-darwin-20
208
211
  x86_64-darwin-21
@@ -12,7 +12,7 @@ module SdrClient
12
12
 
13
13
  # @param [String] object_id an ID for an object
14
14
  def initialize(object_id:)
15
- @object_id = object_id
15
+ @id = object_id
16
16
  end
17
17
 
18
18
  # @raise [Failed] if the find operation fails
@@ -24,7 +24,7 @@ module SdrClient
24
24
 
25
25
  private
26
26
 
27
- attr_reader :object_id
27
+ attr_reader :id
28
28
 
29
29
  def logger
30
30
  SdrClient::RedesignedClient.config.logger
@@ -35,7 +35,7 @@ module SdrClient
35
35
  end
36
36
 
37
37
  def path
38
- format('/v1/resources/%<object_id>s', object_id: object_id)
38
+ format('/v1/resources/%<id>s', id: id)
39
39
  end
40
40
  end
41
41
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '2.18.0'
4
+ VERSION = '2.18.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.0
4
+ version: 2.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-15 00:00:00.000000000 Z
11
+ date: 2025-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport