groupdocs 1.2.6 → 1.2.7

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.
@@ -297,7 +297,7 @@ module GroupDocs
297
297
  end.execute!
298
298
 
299
299
  filepath = "#{path}/#{name}.zip"
300
- Object::File.open(filepath, 'w') do |file|
300
+ Object::File.open(filepath, 'wb') do |file|
301
301
  file.write(response)
302
302
  end
303
303
 
@@ -1,3 +1,3 @@
1
1
  module GroupDocs
2
- VERSION = '1.2.6'
2
+ VERSION = '1.2.7'
3
3
  end # GroupDocs
@@ -220,7 +220,7 @@ describe GroupDocs::Signature::Envelope do
220
220
 
221
221
  it 'downloads file to given path' do
222
222
  file = stub('file')
223
- Object::File.should_receive(:open).with("#{path}/#{subject.name}.zip", 'w').and_yield(file)
223
+ Object::File.should_receive(:open).with("#{path}/#{subject.name}.zip", 'wb').and_yield(file)
224
224
  file.should_receive(:write).with(File.read('spec/support/files/envelope.zip'))
225
225
  subject.signed_documents!(path)
226
226
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -422,7 +422,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
422
422
  version: '0'
423
423
  segments:
424
424
  - 0
425
- hash: -3953683120914117386
425
+ hash: -3018162870662796259
426
426
  required_rubygems_version: !ruby/object:Gem::Requirement
427
427
  none: false
428
428
  requirements:
@@ -431,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
431
431
  version: '0'
432
432
  segments:
433
433
  - 0
434
- hash: -3953683120914117386
434
+ hash: -3018162870662796259
435
435
  requirements: []
436
436
  rubyforge_project:
437
437
  rubygems_version: 1.8.24