folio_client 0.16.0 → 0.17.0

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: da03f2878d6f8a2fb1ae082580b5aff119922c4175c8ee728b23a4939280b1f2
4
- data.tar.gz: 53e1db7d78323b83a2e60f4220f3b636f6ab55d11182ab6684b76aaf08c70cfe
3
+ metadata.gz: 56da738676b7e388431bd7df800101f1d9263154af720809d72f3710aa1ec492
4
+ data.tar.gz: cbdec1ca313e1800b96229ef90ab014ec4a18a3f31e04424aec95da573b83a6d
5
5
  SHA512:
6
- metadata.gz: f4ada8c1720ba8e2942c96bffd6919f1064dab43740f07606153403ff75baf558ac001eb6347c2b271ed8a9d730727acf611c189a212d64a4ecefa68da19d30c
7
- data.tar.gz: 1fffec41e5286364b033f3456b23f73f03aaa83c9d1ab8a8a23c11ce739c0b26adadf4111c9a81434449d3d74635a42aebf45bfeb5c3da9ffff6da8f17233e24
6
+ metadata.gz: 02bde3498c2bf91d4ea51888cb53672198f59af32f40d36f713237c8631135984790aab6ea447cef99a58fe2c0d6ea849ad43319cba9b888789173b6932242f9
7
+ data.tar.gz: 14ebfb14e447dad4d0758566cdc0c12125d397da74d703ada8806c6eeaae9d9f43016ac5aeedc338fbe4e5c26c3c1675ed3e1d667aaec15cf25d4a51ec861bbf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- folio_client (0.16.0)
4
+ folio_client (0.17.0)
5
5
  activesupport (>= 4.2, < 8)
6
6
  dry-monads
7
7
  faraday
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.1.2)
15
+ activesupport (7.1.3.4)
16
16
  base64
17
17
  bigdecimal
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -26,17 +26,17 @@ GEM
26
26
  public_suffix (>= 2.0.2, < 6.0)
27
27
  ast (2.4.2)
28
28
  base64 (0.2.0)
29
- bigdecimal (3.1.5)
29
+ bigdecimal (3.1.8)
30
30
  byebug (11.1.3)
31
- concurrent-ruby (1.2.2)
31
+ concurrent-ruby (1.3.3)
32
32
  connection_pool (2.4.1)
33
- crack (0.4.5)
33
+ crack (1.0.0)
34
+ bigdecimal
34
35
  rexml
35
- diff-lcs (1.5.0)
36
+ diff-lcs (1.5.1)
36
37
  docile (1.4.0)
37
- domain_name (0.6.20231109)
38
- drb (2.2.0)
39
- ruby2_keywords
38
+ domain_name (0.6.20240107)
39
+ drb (2.2.1)
40
40
  dry-core (1.0.1)
41
41
  concurrent-ruby (~> 1.0)
42
42
  zeitwerk (~> 2.6)
@@ -44,76 +44,80 @@ GEM
44
44
  concurrent-ruby (~> 1.0)
45
45
  dry-core (~> 1.0, < 2)
46
46
  zeitwerk (~> 2.6)
47
- faraday (2.8.1)
48
- base64
49
- faraday-net_http (>= 2.0, < 3.1)
50
- ruby2_keywords (>= 0.0.4)
47
+ faraday (2.9.1)
48
+ faraday-net_http (>= 2.0, < 3.2)
51
49
  faraday-cookie_jar (0.0.7)
52
50
  faraday (>= 0.8.0)
53
51
  http-cookie (~> 1.0.0)
54
- faraday-net_http (3.0.2)
52
+ faraday-net_http (3.1.0)
53
+ net-http
55
54
  hashdiff (1.1.0)
56
- http-cookie (1.0.5)
55
+ http-cookie (1.0.6)
57
56
  domain_name (~> 0.5)
58
- i18n (1.14.1)
57
+ i18n (1.14.5)
59
58
  concurrent-ruby (~> 1.0)
60
- json (2.7.1)
59
+ json (2.7.2)
61
60
  language_server-protocol (3.17.0.3)
62
61
  marc (1.2.0)
63
62
  rexml
64
63
  scrub_rb (>= 1.0.1, < 2)
65
64
  unf
66
- minitest (5.20.0)
65
+ minitest (5.23.1)
67
66
  mutex_m (0.2.0)
68
- parallel (1.24.0)
69
- parser (3.3.0.2)
67
+ net-http (0.4.1)
68
+ uri
69
+ parallel (1.25.1)
70
+ parser (3.3.2.0)
70
71
  ast (~> 2.4.1)
71
72
  racc
72
- public_suffix (5.0.4)
73
- racc (1.7.3)
73
+ public_suffix (5.0.5)
74
+ racc (1.8.0)
74
75
  rainbow (3.1.1)
