affixapi 1.1.77 → 1.1.78

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: 712a1fceefa644e78454cc87d665a718fe8d610c4f4134f40de0b2574ff8fe7a
4
- data.tar.gz: ae58ace3941a251e3f7260b2cb13a681b6e2525875715c13172293d787b9f3b1
3
+ metadata.gz: 41c030fe428c01f6df3a87f46750e828548aaab0e53cf5b0f27dd4ea0dc28b16
4
+ data.tar.gz: 12af573766f85b181e704defd56e0ffa8f18d7bfbcc2c8cc192add8a6786cb9d
5
5
  SHA512:
6
- metadata.gz: 3ea52bc8ff29f68eec0a17b03915b88aa3ff1e5298e1c8c55924ae2e8ad3958a9ce9d0b99b8acefbe18d2e85ba58ea2f42524932b8478e4602a3425b8cd671a3
7
- data.tar.gz: 8bf050b2a08c9db4762198563deef49ecc2e3134e7f33db283962e53cbb43e2ccbda61fae9f0138eb29ab4f2b452653c182dad491bb9d172dfcd224615ef504c
6
+ metadata.gz: 7544c7444d359aea0a73cd0696e71c05b8a878755d2498375a98649f16001c3e971f265969ca5d1cf8e16047f65f12d7411bf5acdb01bcc0ecde6f555ebe0d89
7
+ data.tar.gz: 77150caf070aa65a5ec893deccc34ef1dcc30cc87d85e7434c20026df4a14eca50c04018f8a06150b18370380adb9ebdc619ef33df5f48af5341d5b3be69b991
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.77)
4
+ affixapi (1.1.78)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@
16
16
  | **tax_id** | **String** | | [optional] |
17
17
  | **gender** | **String** | | [optional] |
18
18
  | **ethnicity** | **String** | | [optional] |
19
- | **marital_status** | **String** | | [optional] |
19
+ | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, widowed, etc | [optional] |
20
20
  | **date_of_birth** | **Date** | | [optional] |
21
21
  | **employment_status** | [**EmploymentStatusNotNullRequest**](EmploymentStatusNotNullRequest.md) | | [optional] |
22
22
  | **employment_type** | **String** | | [optional] |
@@ -18,7 +18,7 @@
18
18
  | **tax_id** | **String** | | |
19
19
  | **gender** | **String** | | |
20
20
  | **ethnicity** | **String** | | |
21
- | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, divorced, widowed, etc | |
21
+ | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, widowed, etc | |
22
22
  | **date_of_birth** | **Date** | | |
23
23
  | **employment_status** | [**EmploymentStatusResponse**](EmploymentStatusResponse.md) | | |
24
24
  | **employment_type** | **String** | | |
@@ -44,6 +44,7 @@ module OpenapiClient
44
44
 
45
45
  attr_accessor :ethnicity
46
46
 
47
+ # `other` option can include co-habitating, civil partnership, separated, widowed, etc
47
48
  attr_accessor :marital_status
48
49
 
49
50
  attr_accessor :date_of_birth
@@ -374,7 +375,7 @@ module OpenapiClient
374
375
  return false unless gender_validator.valid?(@gender)
375
376
  ethnicity_validator = EnumAttributeValidator.new('String', ["asian", "black", "hispanic", "mixed", "not_specified", "other", "white"])
376
377
  return false unless ethnicity_validator.valid?(@ethnicity)
377
- marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
378
+ marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
378
379
  return false unless marital_status_validator.valid?(@marital_status)
379
380
  employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"])
380
381
  return false unless employment_type_validator.valid?(@employment_type)
@@ -404,7 +405,7 @@ module OpenapiClient
404
405
  # Custom attribute writer method checking allowed values (enum).
405
406
  # @param [Object] marital_status Object to be assigned
406
407
  def marital_status=(marital_status)
407
- validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
408
+ validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
408
409
  unless validator.valid?(marital_status)
409
410
  fail ArgumentError, "invalid value for \"marital_status\", must be one of #{validator.allowable_values}."
410
411
  end
@@ -50,7 +50,7 @@ module OpenapiClient
50
50
 
51
51
  attr_accessor :ethnicity
52
52
 
53
- # `other` option can include co-habitating, civil partnership, separated, divorced, widowed, etc
53
+ # `other` option can include co-habitating, civil partnership, separated, widowed, etc
54
54
  attr_accessor :marital_status
55
55
 
56
56
  attr_accessor :date_of_birth
@@ -412,7 +412,7 @@ module OpenapiClient
412
412
  return false unless gender_validator.valid?(@gender)
413
413
  ethnicity_validator = EnumAttributeValidator.new('String', ["null", "asian", "black", "hispanic", "mixed", "not_specified", "other", "white"])
414
414
  return false unless ethnicity_validator.valid?(@ethnicity)
415
- marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
415
+ marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
416
416
  return false unless marital_status_validator.valid?(@marital_status)
417
417
  employment_type_validator = EnumAttributeValidator.new('String', ["null", "full_time", "part_time", "contractor", "other"])
418
418
  return false unless employment_type_validator.valid?(@employment_type)
@@ -442,7 +442,7 @@ module OpenapiClient
442
442
  # Custom attribute writer method checking allowed values (enum).
443
443
  # @param [Object] marital_status Object to be assigned
444
444
  def marital_status=(marital_status)
445
- validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
445
+ validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
446
446
  unless validator.valid?(marital_status)
447
447
  fail ArgumentError, "invalid value for \"marital_status\", must be one of #{validator.allowable_values}."
448
448
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.77'
14
+ VERSION = '1.1.78'
15
15
  end
@@ -108,7 +108,7 @@ describe OpenapiClient::CreateEmployeeRequest do
108
108
  describe 'test attribute "marital_status"' do
109
109
  it 'should work' do
110
110
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
111
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
112
112
  # validator.allowable_values.each do |value|
113
113
  # expect { instance.marital_status = value }.not_to raise_error
114
114
  # end
@@ -120,7 +120,7 @@ describe OpenapiClient::EmployeeResponse do
120
120
  describe 'test attribute "marital_status"' do
121
121
  it 'should work' do
122
122
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
123
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
124
124
  # validator.allowable_values.each do |value|
125
125
  # expect { instance.marital_status = value }.not_to raise_error
126
126
  # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.77
4
+ version: 1.1.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus