ilovepdf 1.0.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63a3af9ac1c6a9c1bdcd15ae6a8710aa6fb407cf
4
- data.tar.gz: 37d7898f34c9d1bd1b95849ae9321acf29a2fca5
3
+ metadata.gz: ab9733af9742fe03c368936f81761ca6578829d9
4
+ data.tar.gz: b669af4fc8cabbdbcdfe4878ae410bc9193be00d
5
5
  SHA512:
6
- metadata.gz: 9f2027499fac6671bf9260c9df6198c310623a7fca64abf1aeba6779253d38f640d53a03321bba996061660d144e013edf756c4d4f138ea1eb310da5ab9a66c0
7
- data.tar.gz: 8a983ecc5ca1f6cf8433c0ff5c31deb60d27620f4693cc2db2a667246497c8656187ec2d640f755a91eaa3bf806fd5d23c2132da0323ffa970ccd8f767da35a1
6
+ metadata.gz: 2ec1cbd5795ff1b5cbe7f7f47bb887254fb7ed543cfb0e97fd49c8ff360f76b0fc0a1cfd9d98ba6c19681120116259e71d51afe32558bac760eaae609dd9d854
7
+ data.tar.gz: aa4ce004721604ac3fe6930ea5a1bace19bd327d60e317612ccf442a3476f3a14dc3e0d7fe0523accafc122cbff05dc4c3822bcafb91ecceb0c044733c1e75a9
data/README.md CHANGED
@@ -87,7 +87,7 @@ Example:
87
87
  imagepdf_task = Ilovepdf::Tool::Imagepdf.new(public_key, secret_key)
88
88
  http_response = imagepdf_task.execute
89
89
  puts http_response.body
90
- if imagepdf_task.download.success?
90
+ if imagepdf_task.download
91
91
  puts "Your file was downloaded successfully!"
92
92
  end
93
93
  ```
@@ -1,3 +1,3 @@
1
1
  module Ilovepdf
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -6,8 +6,7 @@ begin
6
6
  my_task = Ilovepdf::Tool::Split.new("PUBLIC_KEY", "SECRET_KEY");
7
7
 
8
8
  # File object keeps information about its server_filename and the properties you can set
9
- #file = my_task.add_file '/path/to/file/document.pdf'
10
- file = my_task.add_file ::Ilovepdf.root.join("uploads/sample_pdf.pdf")
9
+ file = my_task.add_file '/path/to/file/document.pdf'
11
10
  # set ranges to split the document
12
11
  my_task.ranges = '2-4,6-8'
13
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilovepdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Collazo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client