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.
- data/bazuro.gemspec +1 -0
- data/lib/bazuro.rb +2 -1
- data/lib/bazuro/version.rb +1 -1
- metadata +17 -1
data/bazuro.gemspec
CHANGED
data/lib/bazuro.rb
CHANGED
@@ -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 =>
|
30
|
+
:file => @pdf
|
30
31
|
}
|
31
32
|
#:headers => { :accept => "",
|
32
33
|
# :content_type => :json }
|
data/lib/bazuro/version.rb
CHANGED
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.
|
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:
|