DealMakerAPI 0.95.1 → 0.95.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/DealMakerAPI/models/create_deal_setup_request.rb +2 -2
- data/lib/DealMakerAPI/models/v1_entities_deal.rb +2 -2
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/models/create_deal_setup_request_spec.rb +1 -1
- data/spec/models/v1_entities_deal_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f65da3f5cc5cab491e017b4016d80d36dc07ad38e90124b7e00a8b9190cad6ba
|
4
|
+
data.tar.gz: d5fa2e8f3d1cbfd1ce0f8ff97c4b273d9cbe6777dbb8c793909de841e9a18894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a7786bc920f806f9df9dcdd0d69d5671fa65f05737e1eb8d7a01a3578bf62f63649b28b660f396a25157a1761c397277f0a1477f4f135f851cdf4a99d04e9a5
|
7
|
+
data.tar.gz: 8905cd01e6ac7a36e679ade72922814daed72c0b88276891836606b0f72be8b0b9f80c7df0818df414e3cf06fdead1c5ae894e1c00a07b606c6da8e017cafa05
|
data/README.md
CHANGED
@@ -338,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
|
|
338
338
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
339
339
|
|
340
340
|
- API version: 1.75.0
|
341
|
-
- Package version: 0.95.
|
341
|
+
- Package version: 0.95.2
|
342
342
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
343
343
|
|
344
344
|
## Installation
|
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
|
|
354
354
|
Then either install the gem locally:
|
355
355
|
|
356
356
|
```shell
|
357
|
-
gem install ./DealMakerAPI-0.95.
|
357
|
+
gem install ./DealMakerAPI-0.95.2.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.95.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.95.2.gem` to install the development dependencies)
|
361
361
|
|
362
362
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
363
363
|
|
364
364
|
Finally add this to the Gemfile:
|
365
365
|
|
366
|
-
gem 'DealMakerAPI', '~> 0.95.
|
366
|
+
gem 'DealMakerAPI', '~> 0.95.2'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -185,7 +185,7 @@ module DealMakerAPI
|
|
185
185
|
prohibited_industry_validator = EnumAttributeValidator.new('String', ["prohibited", "not_prohibited"])
|
186
186
|
return false unless prohibited_industry_validator.valid?(@prohibited_industry)
|
187
187
|
return false if @offering_type.nil?
|
188
|
-
offering_type_validator = EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "
|
188
|
+
offering_type_validator = EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
189
189
|
return false unless offering_type_validator.valid?(@offering_type)
|
190
190
|
return false if @title.nil?
|
191
191
|
return false if @company_id.nil?
|
@@ -215,7 +215,7 @@ module DealMakerAPI
|
|
215
215
|
# Custom attribute writer method checking allowed values (enum).
|
216
216
|
# @param [Object] offering_type Object to be assigned
|
217
217
|
def offering_type=(offering_type)
|
218
|
-
validator = EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "
|
218
|
+
validator = EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
219
219
|
unless validator.valid?(offering_type)
|
220
220
|
fail ArgumentError, "invalid value for \"offering_type\", must be one of #{validator.allowable_values}."
|
221
221
|
end
|
@@ -204,7 +204,7 @@ module DealMakerAPI
|
|
204
204
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
205
205
|
state_validator = EnumAttributeValidator.new('String', ["draft", "close", "active", "amending", "ending"])
|
206
206
|
return false unless state_validator.valid?(@state)
|
207
|
-
deal_type_validator = EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b"])
|
207
|
+
deal_type_validator = EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
208
208
|
return false unless deal_type_validator.valid?(@deal_type)
|
209
209
|
true
|
210
210
|
end
|
@@ -222,7 +222,7 @@ module DealMakerAPI
|
|
222
222
|
# Custom attribute writer method checking allowed values (enum).
|
223
223
|
# @param [Object] deal_type Object to be assigned
|
224
224
|
def deal_type=(deal_type)
|
225
|
-
validator = EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b"])
|
225
|
+
validator = EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
226
226
|
unless validator.valid?(deal_type)
|
227
227
|
fail ArgumentError, "invalid value for \"deal_type\", must be one of #{validator.allowable_values}."
|
228
228
|
end
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -56,7 +56,7 @@ describe DealMakerAPI::CreateDealSetupRequest do
|
|
56
56
|
describe 'test attribute "offering_type"' do
|
57
57
|
it 'should work' do
|
58
58
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
59
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "
|
59
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["other", "canadian_private_placement", "regulation_a_plus_offering", "offering_memorandum", "regulation_cf_offering", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
60
60
|
# validator.allowable_values.each do |value|
|
61
61
|
# expect { instance.offering_type = value }.not_to raise_error
|
62
62
|
# end
|
@@ -94,7 +94,7 @@ describe DealMakerAPI::V1EntitiesDeal do
|
|
94
94
|
describe 'test attribute "deal_type"' do
|
95
95
|
it 'should work' do
|
96
96
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b"])
|
97
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["other_or_unknown", "dm_plus", "dm_basic", "mini_deal", "reg_cf", "reg_a", "warrants", "offering_memorandum", "reg_d_506_c", "reg_d_506_b", "reg_s"])
|
98
98
|
# validator.allowable_values.each do |value|
|
99
99
|
# expect { instance.deal_type = value }.not_to raise_error
|
100
100
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DealMakerAPI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.95.
|
4
|
+
version: 0.95.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|