aspose_barcode_cloud 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: c49e9b255b976761ddedd8916fb7482ac877229d
4
- data.tar.gz: 474f353749869a53a720ddb17c705f02adfc3449
3
+ metadata.gz: 0f172da688dd2ea8a6124270a1276ca8f7bb9c9f
4
+ data.tar.gz: 08d210313308bdad086b4c5f13d1b28eb9aeaf6f
5
5
  SHA512:
6
- metadata.gz: 1ba01d95317e0e34dde4732b604a552b9fed64eaf53b061221c6e42356d891c2b65d2d05203de3e18d054d70da2d7b8e4395123ebd997d157cce9e6ea59c5204
7
- data.tar.gz: a64d23341f1a89ceb6b085714e0415fc192fe1652fe6c04cab9c79f8c0f299211fbb7c1f65a37f135855caeb19a14f6dfbc164ccb343dfd88a3903261d662fb1
6
+ metadata.gz: 88e561f1395b823a7e0304ab12b56c44ddbbb26f5809ba7352babe015ceb1d75ff636bb00975e2280c4fdeeb8ec527b5296db86b191af4a41b35694c5edbbba5
7
+ data.tar.gz: a136bae88e3087cfdfef324ac99ebcc9570a9af4055b7a1922012d836ca69e4620fe8e31ae8adf6a1841151b211564b460fc7d7bae848d4dfe4edc789d7b5e1d
@@ -158,7 +158,7 @@ module AsposeBarcodeCloud
158
158
  _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
159
159
 
160
160
  # HTTP header 'Content-Type'
161
- _header_content_type = []
161
+ _header_content_type = ['multipart/form-data']
162
162
  header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
163
163
 
164
164
  # form parameters
@@ -227,7 +227,7 @@ module AsposeBarcodeCloud
227
227
  # close and delete temp file
228
228
  tmp_file.close!
229
229
 
230
- File.open(path, 'w') { |file| file.write(response.body) }
230
+ File.open(path, 'wb') { |file| file.write(response.body) }
231
231
  Configuration.logger.info "File written to #{path}. Please move the file to a proper "\
232
232
  "folder for further processing and delete the temp afterwards"
233
233
  File.new(path)
@@ -104,7 +104,7 @@ module AsposeBarcodeCloud
104
104
 
105
105
  def initialize
106
106
  @scheme = 'http'
107
- @host = 'api.aspose.com'
107
+ @host = 'api.aspose.cloud'
108
108
  @base_path = '/v1.1'
109
109
  @api_key = {}
110
110
  @api_key_prefix = {}
@@ -1,3 +1,3 @@
1
1
  module AsposeBarcodeCloud
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_barcode_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Sohail Ismail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-30 00:00:00.000000000 Z
11
+ date: 2016-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus