ios_polyglot_cli 2.6.0 → 2.6.2

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: 01f24c6d35148c0b44fb149400ce207b92583458ab875f8df5e022c6686cc377
4
+ data.tar.gz: a3b6d13f4050f8f1989e51ea677c353669119033f487d67d126e53e81977ab6d
5
5
  SHA512:
6
- metadata.gz: cd2106d3dfacd97b4ac947376f96e91c4cdc64082cc8d3f17ae54fb0b2ae9e521189360dd0f0689976cdb76d8a2f9982fb9b90806624a5771a525e29679d5bd5
7
- data.tar.gz: c6bfcd2189e1258e4821f73b35680b458658f2752563980ba27cb956de3991386671ca723f918d186ba1f052273dd66c4f51ae1508a145ee75f4de47372eb705
6
+ metadata.gz: 7a1689ddb1d0dd574d6388466fd32a6f6e08ed1ffc156fe321b653a503dca12a72a75739d0c163428cec8fa16cbb2c1617688d80126eed8e442dddff476a9c1e
7
+ data.tar.gz: c924592ba2460eebb45b2e880bd7ba4e6d33f2fed8209afbee480755a2b0072feebc25867a365f5ebcdaf0b0a60041fcce387bc17b79d530cbc9fe3edcabaa7c
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.2)
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
@@ -22,7 +22,7 @@ import Foundation
22
22
 
23
23
  // swiftlint:disable all
24
24
  <%= @root_enum.serialized() %>
25
- public struct Strings: Hashable, ExpressibleByStringLiteral, StringsProtocol {
25
+ public struct Strings: Hashable, ExpressibleByStringLiteral, StringsProtocol, Sendable {
26
26
  public let rawValue: String
27
27
 
28
28
  public init(rawValue: String) {
@@ -1,3 +1,3 @@
1
1
  module PolyglotIos
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filip Gulan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-18 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler