tinplate 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tinplate/errors.rb +2 -0
- data/lib/tinplate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ace4f94bd8263a1891dfb2f30e01a43562e3f1e9bf62cc9ea5bb470d6c05c9
|
4
|
+
data.tar.gz: 245d673949dee9932b2b41f35251c781576398cccf8b89b067278b8e6530346b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb5c81720a9d1809323ccb83a4a93c245a2bfb9bccca3b905e1c73748d1292a9afaa1fcd31dd0453aa2bc92fc11dc50ed7e61ae19ac86563337134660fb8f261
|
7
|
+
data.tar.gz: 2b4ab575b33057c1b4342ea633bd6931494d25ff3e662eba751036bab315d6b277dd1df6aff126875e44bc50e750dbabaf590f9b953c27991b532139da6a2946
|
data/lib/tinplate/errors.rb
CHANGED
@@ -20,6 +20,7 @@ module Tinplate
|
|
20
20
|
when /Could not download/ then Tinplate::InaccessibleURLError
|
21
21
|
when /Please supply an image/ then Tinplate::InvalidSearchError
|
22
22
|
when /Error reading image data/ then Tinplate::InvalidImageDataError
|
23
|
+
when /Too many concurrent requests/ then Tinplate::TooManyRequestsError
|
23
24
|
end
|
24
25
|
end
|
25
26
|
end
|
@@ -31,4 +32,5 @@ module Tinplate
|
|
31
32
|
class InaccessibleURLError < Error; end
|
32
33
|
class InvalidSearchError < Error; end
|
33
34
|
class InvalidImageDataError < Error; end
|
35
|
+
class TooManyRequestsError < Error; end
|
34
36
|
end
|
data/lib/tinplate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Klaassen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|