bazuro 0.3.0 → 0.3.1

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.
@@ -20,4 +20,5 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_runtime_dependency "rest-client", "~> 1.8.0"
23
24
  end
@@ -1,6 +1,7 @@
1
1
  require "bazuro/version"
2
2
  require 'net/http'
3
3
  require "yaml"
4
+ require "rest-client"
4
5
 
5
6
  module Bazuro
6
7
 
@@ -26,7 +27,7 @@ module Bazuro
26
27
  :password => Bazuro.config["username"]["password"],
27
28
  :payload => {
28
29
  :multipart => true,
29
- :file => File.new(@pdf, 'rb')
30
+ :file => @pdf
30
31
  }
31
32
  #:headers => { :accept => "",
32
33
  # :content_type => :json }
@@ -1,3 +1,3 @@
1
1
  module Bazuro
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bazuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -44,6 +44,22 @@ dependencies:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
46
  version: '10.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rest-client
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.8.0
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 1.8.0
47
63
  description: Bazuro-PDF2DOCX allows convert from PDF to DOCX, through MS-WORD 2013
48
64
  or later, using a macro
49
65
  email: