hellosign-ruby-sdk 3.7.2 → 3.7.3

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
  SHA1:
3
- metadata.gz: 582d4660143d389b52cbc53ab0c1f884826cd4e1
4
- data.tar.gz: 2649d5912c0ef8c37c863d9ed73413b65d8369b5
3
+ metadata.gz: 6f3ff3cf38ec896b5453dca027896a2ff75f4586
4
+ data.tar.gz: 3cabdff6a716ffcf92e97517918c6829b6108fbc
5
5
  SHA512:
6
- metadata.gz: 0bec01533c904e3ef6726897df95957796a3a8895ce46c76e19cdf65f1a3e44ebab7578c673affce919a486c643e58c85d4cce8b7fd00aeb808d48120a4bbcd0
7
- data.tar.gz: 1ce37a1338aa644835f79314d1313492a773daddf8bbc0e9783571f9fe8cf98a15240c02f3e4bc937306ba3ba671447844e28eed9e17bc0f66457a9c6f7b666b
6
+ metadata.gz: 2cf18a0322582e3072a1e8d0f0bc2ad3c4db6193c6190ad9b5735a87872abd66a69f6bc06f0ecdbad26a2f3002efee2027325f9abd2ecf7a9c842b41eb9f284d
7
+ data.tar.gz: e269e76d7dd6f5425f3222b8801b92db3cbeedfc7dc0ac7316353343d90c4ba7e4d49c9d77c2b6078a07869e20d8e4bdacd74058ba4319660b8ec6513abb9c81
@@ -313,6 +313,7 @@ module HelloSign
313
313
  separator = opts[:file_type].nil? ? '?' : '&'
314
314
  path = path + "#{separator}get_url=#{opts[:get_url]}"
315
315
  end
316
+
316
317
  get(path)[:body]
317
318
  end
318
319
 
@@ -236,7 +236,7 @@ module HelloSign
236
236
  elsif defined? ActionDispatch::Http::UploadedFile
237
237
  if file.is_a? ActionDispatch::Http::UploadedFile
238
238
  mime_type = MIMEfromIO file
239
- opts[:"file[#{index}]"] = UploadIO.new(file.tempfile, mime_type)
239
+ opts[:"file[#{index}]"] = UploadIO.new(file.tempfile, mime_type, file.original_filename)
240
240
  end
241
241
  else
242
242
  raise HelloSign::Error::NotSupportedType.new "#{file.class} is not a supported. Must be a string or ActionDispatch::Http::UploadedFile"
@@ -23,5 +23,5 @@
23
23
  #
24
24
 
25
25
  module HelloSign
26
- VERSION = '3.7.2'
26
+ VERSION = '3.7.3'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellosign-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.2
4
+ version: 3.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-16 00:00:00.000000000 Z
11
+ date: 2018-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler