primary_connect_client 1.5.1 → 1.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd3ab619a90c535c498888045d6a8edee097bb35ebe2e6ab3c7a50f72141ef7c
|
4
|
+
data.tar.gz: 32e5d5f10a1ebdecf33baf856d4d175e6a2643775f12d6b028b6718e32e79a88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4800ab8e86551e15559f0e589be648e613ad8b6178c629dc796d54dec26a5faf14d2e61c498867c594e25f1970e05003cb53574a95dcce23ab667250c0d428
|
7
|
+
data.tar.gz: fc856b0f324c49a10b5efde57c80406045a5c1779264ad48495e30797eb87e72ab4a48988d96920d46cfb9bb9193d958a1155e24217f4c5a4b6b30a2fc1fe3c7
|
data/CHANGELOG.md
CHANGED
@@ -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.18.0', '>= 0.18.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.6.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-01 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.18.0
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.18.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.18.0
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.18.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|