affixapi 1.1.49 → 1.1.50

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: 55f43980c60caf740d055193a075b2e63c2b14ec823ad1d8459838072aa30c8b
4
- data.tar.gz: 9153e24cd8ed572fcce8dd3e40c4d62bc39165739fad37dc98f612ee626ffb18
3
+ metadata.gz: fade482d500e5e6fe07931149d0da04b554068e8597540c81fee20e76d8de8a0
4
+ data.tar.gz: b637f072c3a25dd7ae55c81729cfe3ae9e54e0ea1b6155b4cb6160859fc6945b
5
5
  SHA512:
6
- metadata.gz: 34a2bbbf813dd0f45cc2b57e329e322755947bda91b1a2cd39c1a1fa9c17cceb285b61d3b2a597bfc5f6cbbd9d1a6c93e1fdff0d742fe257d5e63aeb0c24ebce
7
- data.tar.gz: e20976bc944571c8734cdb5e52de9bbe436cff12bc27e214227222edc5af6b9eb0fd59b28c7ce2822e877a68253bdbb9e1d1798a5ab3e6522268466aa5631584
6
+ metadata.gz: '069aae6fb032e0c6cb298f2b044404742ddad6338caa16e8d683ab88f70cbedd7b9a81fc31e4729eceee6c4198668891b92d257e672093a442703e63c1fe64ef'
7
+ data.tar.gz: 60e685644d656f14b1ad0ba2a4597cb7b3da855c25f702751932682b69464a031190983c45bb25c8b2d5f7cc2b916394bccd53c527e1f506fa6c68a1cb1602a1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.49)
4
+ affixapi (1.1.50)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -133,7 +133,7 @@ module OpenapiClient
133
133
  # Check to see if the all the properties in the model are valid
134
134
  # @return true if the model is valid
135
135
  def valid?
136
- country_validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PL", "RO", "SE", "SG", "SK", "US"])
136
+ country_validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
137
137
  return false unless country_validator.valid?(@country)
138
138
  true
139
139
  end
@@ -141,7 +141,7 @@ module OpenapiClient
141
141
  # Custom attribute writer method checking allowed values (enum).
142
142
  # @param [Object] country Object to be assigned
143
143
  def country=(country)
144
- validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PL", "RO", "SE", "SG", "SK", "US"])
144
+ validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
145
145
  unless validator.valid?(country)
146
146
  fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
147
147
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.49'
14
+ VERSION = '1.1.50'
15
15
  end
@@ -46,7 +46,7 @@ describe OpenapiClient::AddressResponse do
46
46
  describe 'test attribute "country"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PL", "RO", "SE", "SG", "SK", "US"])
49
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
50
50
  # validator.allowable_values.each do |value|
51
51
  # expect { instance.country = value }.not_to raise_error
52
52
  # 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.49
4
+ version: 1.1.50
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-04-02 00:00:00.000000000 Z
11
+ date: 2024-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus