preservation-client 5.0.0 → 5.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39ea8bf13aa4ea7f31c0e1b6db7fd7949c64cf4c38d3118d27786d6fa63aa39e
4
- data.tar.gz: 26ca36a68ebf7f529da2f6e35e9728613efbf9160ef389e867bd29f071d93390
3
+ metadata.gz: 9c2de24ad9435d7b9ae73d7973f54f2b2f2fd5fdae08d0e2e7e958feec532658
4
+ data.tar.gz: 5c08e269ef3d3b2f6c4e0d5094dcd563ac474fd9d4631cdf9dfe343b2608c3b9
5
5
  SHA512:
6
- metadata.gz: cbc73fe77e36da28cc23d000da1d3fda2bd66d3b287e8ff0c71b176b970d8a83fae43d2ba1d01d03bfca5d040c17192f7b9253bfcf234d8bd2a8e1cfbe100cf5
7
- data.tar.gz: 6a64a04556ba1d4fb3e609a2a86a1603baaaf7f1a6d669eaab9d810e3e5ff66218437db454d9be0dcdfd9e304f1271a321baf80d3f697164fb166e0ed7457237
6
+ metadata.gz: 8a7ac074a5e6b1f621a2ed02986e7233f2195fe7bba3eeb7682f201c49bf0006e815a0f7923aa4efe595ae814427c3e2a7e5d897fa4268f8030cacbdc934df56
7
+ data.tar.gz: 38a734aad0ff248bde114ee4d26dd89c72c5acd7de352f9abee2d2b98a3d8d523801b5cf7c0c65231bc5d59f7a5a7a2d76ffb15a5cca195c6a3e5cdc06bb2861
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- preservation-client (5.0.0)
4
+ preservation-client (5.1.1)
5
5
  activesupport (>= 4.2, < 8)
6
6
  faraday (~> 2.0)
7
- moab-versioning (~> 5.0)
7
+ moab-versioning (>= 5.0.0, < 7)
8
8
  zeitwerk (~> 2.1)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.0.4)
13
+ activesupport (7.0.4.2)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 1.6, < 2)
16
16
  minitest (>= 5.1)
@@ -20,82 +20,83 @@ GEM
20
20
  ast (2.4.2)
21
21
  byebug (11.1.3)
22
22
  coderay (1.1.3)
23
- concurrent-ruby (1.1.10)
23
+ concurrent-ruby (1.2.0)
24
24
  crack (0.4.5)
25
25
  rexml
26
26
  diff-lcs (1.5.0)
27
27
  docile (1.4.0)
28
28
  druid-tools (3.0.0)
29
- faraday (2.5.2)
29
+ faraday (2.7.4)
30
30
  faraday-net_http (>= 2.0, < 3.1)
31
31
  ruby2_keywords (>= 0.0.4)
32
- faraday-net_http (3.0.0)
32
+ faraday-net_http (3.0.2)
33
33
  hashdiff (1.0.1)
34
34
  i18n (1.12.0)
35
35
  concurrent-ruby (~> 1.0)
36
- json (2.6.2)
36
+ json (2.6.3)
37
37
  method_source (1.0.0)
38
- mini_portile2 (2.8.0)
39
- minitest (5.16.3)
38
+ minitest (5.17.0)
40
39
  moab-versioning (5.2.0)
41
40
  druid-tools (>= 1.0.0)
42
41
  json
43
42
  nokogiri
44
43
  nokogiri-happymapper
45
- nokogiri (1.13.8)
46
- mini_portile2 (~> 2.8.0)
44
+ nokogiri (1.14.0-x86_64-darwin)
47
45
  racc (~> 1.4)
48
- nokogiri (1.13.8-x86_64-darwin)
46
+ nokogiri (1.14.0-x86_64-linux)
49
47
  racc (~> 1.4)
50
48
  nokogiri-happymapper (0.9.0)
51
49
  nokogiri (~> 1.5)
52
50
  parallel (1.22.1)
53
- parser (3.1.2.1)
51
+ parser (3.2.0.0)
54
52
  ast (~> 2.4.1)
55
- pry (0.14.1)
53
+ pry (0.14.2)
56
54
  coderay (~> 1.1)
57
55
  method_source (~> 1.0)
58
56
  pry-byebug (3.10.1)
59
57
  byebug (~> 11.0)
60
58
  pry (>= 0.13, < 0.15)
61
- public_suffix (5.0.0)
62
- racc (1.6.0)
59
+ public_suffix (5.0.1)
60
+ racc (1.6.2)
63
61
  rainbow (3.1.1)
64
62
  rake (13.0.6)
65
- regexp_parser (2.6.0)
63
+ regexp_parser (2.6.2)
66
64
  rexml (3.2.5)
67
- rspec (3.11.0)
68
- rspec-core (~> 3.11.0)
69
- rspec-expectations (~> 3.11.0)
70
- rspec-mocks (~> 3.11.0)
71
- rspec-core (3.11.0)
72
- rspec-support (~> 3.11.0)
73
- rspec-expectations (3.11.1)
65
+ rspec (3.12.0)
66
+ rspec-core (~> 3.12.0)
67
+ rspec-expectations (~> 3.12.0)
68
+ rspec-mocks (~> 3.12.0)
69
+ rspec-core (3.12.0)
70
+ rspec-support (~> 3.12.0)
71
+ rspec-expectations (3.12.2)
74
72
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.11.0)
76
- rspec-mocks (3.11.1)
73
+ rspec-support (~> 3.12.0)
74
+ rspec-mocks (3.12.3)
77
75
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.11.0)
79
- rspec-support (3.11.1)
80
- rubocop (1.36.0)
76
+ rspec-support (~> 3.12.0)
77
+ rspec-support (3.12.0)
78
+ rubocop (1.43.0)
81
79
  json (~> 2.3)
82
80
  parallel (~> 1.10)
83
- parser (>= 3.1.2.1)
81
+ parser (>= 3.2.0.0)
84
82
  rainbow (>= 2.2.2, < 4.0)
85
83
  regexp_parser (>= 1.8, < 3.0)
86
84
  rexml (>= 3.2.5, < 4.0)
87
- rubocop-ast (>= 1.20.1, < 2.0)
85
+ rubocop-ast (>= 1.24.1, < 2.0)
88
86
  ruby-progressbar (~> 1.7)
89
- unicode-display_width (>= 1.4.0, < 3.0)
90
- rubocop-ast (1.21.0)
87
+ unicode-display_width (>= 2.4.0, < 3.0)
88
+ rubocop-ast (1.24.1)
91
89
  parser (>= 3.1.1.0)
90
+ rubocop-capybara (2.17.0)
91
+ rubocop (~> 1.41)
92
92
  rubocop-rake (0.6.0)
93
93
  rubocop (~> 1.0)
94
- rubocop-rspec (2.13.2)
94
+ rubocop-rspec (2.18.1)
95
95
  rubocop (~> 1.33)
96
+ rubocop-capybara (~> 2.17)
96
97
  ruby-progressbar (1.11.0)
97
98
  ruby2_keywords (0.0.5)
98
- simplecov (0.21.2)
99
+ simplecov (0.22.0)
99
100
  docile (~> 1.1)
100
101
  simplecov-html (~> 0.11)
101
102
  simplecov_json_formatter (~> 0.1)
@@ -103,12 +104,12 @@ GEM
103
104
  simplecov_json_formatter (0.1.4)
104
105
  tzinfo (2.0.5)
105
106
  concurrent-ruby (~> 1.0)
106
- unicode-display_width (2.3.0)
107
+ unicode-display_width (2.4.2)
107
108
  webmock (3.18.1)
108
109
  addressable (>= 2.8.0)
109
110
  crack (>= 0.3.2)
110
111
  hashdiff (>= 0.4.0, < 2.0.0)
111
- zeitwerk (2.6.1)
112
+ zeitwerk (2.6.6)
112
113
 
113
114
  PLATFORMS
114
115
  x86_64-darwin-19
@@ -127,4 +128,4 @@ DEPENDENCIES
127
128
  webmock
128
129
 
129
130
  BUNDLED WITH
130
- 2.3.17
131
+ 2.3.26
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Preservation
4
4
  class Client
5
- VERSION = '5.0.0'
5
+ VERSION = '5.1.1'
6
6
  end
7
7
  end
@@ -77,7 +77,7 @@ module Preservation
77
77
  end
78
78
 
79
79
  def connection
80
- @connection ||= Faraday.new(url) do |builder|
80
+ @connection ||= Faraday.new(url, request: { read_timeout: 300 }) do |builder|
81
81
  builder.use ErrorFaradayMiddleware
82
82
  builder.use Faraday::Request::UrlEncoded
83
83
  builder.use Faraday::Response::RaiseError # raise exceptions on 40x, 50x responses
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
 
32
32
  spec.add_dependency 'activesupport', '>= 4.2', '< 8'
33
33
  spec.add_dependency 'faraday', '~> 2.0'
34
- spec.add_dependency 'moab-versioning', '~> 5.0'
34
+ spec.add_dependency 'moab-versioning', '>= 5.0.0', '< 7'
35
35
  spec.add_dependency 'zeitwerk', '~> 2.1'
36
36
 
37
37
  spec.add_development_dependency 'bundler', '~> 2.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preservation-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naomi Dushay
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-05 00:00:00.000000000 Z
11
+ date: 2023-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -48,16 +48,22 @@ dependencies:
48
48
  name: moab-versioning
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 5.0.0
54
+ - - "<"
52
55
  - !ruby/object:Gem::Version
53
- version: '5.0'
56
+ version: '7'
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
- - - "~>"
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 5.0.0
64
+ - - "<"
59
65
  - !ruby/object:Gem::Version
60
- version: '5.0'
66
+ version: '7'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: zeitwerk
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -249,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
255
  - !ruby/object:Gem::Version
250
256
  version: '0'
251
257
  requirements: []
252
- rubygems_version: 3.3.22
258
+ rubygems_version: 3.3.10
253
259
  signing_key:
254
260
  specification_version: 4
255
261
  summary: A thin client for getting info from SDR preservation.