hypdf 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hypdf/exceptions.rb +2 -0
- data/lib/hypdf/version.rb +1 -1
- data/lib/hypdf.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819e4eca497a0941b71e32058d7a3fdac4d54c22
|
4
|
+
data.tar.gz: 84ab9d52c9c6dfa3a6418ae2c8691a3cf947801a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d453c9801310e4079e297bf7c3d8bbcd63e0dcd5269accba6e078f882d203a75602a06e309e01a9cdec0ab57dfecfc3291fa00f40daac85582f37e64bf4b2a1
|
7
|
+
data.tar.gz: 8a1981dede2d84c45f48391fbd3e2317213a37cb5b8e1a561358d9103b711b08fe13ca45893f8b57c55135254452da9836050b49afc96cdabad2a0dd32e28ec6
|
data/lib/hypdf/exceptions.rb
CHANGED
data/lib/hypdf/version.rb
CHANGED
data/lib/hypdf.rb
CHANGED
@@ -40,6 +40,7 @@ class HyPDF
|
|
40
40
|
when 400 then raise HyPDF::ContentRequired
|
41
41
|
when 401 then raise HyPDF::AuthorizationRequired
|
42
42
|
when 402 then raise HyPDF::PaymentRequired
|
43
|
+
when 403 then raise HyPDF::S3AccessDenied
|
43
44
|
when 404 then raise HyPDF::NoSuchBucket
|
44
45
|
when 500 then raise HyPDF::InternalServerError
|
45
46
|
end
|
@@ -92,6 +93,7 @@ class HyPDF
|
|
92
93
|
when 400 then raise HyPDF::ContentRequired
|
93
94
|
when 401 then raise HyPDF::AuthorizationRequired
|
94
95
|
when 402 then raise HyPDF::PaymentRequired
|
96
|
+
when 403 then raise HyPDF::S3AccessDenied
|
95
97
|
when 404 then raise HyPDF::NoSuchBucket
|
96
98
|
when 500 then raise HyPDF::InternalServerError
|
97
99
|
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.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- redfield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httmultiparty
|