ios_polyglot_cli 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ios_polyglot_cli/error_handler.rb +11 -12
- data/lib/ios_polyglot_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5ef5b818b290d761b77c3f37edf48458999400543c94d5a9d4cc653da7f04dc
|
4
|
+
data.tar.gz: 0fe76569b75cab810db5f9d6b11b574849539dc9d97fb4d7c43ccf6bd31d7add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af9226f9c4a90f44e477c2709fa5911c1ae7db8fefbcd87f0bd37c62a1a9f08d3cd6732a872dc2dae17fbee4288af525616615491fd9f2c0ed5f695384cef29
|
7
|
+
data.tar.gz: 1758a78103cc0e357b766ba990bfffcdaa0af44e4ad54643def4b768dd2fa09f6811f6a643e5b757d3b7a1247229bb61f7cfa3710ea5dccdc92caa676672cf66
|
data/Gemfile.lock
CHANGED
@@ -10,18 +10,17 @@ module PolyglotIos
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def handle(e)
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
)
|
13
|
+
case e
|
14
|
+
when JsonApiClient::Errors::NotAuthorized
|
15
|
+
prompt.error("You are not authorized. Please check your token and its validity.")
|
16
|
+
prompt.warn(generate_token_message())
|
17
|
+
when JsonApiClient::Errors::AccessDenied
|
18
|
+
prompt.error("You don't have the permission to access requested project.")
|
19
|
+
when Errno::ENOENT
|
20
|
+
prompt.error("We could not find a file that we need:\n\n#{e.message}")
|
21
|
+
else
|
22
|
+
prompt.error("An error happened. This might help:\n\n#{e.message}")
|
23
|
+
end
|
25
24
|
end
|
26
25
|
end
|
27
26
|
end
|