primary_connect_client 1.5.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +74 -0
- data/lib/primary_connect_client/models/order_order.rb +2 -2
- data/lib/primary_connect_client/version.rb +1 -1
- data/primary_connect_client.gemspec +1 -1
- data/spec/models/order_order_spec.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57d5f63b3f87c6bb0c5ae7f11b46759cfaadc7bd48d71768e03f1815e91ba2b6
|
4
|
+
data.tar.gz: b0d6ac865d363ed2172b6e3e65fbf4f9d431a345a1150a5683476bc5d47dcce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f00d1d555a2ac85c922b07c29421ad3bac1679b57def073b837743ea4bfdc1d4bdd06a1f8271a5c97823ab4e529cab67138fd5527bc94f0d33bcfc9e3ee7d367
|
7
|
+
data.tar.gz: cee6a8e3c11b84ad0555979329df157526f9935300b7e452662b037e23bc1abe0a829e7be584f182b6cd28a93fcea715150df553a90a22ec2bc7461f0bcede22
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
primary_connect_client (1.7.0)
|
5
|
+
primary_connect_proto (~> 0.19.0, >= 0.19.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ast (2.4.2)
|
12
|
+
byebug (11.1.3)
|
13
|
+
coderay (1.1.3)
|
14
|
+
diff-lcs (1.5.0)
|
15
|
+
ethon (0.16.0)
|
16
|
+
ffi (>= 1.15.0)
|
17
|
+
ffi (1.15.5)
|
18
|
+
google-protobuf (3.22.0-arm64-darwin)
|
19
|
+
jaro_winkler (1.5.4)
|
20
|
+
method_source (1.0.0)
|
21
|
+
parallel (1.22.1)
|
22
|
+
parser (3.2.1.0)
|
23
|
+
ast (~> 2.4.1)
|
24
|
+
primary_connect_proto (0.19.0)
|
25
|
+
google-protobuf (~> 3.22.0)
|
26
|
+
pry (0.14.2)
|
27
|
+
coderay (~> 1.1)
|
28
|
+
method_source (~> 1.0)
|
29
|
+
pry-byebug (3.10.1)
|
30
|
+
byebug (~> 11.0)
|
31
|
+
pry (>= 0.13, < 0.15)
|
32
|
+
psych (5.1.0)
|
33
|
+
stringio
|
34
|
+
rainbow (3.1.1)
|
35
|
+
rake (13.0.6)
|
36
|
+
rspec (3.12.0)
|
37
|
+
rspec-core (~> 3.12.0)
|
38
|
+
rspec-expectations (~> 3.12.0)
|
39
|
+
rspec-mocks (~> 3.12.0)
|
40
|
+
rspec-core (3.12.1)
|
41
|
+
rspec-support (~> 3.12.0)
|
42
|
+
rspec-expectations (3.12.2)
|
43
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
+
rspec-support (~> 3.12.0)
|
45
|
+
rspec-mocks (3.12.3)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.12.0)
|
48
|
+
rspec-support (3.12.0)
|
49
|
+
rubocop (0.66.0)
|
50
|
+
jaro_winkler (~> 1.5.1)
|
51
|
+
parallel (~> 1.10)
|
52
|
+
parser (>= 2.5, != 2.5.1.1)
|
53
|
+
psych (>= 3.1.0)
|
54
|
+
rainbow (>= 2.2.2, < 4.0)
|
55
|
+
ruby-progressbar (~> 1.7)
|
56
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
57
|
+
ruby-progressbar (1.11.0)
|
58
|
+
stringio (3.0.5)
|
59
|
+
typhoeus (1.4.0)
|
60
|
+
ethon (>= 0.9.0)
|
61
|
+
unicode-display_width (1.5.0)
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
arm64-darwin-20
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
primary_connect_client!
|
68
|
+
pry-byebug
|
69
|
+
rake (~> 13.0.1)
|
70
|
+
rspec (~> 3.6, >= 3.6.0)
|
71
|
+
rubocop (~> 0.66.0)
|
72
|
+
|
73
|
+
BUNDLED WITH
|
74
|
+
2.2.26
|
@@ -322,7 +322,7 @@ module PrimaryConnectClient
|
|
322
322
|
# Check to see if the all the properties in the model are valid
|
323
323
|
# @return true if the model is valid
|
324
324
|
def valid?
|
325
|
-
status_validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED"])
|
325
|
+
status_validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
326
326
|
return false unless status_validator.valid?(@status)
|
327
327
|
priority_validator = EnumAttributeValidator.new('String', ["PRIORITY_UNKNOWN", "PRIORITY_ASAP", "PRIORITY_ROUTINE", "PRIORITY_PREOPERATIVE", "PRIORITY_TIMING_CRITICAL", "PRIORITY_STAT"])
|
328
328
|
return false unless priority_validator.valid?(@priority)
|
@@ -336,7 +336,7 @@ module PrimaryConnectClient
|
|
336
336
|
# Custom attribute writer method checking allowed values (enum).
|
337
337
|
# @param [Object] status Object to be assigned
|
338
338
|
def status=(status)
|
339
|
-
validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED"])
|
339
|
+
validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
340
340
|
unless validator.valid?(status)
|
341
341
|
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
342
342
|
end
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
-
s.add_runtime_dependency 'primary_connect_proto', '~> 0.
|
31
|
+
s.add_runtime_dependency 'primary_connect_proto', '~> 0.19.0', '>= 0.19.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
34
|
|
@@ -40,7 +40,7 @@ describe PrimaryConnectClient::OrderOrder do
|
|
40
40
|
describe 'test attribute "status"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED"])
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
44
44
|
# validator.allowable_values.each do |value|
|
45
45
|
# expect { instance.status = value }.not_to raise_error
|
46
46
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primary_connect_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -36,20 +36,20 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.19.0
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.19.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.19.0
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.19.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,6 +79,7 @@ extra_rdoc_files: []
|
|
79
79
|
files:
|
80
80
|
- CHANGELOG.md
|
81
81
|
- Gemfile
|
82
|
+
- Gemfile.lock
|
82
83
|
- README.md
|
83
84
|
- Rakefile
|
84
85
|
- docs/Accession.md
|