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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64f6cf0ba34d7cb3a80d4b025b20117ae9c84e8c8c4c24c0bc16fdc378330df4
4
- data.tar.gz: 316eff6f025db95ff716800a305f624ce2e199b210dfe4275f87a46f3d2c9bec
3
+ metadata.gz: e5ef5b818b290d761b77c3f37edf48458999400543c94d5a9d4cc653da7f04dc
4
+ data.tar.gz: 0fe76569b75cab810db5f9d6b11b574849539dc9d97fb4d7c43ccf6bd31d7add
5
5
  SHA512:
6
- metadata.gz: cd2106d3dfacd97b4ac947376f96e91c4cdc64082cc8d3f17ae54fb0b2ae9e521189360dd0f0689976cdb76d8a2f9982fb9b90806624a5771a525e29679d5bd5
7
- data.tar.gz: c6bfcd2189e1258e4821f73b35680b458658f2752563980ba27cb956de3991386671ca723f918d186ba1f052273dd66c4f51ae1508a145ee75f4de47372eb705
6
+ metadata.gz: 0af9226f9c4a90f44e477c2709fa5911c1ae7db8fefbcd87f0bd37c62a1a9f08d3cd6732a872dc2dae17fbee4288af525616615491fd9f2c0ed5f695384cef29
7
+ data.tar.gz: 1758a78103cc0e357b766ba990bfffcdaa0af44e4ad54643def4b768dd2fa09f6811f6a643e5b757d3b7a1247229bb61f7cfa3710ea5dccdc92caa676672cf66
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ios_polyglot_cli (2.6.0)
4
+ ios_polyglot_cli (2.6.1)
5
5
  activesupport
6
6
  commander
7
7
  json_api_client
@@ -10,18 +10,17 @@ module PolyglotIos
10
10
  end
11
11
 
12
12
  def handle(e)
13
- prompt.error(
14
- case e
15
- when JsonApiClient::Errors::NotAuthorized
16
- "You are not authorized. Please check your token and provide correct credentials."
17
- when JsonApiClient::Errors::AccessDenied
18
- "You don't have the permission to access requested project."
19
- when Errno::ENOENT
20
- "We could not find a file that we need:\n\n#{e.message}"
21
- else
22
- "An error happened. This might help:\n\n#{e.message}"
23
- end
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
@@ -1,3 +1,3 @@
1
1
  module PolyglotIos
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios_polyglot_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filip Gulan