morris 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/morris/version.rb +1 -1
- data/lib/morris.rb +13 -0
- 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: 07cf83296ce2b6ecdb52c4afe1b92d63fe861e57327462886cc1ba5f144e2ce5
|
4
|
+
data.tar.gz: 72d9d028fa9ee0490be70c41784de98f495774eaf25d17cb42865f182ca6c1a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4af8e95bcd1b2ff5c9008f8f8a6ade8bc6e366b6ec96c349abb4298d9a4bf752fcda8bb7dbc7729c3ecd23b91d33dd85b5f3fa0696f21ec5016d00c53f72f17
|
7
|
+
data.tar.gz: f4eb227b310d4ef27bfd346c09f4604bfa29e038346429e1ab2aa5cdfe56f20226347e12e6b3f8feab4e34ce5792ae9e43f46be3e3e789df5956da82230bdd47
|
data/lib/morris/version.rb
CHANGED
data/lib/morris.rb
CHANGED
@@ -34,6 +34,19 @@ module Morris
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
+
class AccountNotFoundError < Error
|
38
|
+
attr_reader :additional_data
|
39
|
+
|
40
|
+
def initialize(msg = "Morris could not find account requested", additional_data: {})
|
41
|
+
super(msg)
|
42
|
+
@additional_data = additional_data
|
43
|
+
end
|
44
|
+
|
45
|
+
def to_honeybadger_context
|
46
|
+
additional_data
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
37
50
|
class RetryableError < Error; end
|
38
51
|
|
39
52
|
class MediaRequestTimedOutError < RetryableError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Guess
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|