75
- rake (13.1.0)
76
- regexp_parser (2.8.3)
77
- rexml (3.2.6)
78
- rspec (3.12.0)
79
- rspec-core (~> 3.12.0)
80
- rspec-expectations (~> 3.12.0)
81
- rspec-mocks (~> 3.12.0)
82
- rspec-core (3.12.2)
83
- rspec-support (~> 3.12.0)
84
- rspec-expectations (3.12.3)
76
+ rake (13.2.1)
77
+ regexp_parser (2.9.2)
78
+ rexml (3.2.9)
79
+ strscan
80
+ rspec (3.13.0)
81
+ rspec-core (~> 3.13.0)
82
+ rspec-expectations (~> 3.13.0)
83
+ rspec-mocks (~> 3.13.0)
84
+ rspec-core (3.13.0)
85
+ rspec-support (~> 3.13.0)
86
+ rspec-expectations (3.13.0)
85
87
  diff-lcs (>= 1.2.0, < 2.0)
86
- rspec-support (~> 3.12.0)
87
- rspec-mocks (3.12.6)
88
+ rspec-support (~> 3.13.0)
89
+ rspec-mocks (3.13.1)
88
90
  diff-lcs (>= 1.2.0, < 2.0)
89
- rspec-support (~> 3.12.0)
90
- rspec-support (3.12.1)
91
- rubocop (1.59.0)
91
+ rspec-support (~> 3.13.0)
92
+ rspec-support (3.13.1)
93
+ rubocop (1.64.1)
92
94
  json (~> 2.3)
93
95
  language_server-protocol (>= 3.17.0)
94
96
  parallel (~> 1.10)
95
- parser (>= 3.2.2.4)
97
+ parser (>= 3.3.0.2)
96
98
  rainbow (>= 2.2.2, < 4.0)
97
99
  regexp_parser (>= 1.8, < 3.0)
98
100
  rexml (>= 3.2.5, < 4.0)
99
- rubocop-ast (>= 1.30.0, < 2.0)
101
+ rubocop-ast (>= 1.31.1, < 2.0)
100
102
  ruby-progressbar (~> 1.7)
101
103
  unicode-display_width (>= 2.4.0, < 3.0)
102
- rubocop-ast (1.30.0)
103
- parser (>= 3.2.1.0)
104
- rubocop-capybara (2.20.0)
104
+ rubocop-ast (1.31.3)
105
+ parser (>= 3.3.1.0)
106
+ rubocop-capybara (2.21.0)
105
107
  rubocop (~> 1.41)
106
- rubocop-factory_bot (2.25.1)
108
+ rubocop-factory_bot (2.26.0)
107
109
  rubocop (~> 1.41)
108
- rubocop-performance (1.20.1)
110
+ rubocop-performance (1.21.0)
109
111
  rubocop (>= 1.48.1, < 2.0)
110
- rubocop-ast (>= 1.30.0, < 2.0)
111
- rubocop-rspec (2.26.1)
112
+ rubocop-ast (>= 1.31.1, < 2.0)
113
+ rubocop-rspec (2.31.0)
112
114
  rubocop (~> 1.40)
113
115
  rubocop-capybara (~> 2.17)
114
116
  rubocop-factory_bot (~> 2.22)
117
+ rubocop-rspec_rails (~> 2.28)
118
+ rubocop-rspec_rails (2.29.0)
119
+ rubocop (~> 1.40)
115
120
  ruby-progressbar (1.13.0)
116
- ruby2_keywords (0.0.5)
117
121
  scrub_rb (1.0.1)
118
122
  simplecov (0.22.0)
119
123
  docile (~> 1.1)
@@ -121,19 +125,22 @@ GEM
121
125
  simplecov_json_formatter (~> 0.1)
122
126
  simplecov-html (0.12.3)
123
127
  simplecov_json_formatter (0.1.4)
128
+ strscan (3.1.0)
124
129
  tzinfo (2.0.6)
125
130
  concurrent-ruby (~> 1.0)
126
131
  unf (0.1.4)
127
132
  unf_ext
128
133
  unf_ext (0.0.9.1)
129
134
  unicode-display_width (2.5.0)
130
- webmock (3.19.1)
135
+ uri (0.13.0)
136
+ webmock (3.23.1)
131
137
  addressable (>= 2.8.0)
132
138
  crack (>= 0.3.2)
133
139
  hashdiff (>= 0.4.0, < 2.0.0)
134
- zeitwerk (2.6.12)
140
+ zeitwerk (2.6.15)
135
141
 
136
142
  PLATFORMS
143
+ arm64-darwin-23
137
144
  x86_64-darwin-19
138
145
  x86_64-darwin-20
139
146
  x86_64-darwin-21
@@ -28,6 +28,7 @@ class FolioClient
28
28
  parsed_record_id = record_json['parsedRecordId']
29
29
  # setting this field on the JSON we send back is what will allow optimistic locking to catch stale updates
30
30
  record_json['relatedRecordVersion'] = version
31
+ record_json['_actionType'] = 'edit'
31
32
 
32
33
  yield record_json
33
34
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FolioClient
4
- VERSION = '0.16.0'
4
+ VERSION = '0.17.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: folio_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  - !ruby/object:Gem::Version
248
248
  version: '0'
249
249
  requirements: []
250
- rubygems_version: 3.4.22
250
+ rubygems_version: 3.4.19
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: Interface for interacting with the Folio ILS API.