buildvu 0.2.2 → 0.2.4
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 +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +17 -0
- data/README.md +2 -2
- data/buildvu.gemspec +0 -1
- data/example_usage.rb +3 -8
- data/lib/buildvu/version.rb +1 -1
- metadata +4 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c59eaffee5f9c7f5e2c23d85128d0a51ee7b9cb1eb53b1b09f558eabf6963f9a
|
|
4
|
+
data.tar.gz: 64e161dc08a087e9ff1bf99342591baddde39edb654ac4b9d991b9189af650fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 965c299c27ea3ec66307fc8f87a1aeb7f28514ea885ad4b58c8f10685aa422ec6c2fe3d592fc729a0e71a58b03adc8a01c75c465119e2b5794279a24dc24e46a
|
|
7
|
+
data.tar.gz: 70f9af830585d63c5123ebad8ea491b24d815fbdce9e2c7a3e6da3679d4b240ebfabd6e46115f62f62231587ec2773e41afdefcc10e13f92d60de8ddd5a43022
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Please confirm that you are able to reliably reproduce the issue using the latest version of the BuildVu Ruby client. Issues with the BuildVu Microservice Example should be reported on its [GitHub page](https://github.com/idrsolutions/buildvu-microservice-example/issues).
|
|
8
|
+
|
|
9
|
+
**Describe the bug**
|
|
10
|
+
A clear and concise description of what the bug is.
|
|
11
|
+
|
|
12
|
+
**To Reproduce**
|
|
13
|
+
Steps to reproduce the behaviour:
|
|
14
|
+
1. Go to '...'
|
|
15
|
+
2. Click on '....'
|
|
16
|
+
3. Scroll down to '....'
|
|
17
|
+
4. See error
|
|
18
|
+
|
|
19
|
+
**Expected behaviour**
|
|
20
|
+
A clear and concise description of what you expected to happen.
|
|
21
|
+
|
|
22
|
+
**Screenshots**
|
|
23
|
+
If applicable, add screenshots to help explain your problem.
|
|
24
|
+
|
|
25
|
+
**Desktop (please complete the following information):**
|
|
26
|
+
- OS: [e.g. macOS 10.13, Windows 10]
|
|
27
|
+
- Ruby Version: [e.g. 2.4, 2.5]
|
|
28
|
+
- Rails Version: [e.g. 4.2, 5.2]
|
|
29
|
+
|
|
30
|
+
**Additional context**
|
|
31
|
+
Add any other context about the problem here.
|
|
32
|
+
For example - does the issue occur on multiple different Ruby / Rails / OS versions or just one in particular?
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**Is your feature request related to a problem? Please describe.**
|
|
8
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
9
|
+
|
|
10
|
+
**Describe the solution you'd like**
|
|
11
|
+
A clear and concise description of what you want to happen.
|
|
12
|
+
|
|
13
|
+
**Describe alternatives you've considered**
|
|
14
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
15
|
+
|
|
16
|
+
**Additional context**
|
|
17
|
+
Add any other context or screenshots about the feature request here.
|
data/README.md
CHANGED
|
@@ -14,10 +14,10 @@ Run the following command to install
|
|
|
14
14
|
|
|
15
15
|
$ gem install buildvu
|
|
16
16
|
|
|
17
|
-
Alternatively, add this line to your application's
|
|
17
|
+
Alternatively, add this line to your application's Gemfile...
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
|
|
20
|
+
gem 'buildvu'
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
...and then execute:
|
data/buildvu.gemspec
CHANGED
|
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
26
|
spec.require_paths = ['lib']
|
|
27
27
|
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16.1'
|
|
29
28
|
spec.add_runtime_dependency 'rest-client', '~> 2.0', '>= 2.0.2'
|
|
30
29
|
spec.add_runtime_dependency 'json', '~> 2.1', '>= 2.1'
|
|
31
30
|
end
|
data/example_usage.rb
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
require 'buildvu'
|
|
2
2
|
|
|
3
|
-
buildvu = BuildVu.new'localhost:8080/
|
|
3
|
+
buildvu = BuildVu.new'localhost:8080/microservice-example'
|
|
4
4
|
|
|
5
5
|
# convert returns a URL (string) where you can view the converted output.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
puts buildvu.convert('C:/test/in/DAEJ61.pdf', 'C:/test/out')
|
|
9
|
-
rescue RuntimeError => e
|
|
10
|
-
puts e.message
|
|
11
|
-
end
|
|
12
|
-
# puts 'Converted: ' + output_url
|
|
6
|
+
output_url = buildvu.convert '/path/to/input.pdf'
|
|
7
|
+
puts 'Converted: ' + output_url
|
|
13
8
|
|
|
14
9
|
# You can also specify a directory to download the converted output to:
|
|
15
10
|
# buildvu.convert('path/to/input.pdf', 'path/to/output/dir')
|
data/lib/buildvu/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: buildvu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- IDRsolutions
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: bundler
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.16'
|
|
20
|
-
- - ">="
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.16.1
|
|
23
|
-
type: :development
|
|
24
|
-
prerelease: false
|
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
-
requirements:
|
|
27
|
-
- - "~>"
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
version: '1.16'
|
|
30
|
-
- - ">="
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.16.1
|
|
33
13
|
- !ruby/object:Gem::Dependency
|
|
34
14
|
name: rest-client
|
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -81,6 +61,8 @@ extensions: []
|
|
|
81
61
|
extra_rdoc_files: []
|
|
82
62
|
files:
|
|
83
63
|
- ".gitattributes"
|
|
64
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
65
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
84
66
|
- ".gitignore"
|
|
85
67
|
- CODE_OF_CONDUCT.md
|
|
86
68
|
- Gemfile
|