idr_cloud_client 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 +4 -4
- data/README.md +3 -3
- data/lib/idr_cloud_client/version.rb +1 -1
- metadata +2 -4
- data/README-BUILDVU.md +0 -82
- data/README-JPEDAL.md +0 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab0effb3d339328fbf515bb8aaddef904adb492803f985e9eb27abdc55f5713c
|
4
|
+
data.tar.gz: ca81683fc83608a68b6440bc8c975208f12bae85a14cd198867e046df3a8ab89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899c885e46ea49adc0f766108bba36d4d17270551c02c8ab76eb0ff07a3057966f383a95222ca8491be0bab54343f2cbd4ced07a41d6f1b04df733ea7a66e491
|
7
|
+
data.tar.gz: 5319f13258f9ea4065675bae37a14486eb486656074ddedffd0142aee046f3a7c37b2fde1411f9858f5879054e78b2c8cced8ca9731aa0403795b487139f0ca0
|
data/README.md
CHANGED
@@ -42,11 +42,11 @@ You can then install it using:
|
|
42
42
|
|
43
43
|
## BuildVu: ##
|
44
44
|
|
45
|
-
Full usage for connecting to BuildVu can be found [here](
|
45
|
+
Full usage for connecting to BuildVu can be found [here](https://support.idrsolutions.com/buildvu/tutorials/cloud/).
|
46
46
|
|
47
47
|
## JPedal: ##
|
48
48
|
|
49
|
-
Full usage for connecting to JPedal can be found [here](
|
49
|
+
Full usage for connecting to JPedal can be found [here](https://support.idrsolutions.com/jpedal/tutorials/cloud/).
|
50
50
|
|
51
51
|
-----
|
52
52
|
|
@@ -54,7 +54,7 @@ Full usage for connecting to JPedal can be found [here](README-JPEDAL.md).
|
|
54
54
|
|
55
55
|
Found a bug, or have a suggestion / improvement? Let us know through the Issues page.
|
56
56
|
|
57
|
-
Got questions? You can contact us [here](https://idrsolutions.
|
57
|
+
Got questions? You can contact us [here](https://idrsolutions.atlassian.net/servicedesk/customer/portal/8).
|
58
58
|
|
59
59
|
-----
|
60
60
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idr_cloud_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IDRsolutions
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -61,8 +61,6 @@ files:
|
|
61
61
|
- CODE_OF_CONDUCT.md
|
62
62
|
- Gemfile
|
63
63
|
- LICENSE.txt
|
64
|
-
- README-BUILDVU.md
|
65
|
-
- README-JPEDAL.md
|
66
64
|
- README.md
|
67
65
|
- example_buildvu_usage.rb
|
68
66
|
- example_jpedal_usage.rb
|
data/README-BUILDVU.md
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
# IDRSolutions Ruby Client for BuildVu #
|
2
|
-
|
3
|
-
Convert PDF to HTML5 or SVG with Ruby, using the IDRSolutions Ruby Client to
|
4
|
-
interact with IDRsolutions' [BuildVu Microservice Example](https://github.com/idrsolutions/buildvu-microservice-example).
|
5
|
-
|
6
|
-
The BuildVu Microservice Example is an open source project that allows you to
|
7
|
-
convert PDF to HTML5 or SVG by running [BuildVu](https://www.idrsolutions.com/buildvu/) as an online service.
|
8
|
-
|
9
|
-
IDR Solutions offer a free trial service for running BuildVu with Ruby,
|
10
|
-
more infomation on this can be found [here.](https://www.idrsolutions.com/buildvu/convert-pdf-in-ruby/)
|
11
|
-
|
12
|
-
-----
|
13
|
-
|
14
|
-
# Usage #
|
15
|
-
|
16
|
-
## Basic: (Upload) #
|
17
|
-
|
18
|
-
```ruby
|
19
|
-
require idr_cloud_client
|
20
|
-
client = IDRCloudClient.new('http://localhost:80/' + IDRCloudClient::BUILDVU)
|
21
|
-
|
22
|
-
# Convert the file with the input method specified
|
23
|
-
results = client.convert(input: IDRCloudClient::UPLOAD, file: 'path/to/file.pdf')
|
24
|
-
|
25
|
-
# Return a URL where you can view the converted output.
|
26
|
-
puts results['downloadUrl']
|
27
|
-
|
28
|
-
# Download the converted output to a specified directory:
|
29
|
-
client.download_result(results, 'path/to/output/dir')
|
30
|
-
```
|
31
|
-
|
32
|
-
## Basic: (Download) #
|
33
|
-
```ruby
|
34
|
-
require idr_cloud_client
|
35
|
-
client = IDRCloudClient.new('http://localhost:80/' + IDRCloudClient::BUILDVU)
|
36
|
-
|
37
|
-
# Convert the file with the input method specified
|
38
|
-
results = client.convert(input: IDRCloudClient::DOWNLOAD, url: 'http://link.to/filename')
|
39
|
-
|
40
|
-
# Return a URL where you can view the converted output.
|
41
|
-
puts results['downloadUrl']
|
42
|
-
|
43
|
-
# Download the converted output to a specified directory:
|
44
|
-
client.download_result(results, 'path/to/output/dir')
|
45
|
-
```
|
46
|
-
|
47
|
-
The parameters object should contain the parameters that are sent to the API
|
48
|
-
See the [API](https://github.com/idrsolutions/buildvu-microservice-example/blob/master/API.md) for more details.
|
49
|
-
|
50
|
-
See `exampleBuildVuUsage.rb` for examples.
|
51
|
-
|
52
|
-
-----
|
53
|
-
|
54
|
-
# Who do I talk to? #
|
55
|
-
|
56
|
-
Found a bug, or have a suggestion / improvement? Let us know through the Issues page.
|
57
|
-
|
58
|
-
Got questions? You can contact us [here](https://idrsolutions.zendesk.com/hc/en-us/requests/new).
|
59
|
-
|
60
|
-
-----
|
61
|
-
|
62
|
-
# Code of Conduct #
|
63
|
-
|
64
|
-
Short version: Don't be an awful person.
|
65
|
-
|
66
|
-
Longer version: Everyone interacting in the BuildVu Ruby Client project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
|
67
|
-
|
68
|
-
-----
|
69
|
-
|
70
|
-
Copyright 2020 IDRsolutions
|
71
|
-
|
72
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
73
|
-
you may not use this file except in compliance with the License.
|
74
|
-
You may obtain a copy of the License at
|
75
|
-
|
76
|
-
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
77
|
-
|
78
|
-
Unless required by applicable law or agreed to in writing, software
|
79
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
80
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
81
|
-
See the License for the specific language governing permissions and
|
82
|
-
limitations under the License.
|
data/README-JPEDAL.md
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
# IDRSolutions Ruby Client for JPedal #
|
2
|
-
|
3
|
-
Convert PDF to Images with Ruby, using the IDRSolutions Ruby Client to
|
4
|
-
interact with IDRsolutions' [JPedal Microservice Example](https://github.com/idrsolutions/jpedal-microservice-example).
|
5
|
-
|
6
|
-
The JPedal Microservice Example is an open source project that allows you to
|
7
|
-
convert PDF to Images by running [JPedal](https://www.idrsolutions.com/jpedal/) as an online service.
|
8
|
-
|
9
|
-
IDR Solutions offer a free trial service for running JPedal with Ruby,
|
10
|
-
more information on this can be found [here.](https://www.idrsolutions.com/jpedal/convert-pdf-in-ruby)
|
11
|
-
|
12
|
-
-----
|
13
|
-
|
14
|
-
# Usage #
|
15
|
-
|
16
|
-
## Basic: (Upload) #
|
17
|
-
|
18
|
-
```Ruby
|
19
|
-
require idr_cloud_client
|
20
|
-
client = IDRCloudClient.new('http://localhost:80/' + IDRCloudClient::JPEDAL)
|
21
|
-
|
22
|
-
# Convert the file with the input method specified
|
23
|
-
results = client.convert(input: IDRCloudClient::UPLOAD, file: 'path/to/file.pdf')
|
24
|
-
|
25
|
-
# Return a URL where you can view the converted output.
|
26
|
-
puts results['downloadUrl']
|
27
|
-
|
28
|
-
# Download the converted output to a specified directory:
|
29
|
-
client.download_result(results, 'path/to/output/dir')
|
30
|
-
```
|
31
|
-
|
32
|
-
## Basic: (Download) #
|
33
|
-
```Ruby
|
34
|
-
require idr_cloud_client
|
35
|
-
client = IDRCloudClient.new('http://localhost:80/' + IDRCloudClient::JPEDAL)
|
36
|
-
|
37
|
-
# Convert the file with the input method specified
|
38
|
-
results = client.convert(input: IDRCloudClient::DOWNLOAD, url: 'http://link.to/filename')
|
39
|
-
|
40
|
-
# Return a URL where you can view the converted output.
|
41
|
-
puts results['downloadUrl']
|
42
|
-
|
43
|
-
# Download the converted output to a specified directory:
|
44
|
-
client.download_result(results, 'path/to/output/dir')
|
45
|
-
```
|
46
|
-
|
47
|
-
The parameters object should contain the parameters that are sent to the API
|
48
|
-
See the [API](https://github.com/idrsolutions/jpedal-microservice-example/blob/master/API.md) for more details.
|
49
|
-
|
50
|
-
See `example_jpedal_usage.rb` for examples.
|
51
|
-
|
52
|
-
-----
|
53
|
-
|
54
|
-
# Who do I talk to? #
|
55
|
-
|
56
|
-
Found a bug, or have a suggestion / improvement? Let us know through the Issues page.
|
57
|
-
|
58
|
-
Got questions? You can contact us [here](https://idrsolutions.zendesk.com/hc/en-us/requests/new).
|
59
|
-
|
60
|
-
-----
|
61
|
-
|
62
|
-
# Code of Conduct #
|
63
|
-
|
64
|
-
Short version: Don't be an awful person.
|
65
|
-
|
66
|
-
Longer version: Everyone interacting in the JPedal Ruby Client project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
|
67
|
-
|
68
|
-
-----
|
69
|
-
|
70
|
-
Copyright 2020 IDRsolutions
|
71
|
-
|
72
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
73
|
-
you may not use this file except in compliance with the License.
|
74
|
-
You may obtain a copy of the License at
|
75
|
-
|
76
|
-
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
77
|
-
|
78
|
-
Unless required by applicable law or agreed to in writing, software
|
79
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
80
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
81
|
-
See the License for the specific language governing permissions and
|
82
|
-
limitations under the License.
|