sdr-client 2.6.0 → 2.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e21c93822b4e8d8980f8bdd0e10d421abc93b4ea135a72e2df031c61f524bcc6
4
- data.tar.gz: 0743ae560dcbc85e38e350d7a7f0e6248cfd003a7d2fd2624f8c509922d5b330
3
+ metadata.gz: e5cfe9b4451ed3b6d68c8f39cafc80528f978ded12f0fafeb92998b89ebe08eb
4
+ data.tar.gz: 988ff36dc15ae15dc1e1955dfc35a12a4fbe2a6b958222a98346f5a2ad130516
5
5
  SHA512:
6
- metadata.gz: 70a7b89c29ff97969b1e2144ed85a380be022cfe49a994fe4b3d7a6c1711f8b26199a37451a23b813bbff5e276e27483af01127a124ce9b758de3a9145e0554d
7
- data.tar.gz: 95846265c5a963713e7a69009fd129a40f06afd43d9be8fa0a3c2a179abd11add3910e6445b722f61ba6cb21445b2ce0a0803ebcf3c366f13f2548600432c2cd
6
+ metadata.gz: 6a171b923b97b524b64a6576da221b6d17ac80537317285e07a239f38e1d157b99303941411cdba6d7c8add3ed9ac0cff22248b3091bd8f2d1d481e0a8d758c5
7
+ data.tar.gz: 3cc1b5dc8a79a6f0ec9f8102dc8273839a2997deaa10fbcc9c4bbb1f21ef030513231bbc79b4310e0fc532960f40a761dd038b0bc8331e67eaf2ba9d4d6f442e
data/.rubocop.yml CHANGED
@@ -305,3 +305,12 @@ RSpec/SpecFilePathSuffix: # new in 2.24
305
305
  Enabled: true
306
306
  RSpec/Rails/NegationBeValid: # new in 2.23
307
307
  Enabled: true
308
+
309
+ Capybara/ClickLinkOrButtonStyle: # new in 2.19
310
+ Enabled: true
311
+ Capybara/RSpec/HaveSelector: # new in 2.19
312
+ Enabled: true
313
+ Capybara/RSpec/PredicateMatcher: # new in 2.19
314
+ Enabled: true
315
+ FactoryBot/IdSequence: # new in <<next>>
316
+ Enabled: true
data/.rubocop_todo.yml CHANGED
@@ -56,7 +56,7 @@ Metrics/MethodLength:
56
56
  RSpec/ExampleLength:
57
57
  Exclude:
58
58
  - 'spec/sdr_client/deposit_spec.rb'
59
- - 'spec/sdr_client/model_deposit_spec.rb'
59
+ - 'spec/sdr_client/deposit_model_spec.rb'
60
60
  - 'spec/sdr_client/update_spec.rb'
61
61
 
62
62
  # Offense count: 1
@@ -75,7 +75,7 @@ RSpec/MultipleExpectations:
75
75
  - 'spec/sdr_client/deposit_spec.rb'
76
76
  - 'spec/sdr_client/find_spec.rb'
77
77
  - 'spec/sdr_client/login_spec.rb'
78
- - 'spec/sdr_client/model_deposit_spec.rb'
78
+ - 'spec/sdr_client/deposit_model_spec.rb'
79
79
 
80
80
  # Offense count: 24
81
81
  # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sdr-client (2.6.0)
4
+ sdr-client (2.7.0)
5
5
  activesupport
6
- cocina-models (~> 0.91.0)
6
+ cocina-models (~> 0.92.0)
7
7
  config
8
8
  dry-monads
9
9
  faraday (>= 0.16)
@@ -12,24 +12,31 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.8)
15
+ activesupport (7.1.1)
16
+ base64
17
+ bigdecimal
16
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ connection_pool (>= 2.2.5)
20
+ drb
17
21
  i18n (>= 1.6, < 2)
18
22
  minitest (>= 5.1)
23
+ mutex_m
19
24
  tzinfo (~> 2.0)
20
25
  addressable (2.8.5)
21
26
  public_suffix (>= 2.0.2, < 6.0)
22
27
  ast (2.4.2)
23
28
  attr_extras (7.1.0)
24
29
  base64 (0.1.1)
30
+ bigdecimal (3.1.4)
25
31
  byebug (11.1.3)
26
- cocina-models (0.91.0)
32
+ cocina-models (0.92.0)
27
33
  activesupport
28
34
  deprecation
29
35
  dry-struct (~> 1.0)
30
36
  dry-types (~> 1.1)
31
37
  edtf
32
38
  equivalent-xml
39
+ i18n
33
40
  jsonpath
34
41
  nokogiri
35
42
  openapi3_parser
@@ -40,9 +47,10 @@ GEM
40
47
  zeitwerk (~> 2.1)
41
48
  commonmarker (0.23.10)
42
49
  concurrent-ruby (1.2.2)
43
- config (4.2.1)
50
+ config (5.0.0)
44
51
  deep_merge (~> 1.2, >= 1.2.1)
45
52
  dry-validation (~> 1.0, >= 1.0.0)
53
+ connection_pool (2.4.1)
46
54
  crack (0.4.5)
47
55
  rexml
48
56
  deep_merge (1.2.2)
@@ -50,6 +58,8 @@ GEM
50
58
  activesupport
51
59
  diff-lcs (1.5.0)
52
60
  docile (1.4.0)
61
+ drb (2.1.1)
62
+ ruby2_keywords
53
63
  dry-configurable (1.1.0)
54
64
  dry-core (~> 1.0, < 2)
55
65
  zeitwerk (~> 2.6)
@@ -95,7 +105,8 @@ GEM
95
105
  activesupport (>= 3.0, < 8.0)
96
106
  equivalent-xml (0.6.0)
97
107
  nokogiri (>= 1.4.3)
98
- faraday (2.7.10)
108
+ faraday (2.7.11)
109
+ base64
99
110
  faraday-net_http (>= 2.0, < 3.1)
100
111
  ruby2_keywords (>= 0.0.4)
101
112
  faraday-net_http (3.0.2)
@@ -104,13 +115,14 @@ GEM
104
115
  concurrent-ruby (~> 1.0)
105
116
  ice_nine (0.11.2)
106
117
  json (2.6.3)
107
- jsonpath (1.1.3)
118
+ jsonpath (1.1.5)
108
119
  multi_json
109
120
  language_server-protocol (3.17.0.3)
110
121
  launchy (2.5.2)
111
122
  addressable (~> 2.8)
112
123
  minitest (5.20.0)
113
124
  multi_json (1.15.0)
125
+ mutex_m (0.1.2)
114
126
  nokogiri (1.15.4-x86_64-darwin)
115
127
  racc (~> 1.4)
116
128
  nokogiri (1.15.4-x86_64-linux)
@@ -120,7 +132,7 @@ GEM
120
132
  openapi_parser (1.0.0)
121
133
  optimist (3.1.0)
122
134
  parallel (1.23.0)
123
- parser (3.2.2.3)
135
+ parser (3.2.2.4)
124
136
  ast (~> 2.4.1)
125
137
  racc
126
138
  patience_diff (1.2.0)
@@ -128,8 +140,8 @@ GEM
128
140
  public_suffix (5.0.3)
129
141
  racc (1.7.1)
130
142
  rainbow (3.1.1)
131
- rake (13.0.6)
132
- regexp_parser (2.8.1)
143
+ rake (13.1.0)
144
+ regexp_parser (2.8.2)
133
145
  rexml (3.2.6)
134
146
  rspec (3.12.0)
135
147
  rspec-core (~> 3.12.0)
@@ -148,28 +160,27 @@ GEM
148
160
  rspec-core (>= 2, < 4, != 2.12.0)
