stbaldricks 6.15.0 → 6.15.1.alpha.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38370de6f6649a12d116f27c2a87fc6cf51b39c04fbd8cf8b763d70d4ee218d
|
4
|
+
data.tar.gz: 0f8f27afc286fd6d711826e084e56cc3267514ecd2115ab12a0ca256530e6a03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49ea878c30e35efbaa7d89048d2fb787ff7255edab1effa1c27f61cd73101db6742e2131c85be32f2307874e0554798787bbb21ade80f675bce1b42f473f528b
|
7
|
+
data.tar.gz: ddd030a993eaf5ba3c11525cf9ad62047e85c34d1ad4fe738d7802a9afbdaf7077fde65b5da96fa064984ac6c06fee63da299374dd341ed3bd9d004846eb01f7
|
@@ -8,8 +8,8 @@ module SBF
|
|
8
8
|
order = order.to_json unless order.is_a? String
|
9
9
|
with = normalize_with(with)
|
10
10
|
|
11
|
-
response = SBF::Client::Api::Request.
|
12
|
-
"
|
11
|
+
response = SBF::Client::Api::Request.post_request(
|
12
|
+
"#{base_uri}/checkout",
|
13
13
|
filter: filter, order: order, limit: limit, offset: offset, with: with
|
14
14
|
)
|
15
15
|
parsed_response_body = JSON.parse(response.body).symbolize!
|
@@ -27,6 +27,36 @@ module SBF
|
|
27
27
|
collection
|
28
28
|
end
|
29
29
|
end
|
30
|
+
|
31
|
+
def list_checkouts
|
32
|
+
response = SBF::Client::Api::Request.post_request(
|
33
|
+
"#{base_uri}/list_checkouts"
|
34
|
+
)
|
35
|
+
parsed_response_body = JSON.parse(response.body).symbolize!
|
36
|
+
|
37
|
+
if ok?(response)
|
38
|
+
data = parsed_response_body
|
39
|
+
else
|
40
|
+
error = SBF::Client::ErrorEntity.new(parsed_response_body)
|
41
|
+
end
|
42
|
+
|
43
|
+
SBF::Client::Api::Response.new(http_code: response.code, data: data, error: error)
|
44
|
+
end
|
45
|
+
|
46
|
+
def release_checkout(checkout_id)
|
47
|
+
response = SBF::Client::Api::Request.post_request(
|
48
|
+
"#{base_uri}/release_checkout", checkout_id: checkout_id
|
49
|
+
)
|
50
|
+
parsed_response_body = JSON.parse(response.body).symbolize!
|
51
|
+
|
52
|
+
if ok?(response)
|
53
|
+
data = parsed_response_body
|
54
|
+
else
|
55
|
+
error = SBF::Client::ErrorEntity.new(parsed_response_body)
|
56
|
+
end
|
57
|
+
|
58
|
+
SBF::Client::Api::Response.new(http_code: response.code, data: data, error: error)
|
59
|
+
end
|
30
60
|
end
|
31
61
|
end
|
32
62
|
end
|
@@ -9,13 +9,15 @@ module SBF
|
|
9
9
|
module Client
|
10
10
|
class DeduplicatorMatch < SBF::Client::TopLevelEntity
|
11
11
|
actions DEFAULT_CRUD_ACTIONS
|
12
|
+
endpoint SBF::Client::DeduplicatorMatchEndpoint
|
12
13
|
blacklist_action :get
|
13
|
-
blacklist_action :find
|
14
14
|
blacklist_action :save
|
15
15
|
blacklist_action :create
|
16
16
|
blacklist_action :delete
|
17
17
|
blacklist_action :aggregate
|
18
18
|
action :checkout
|
19
|
+
action :list_checkouts
|
20
|
+
action :release_checkout
|
19
21
|
|
20
22
|
module Status
|
21
23
|
READY = 'ready'
|
@@ -27,7 +29,7 @@ module SBF
|
|
27
29
|
|
28
30
|
attr_accessor :id
|
29
31
|
attr_accessor :checkout_id
|
30
|
-
attr_accessor :
|
32
|
+
attr_accessor :status
|
31
33
|
attr_accessor :date_created
|
32
34
|
attr_accessor :date_modified
|
33
35
|
entity_collection_attr_accessor :persons, 'SBF::Client::FullPerson', nil, true
|
data/lib/stbaldricks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbaldricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.15.
|
4
|
+
version: 6.15.1.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -237,9 +237,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
237
237
|
version: '0'
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- - "
|
240
|
+
- - ">"
|
241
241
|
- !ruby/object:Gem::Version
|
242
|
-
version:
|
242
|
+
version: 1.3.1
|
243
243
|
requirements: []
|
244
244
|
rubygems_version: 3.0.1
|
245
245
|
signing_key:
|