dropbox-sign 1.1.1 → 1.1.2
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 +4 -4
- data/Gemfile.lock +2 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/docs/SignatureRequestCreateEmbeddedRequest.md +1 -1
- data/docs/SignatureRequestSendRequest.md +1 -1
- data/docs/SubFormFieldsPerDocumentBase.md +1 -1
- data/docs/TemplateCreateEmbeddedDraftRequest.md +1 -1
- data/docs/UnclaimedDraftCreateEmbeddedRequest.md +1 -1
- data/docs/UnclaimedDraftCreateRequest.md +1 -1
- data/lib/dropbox-sign/configuration.rb +1 -1
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +1 -1
- data/lib/dropbox-sign/models/signature_request_send_request.rb +1 -1
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +1 -1
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +1 -1
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +1 -1
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +1 -1
- data/lib/dropbox-sign/version.rb +1 -1
- data/openapi-config.yaml +1 -1
- data/openapi-sdk.yaml +905 -953
- data/spec/configuration_spec.rb +5 -7
- data/templates/configuration.mustache +1 -1
- data/templates/configuration_spec.mustache +5 -7
- metadata +7 -7
data/spec/configuration_spec.rb
CHANGED
@@ -17,18 +17,16 @@ describe Dropbox::Sign::Configuration do
|
|
17
17
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
# c.base_path = uri.path
|
25
|
-
# end
|
20
|
+
Dropbox::Sign.configure do |c|
|
21
|
+
c.host = "api.hellosign.com"
|
22
|
+
c.base_path = "/v3"
|
23
|
+
end
|
26
24
|
end
|
27
25
|
|
28
26
|
describe '#base_url' do
|
29
27
|
it 'should have the default value' do
|
30
28
|
# uncomment below to test default value of the base path
|
31
|
-
|
29
|
+
expect(config.base_url).to eq("https://api.hellosign.com/v3")
|
32
30
|
end
|
33
31
|
|
34
32
|
it 'should remove trailing slashes' do
|
@@ -229,7 +229,7 @@ module {{moduleName}}
|
|
229
229
|
[
|
230
230
|
{{#servers}}
|
231
231
|
{
|
232
|
-
url: "#{scheme}://#{host
|
232
|
+
url: "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, ''),
|
233
233
|
description: "{{{description}}}{{^description}}No description provided{{/description}}",
|
234
234
|
{{#variables}}
|
235
235
|
{{#-first}}
|
@@ -9,18 +9,16 @@ describe {{moduleName}}::Configuration do
|
|
9
9
|
|
10
10
|
before(:each) do
|
11
11
|
# uncomment below to setup host and base_path
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
# c.base_path = uri.path
|
17
|
-
# end
|
12
|
+
{{moduleName}}.configure do |c|
|
13
|
+
c.host = "{{host}}"
|
14
|
+
c.base_path = "{{contextPath}}"
|
15
|
+
end
|
18
16
|
end
|
19
17
|
|
20
18
|
describe '#base_url' do
|
21
19
|
it 'should have the default value' do
|
22
20
|
# uncomment below to test default value of the base path
|
23
|
-
|
21
|
+
expect(config.base_url).to eq("{{{basePath}}}")
|
24
22
|
end
|
25
23
|
|
26
24
|
it 'should remove trailing slashes' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox-sign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dropbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -626,16 +626,16 @@ signing_key:
|
|
626
626
|
specification_version: 4
|
627
627
|
summary: Dropbox Sign API Ruby Gem
|
628
628
|
test_files:
|
629
|
-
- spec/api/account_api_spec.rb
|
630
629
|
- spec/api/unclaimed_draft_api_spec.rb
|
630
|
+
- spec/api/bulk_send_job_api_spec.rb
|
631
631
|
- spec/api/signature_request_api_spec.rb
|
632
632
|
- spec/api/template_api_spec.rb
|
633
|
-
- spec/api/
|
634
|
-
- spec/api/
|
633
|
+
- spec/api/team_api_spec.rb
|
634
|
+
- spec/api/embedded_api_spec.rb
|
635
635
|
- spec/api/oauth_api_spec.rb
|
636
|
+
- spec/api/account_api_spec.rb
|
637
|
+
- spec/api/report_api_spec.rb
|
636
638
|
- spec/api/api_app_api_spec.rb
|
637
|
-
- spec/api/embedded_api_spec.rb
|
638
|
-
- spec/api/team_api_spec.rb
|
639
639
|
- spec/api_client_spec.rb
|
640
640
|
- spec/configuration_spec.rb
|
641
641
|
- spec/event_callback_helper_spec.rb
|