149
161
  rss (0.3.0)
150
162
  rexml
151
- rubocop (1.56.3)
152
- base64 (~> 0.1.1)
163
+ rubocop (1.57.2)
153
164
  json (~> 2.3)
154
165
  language_server-protocol (>= 3.17.0)
155
166
  parallel (~> 1.10)
156
- parser (>= 3.2.2.3)
167
+ parser (>= 3.2.2.4)
157
168
  rainbow (>= 2.2.2, < 4.0)
158
169
  regexp_parser (>= 1.8, < 3.0)
159
170
  rexml (>= 3.2.5, < 4.0)
160
171
  rubocop-ast (>= 1.28.1, < 2.0)
161
172
  ruby-progressbar (~> 1.7)
162
173
  unicode-display_width (>= 2.4.0, < 3.0)
163
- rubocop-ast (1.29.0)
174
+ rubocop-ast (1.30.0)
164
175
  parser (>= 3.2.1.0)
165
- rubocop-capybara (2.18.0)
176
+ rubocop-capybara (2.19.0)
166
177
  rubocop (~> 1.41)
167
- rubocop-factory_bot (2.23.1)
178
+ rubocop-factory_bot (2.24.0)
168
179
  rubocop (~> 1.33)
169
180
  rubocop-rake (0.6.0)
170
181
  rubocop (~> 1.0)
171
- rubocop-rspec (2.24.0)
172
- rubocop (~> 1.33)
182
+ rubocop-rspec (2.25.0)
183
+ rubocop (~> 1.40)
173
184
  rubocop-capybara (~> 2.17)
174
185
  rubocop-factory_bot (~> 2.22)
175
186
  ruby-progressbar (1.13.0)
@@ -184,18 +195,19 @@ GEM
184
195
  attr_extras (>= 6.2.4)
185
196
  diff-lcs
186
197
  patience_diff
187
- thor (1.2.2)
198
+ thor (1.3.0)
188
199
  tzinfo (2.0.6)
189
200
  concurrent-ruby (~> 1.0)
190
- unicode-display_width (2.4.2)
201
+ unicode-display_width (2.5.0)
191
202
  webmock (3.19.1)
192
203
  addressable (>= 2.8.0)
193
204
  crack (>= 0.3.2)
194
205
  hashdiff (>= 0.4.0, < 2.0.0)
195
- zeitwerk (2.6.11)
206
+ zeitwerk (2.6.12)
196
207
 
197
208
  PLATFORMS
198
209
  x86_64-darwin-19
210
+ x86_64-darwin-20
199
211
  x86_64-darwin-21
200
212
  x86_64-darwin-22
201
213
  x86_64-linux
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '2.6.0'
4
+ VERSION = '2.7.0'
5
5
  end
data/lib/sdr_client.rb CHANGED
@@ -3,9 +3,7 @@
3
3
  require 'dry/monads'
4
4
  require 'faraday'
5
5
  require 'active_support'
6
- require 'active_support/core_ext/object/json'
7
- require 'active_support/core_ext/hash/indifferent_access'
8
- require 'active_support/core_ext/file/atomic'
6
+ require 'active_support/core_ext'
9
7
  require 'cocina/models'
10
8
 
11
9
  require 'sdr_client/version'
data/sdr-client.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ['lib']
29
29
 
30
30
  spec.add_dependency 'activesupport'
31
- spec.add_dependency 'cocina-models', '~> 0.91.0'
31
+ spec.add_dependency 'cocina-models', '~> 0.92.0'
32
32
  spec.add_dependency 'config'
33
33
  spec.add_dependency 'dry-monads'
34
34
  spec.add_dependency 'faraday', '>= 0.16'
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.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2023-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.91.0
33
+ version: 0.92.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.91.0
40
+ version: 0.92.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: config
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.3.7
181
+ rubygems_version: 3.4.19
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: The CLI for https://github.com/sul-dlss/sdr-api