hypdf 1.0.15 → 1.0.16

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: bdbbc410c8146c8b1a12acf2d8ea785af14a5ead
4
- data.tar.gz: 1df6508203b7d0a36ca7265f2f03b4537f1286d2
3
+ metadata.gz: 86925394890de9239a77730e9ec67fcfeace0abe
4
+ data.tar.gz: c28b13e35585629050077e7941ad79eaa4f40852
5
5
  SHA512:
6
- metadata.gz: b222dd91cad2aa82007c979cb1112ef58758b8f67d1ab06355d81af7e7a857fc81a3658c04f1cba879c4eeec16d4c203d6798f5fef3066fefa497755b15e19e4
7
- data.tar.gz: a8d7615db8beca7c7931502d0e57149ed4a9382308afed88f7807d1448449e2af18de8b1bf68196b8bd2ad9443545bf1871ce2b5d4c3f091bf8e5ac4e89e0e2f
6
+ metadata.gz: 7426770833e765fc8e3f3107696b9b5c62109f945c3263b9d3a93af14154d12c7ee7644e4d394da2b0c160e64778e830b818e3748f12a3d55490fe3d33614eca
7
+ data.tar.gz: 10aa470c8a2dc5a8db375b0d5f34b2c22e20a4d7f684e7ee2eb5cc5a3a9ab0a3e91567a98f5f2ebab103f866fb3ed86d095c9440983f1e674994feef0f1de9c2
@@ -42,6 +42,7 @@ class HyPDF
42
42
  when 402 then raise HyPDF::PaymentRequired
43
43
  when 403 then raise HyPDF::S3AccessDenied
44
44
  when 404 then raise HyPDF::NoSuchBucket
45
+ when 408 then raise HyPDF::RequestTimeout
45
46
  when 500 then raise HyPDF::InternalServerError
46
47
  end
47
48
  end
@@ -160,6 +161,7 @@ class HyPDF
160
161
  when 402 then raise HyPDF::PaymentRequired
161
162
  when 403 then raise HyPDF::S3AccessDenied
162
163
  when 404 then raise HyPDF::NoSuchBucket
164
+ when 408 then raise HyPDF::RequestTimeout
163
165
  when 500 then raise HyPDF::InternalServerError
164
166
  end
165
167
  end
@@ -10,6 +10,8 @@ class HyPDF
10
10
 
11
11
  class NoSuchBucket < StandardError; end
12
12
 
13
+ class RequestTimeout < StandardError; end
14
+
13
15
  class InternalServerError < StandardError; end
14
16
 
15
17
  end
@@ -1,3 +1,3 @@
1
1
  class HyPDF
2
- VERSION = "1.0.15"
2
+ VERSION = "1.0.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - redfield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-23 00:00:00.000000000 Z
11
+ date: 2018-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty