haveapi-go-client 0.29.2 → 0.29.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 112f93d9d5543923c39b36fba94f2489edc99ab92c53cd9fa11bfe2475664feb
4
- data.tar.gz: 1e8d0ae925353852c05fbc068931e3f4d4b7507c96dfae34acff599e0760020d
3
+ metadata.gz: ab80433566ee1c482b3faa4befe261631fbe4c272e2b0c8e8db50be3500503b6
4
+ data.tar.gz: 5dd8c986799b0d5d11047c82b85305989589846915207a583971bbf47c3df0d4
5
5
  SHA512:
6
- metadata.gz: 82013989fc339d1ffd777885b276e8f39be3dcf11704d17fe2902b1bd1864a010a332a343fe0dd7d7c31a969e9ad6f4abc915a8ede805be47d39c791725752a3
7
- data.tar.gz: c8c5349844136e354ef5966725b25abf47a6b6604054910352bf99066300ba807978134a8728426b045ef6dc7995159eedba31d99ed4424713dc5c16057eff8c
6
+ metadata.gz: 8aac77c21c0e23c86b5d43c6aa1a42dc3f352fe517d09d9e8f936c00107a1c31a74d93d744ff27fa8ff7e7a15f0ec54aa0d1429633ce32f26b59ebfe7ec4d643
7
+ data.tar.gz: 9421facfccce068e1f0191446625fdcc7e954ef81426a3e84df37161ac0ba9459af7364022983b48c8de11a9e19c500e32a630b891ab6bc7cb77a744eaa3fd1d
@@ -18,5 +18,5 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'haveapi-client', '~> 0.29.2'
21
+ spec.add_dependency 'haveapi-client', '~> 0.29.3'
22
22
  end
@@ -4,30 +4,34 @@
4
4
  ---
5
5
  en:
6
6
  authentication:
7
- callback_failed: "%{callback} failed: %{error}"
8
- callback_invalid_return: callback has to return an array or 'stop'
9
- callback_required: Implement callback %{callback}
10
- invalid_credentials: invalid credentials
7
+ callback_failed: 'Callback %{callback} failed: %{error}'
8
+ callback_invalid_return: The callback must return an array or 'stop'
9
+ callback_required: Callback %{callback} must be implemented
10
+ invalid_credentials: Invalid credentials
11
11
  invalid_oauth2_pkce_verifier: Invalid OAuth2 PKCE verifier
12
12
  invalid_oauth2_state: Invalid OAuth2 state
13
- mfa_required: implement multi-factor authentication
14
- multistep_callback_required: add callback to handle multi-step authentication
15
- oauth2_access_token_required: Option access_token must be provided
13
+ mfa_required: Multi-factor authentication support must be implemented
14
+ multistep_callback_required: Add a callback to handle multi-step authentication
15
+ oauth2_access_token_required: The access_token option must be provided
16
16
  oauth2_not_configured: OAuth2 authentication is not configured
17
17
  oauth2_revoke_failed: Unable to revoke access token, HTTP %{status}
18
18
  token_request_failed: 'Unable to request token: %{message}'
19
19
  token_revoke_failed: 'Unable to revoke token: %{message}'
20
- token_step_failed: 'Failed at authentication step ''%{action}'': %{message}'
20
+ token_step_failed: 'Authentication step ''%{action}'' failed: %{message}'
21
21
  unsupported_auth_action: Unsupported authentication action '%{action}'
22
22
  errors:
23
- access_forbidden: Access forbidden. Bad user name or password? Not authorized?
24
- action_failed: "%{action} failed: %{message}"
23
+ access_forbidden: |-
24
+ Access forbidden.
25
+ Bad username or password? Insufficient permissions?
26
+ action_failed: 'Action %{action} failed: %{message}'
25
27
  fatal_api_error: 'Fatal API error: %{error}'
26
- input_parameters_not_valid: input parameters not valid
27
- input_parameters_not_valid_for_action: Input parameters not valid for action '%{action}'
28
- invalid_input_parameters: invalid input parameters
29
- uncancelable_action: 'Action state #%{id} cannot be cancelled'
30
- unresolved_arguments: 'Unable to execute action ''%{action}'': unresolved arguments'
28
+ input_parameters_not_valid: Input parameters are not valid
29
+ input_parameters_not_valid_for_action: Input parameters are not valid for action
30
+ '%{action}'
31
+ invalid_input_parameters: Invalid input parameters
32
+ uncancelable_action: 'Action with state #%{id} cannot be cancelled'
33
+ unresolved_arguments: 'Unable to execute action ''%{action}'': unresolved path
34
+ arguments'
31
35
  validation:
32
36
  cannot_be_null: cannot be null
33
37
  invalid_boolean: not a valid boolean
@@ -35,48 +39,50 @@ en:
35
39
  invalid_float: not a valid float
36
40
  invalid_input_layout: invalid input layout
37
41
  invalid_integer: not a valid integer
38
- invalid_resource_id: not a valid resource id
42
+ invalid_resource_id: not a valid resource ID
39
43
  invalid_string: not a valid string
40
- required_parameter_missing: required parameter missing
44
+ required_parameter_missing: required parameter is missing
41
45
  validation_failed: validation failed
42
46
  validation_failed_with_errors: 'validation failed: %{errors}'
43
47
  cs:
44
48
  authentication:
45
- callback_failed: "%{callback} selhal: %{error}"
46
- callback_invalid_return: callback musí vrátit pole nebo 'stop'
47
- callback_required: Implementujte callback %{callback}
48
- invalid_credentials: neplatné přihlašovací údaje
49
+ callback_failed: 'Callback %{callback} selhal: %{error}'
50
+ callback_invalid_return: Callback musí vrátit pole nebo 'stop'
51
+ callback_required: Je potřeba implementovat callback %{callback}
52
+ invalid_credentials: Neplatné přihlašovací údaje
49
53
  invalid_oauth2_pkce_verifier: Neplatný OAuth2 PKCE verifier
50
- invalid_oauth2_state: Neplatný OAuth2 state
51
- mfa_required: implementujte vícefaktorové ověření
52
- multistep_callback_required: přidejte callback pro zpracování vícefázového ověření
54
+ invalid_oauth2_state: Neplatný parametr OAuth2 state
55
+ mfa_required: Klient musí implementovat vícefaktorové ověření
56
+ multistep_callback_required: Je potřeba přidat callback pro zpracování vícefázové
57
+ autentizace
53
58
  oauth2_access_token_required: Volba access_token musí být zadána
54
- oauth2_not_configured: OAuth2 ověření není nastaveno
55
- oauth2_revoke_failed: Přístupový token nelze zrušit, HTTP %{status}
56
- token_request_failed: 'Token nelze vyžádat: %{message}'
57
- token_revoke_failed: 'Token nelze zrušit: %{message}'
58
- token_step_failed: 'Krok ověření ''%{action}'' selhal: %{message}'
59
- unsupported_auth_action: Nepodporovaná ověřovací akce '%{action}'
59
+ oauth2_not_configured: OAuth2 autentizace není nastavena
60
+ oauth2_revoke_failed: Přístupový token se nepodařilo zneplatnit, HTTP %{status}
61
+ token_request_failed: 'Token se nepodařilo vyžádat: %{message}'
62
+ token_revoke_failed: 'Token se nepodařilo zneplatnit: %{message}'
63
+ token_step_failed: 'Krok autentizace ''%{action}'' se nezdařil: %{message}'
64
+ unsupported_auth_action: Nepodporovaná autentizační akce '%{action}'
60
65
  errors:
61
- access_forbidden: Přístup odepřen. Chybné uživatelské jméno nebo heslo? Nejste
62
- oprávněni?
63
- action_failed: "%{action} selhala: %{message}"
64
- fatal_api_error: 'Fatální chyba API: %{error}'
65
- input_parameters_not_valid: vstupní parametry nejsou platné
66
+ access_forbidden: |-
67
+ Přístup odepřen.
68
+ Chybné uživatelské jméno nebo heslo? Nedostatečná oprávnění?
69
+ action_failed: 'Akce %{action} se nezdařila: %{message}'
70
+ fatal_api_error: 'Závažná chyba API: %{error}'
71
+ input_parameters_not_valid: Vstupní parametry jsou neplatné
66
72
  input_parameters_not_valid_for_action: Vstupní parametry pro akci '%{action}'
67
- nejsou platné
68
- invalid_input_parameters: neplatné vstupní parametry
69
- uncancelable_action: 'Stav akce #%{id} nelze zrušit'
70
- unresolved_arguments: 'Akci ''%{action}'' nelze spustit: chybí argumenty'
73
+ jsou neplatné
74
+ invalid_input_parameters: Neplatné vstupní parametry
75
+ uncancelable_action: 'Akci se stavem #%{id} nelze zrušit'
76
+ unresolved_arguments: 'Akci ''%{action}'' nelze spustit: chybí argumenty cesty'
71
77
  validation:
72
78
  cannot_be_null: nesmí být null
73
- invalid_boolean: neplatná pravdivostní hodnota
79
+ invalid_boolean: není platná pravdivostní hodnota
74
80
  invalid_datetime: není ve formátu ISO 8601
75
- invalid_float: neplatné desetinné číslo
81
+ invalid_float: není platné desetinné číslo
76
82
  invalid_input_layout: neplatná struktura vstupu
77
- invalid_integer: neplatné celé číslo
78
- invalid_resource_id: neplatné ID prostředku
79
- invalid_string: neplatný řetězec
80
- required_parameter_missing: povinný parametr chybí
83
+ invalid_integer: není platné celé číslo
84
+ invalid_resource_id: neplatné ID zdroje
85
+ invalid_string: není platný řetězec
86
+ required_parameter_missing: chybí povinný parametr
81
87
  validation_failed: validace selhala
82
88
  validation_failed_with_errors: 'validace selhala: %{errors}'
@@ -1,5 +1,5 @@
1
1
  module HaveAPI
2
2
  module GoClient
3
- VERSION = '0.29.2'.freeze
3
+ VERSION = '0.29.3'.freeze
4
4
  end
5
5
  end
@@ -259,7 +259,7 @@ RSpec.describe HaveAPI::GoClient::Generator do
259
259
  t.Fatalf("expected ValidationError, got %T: %v", err, err)
260
260
  }
261
261
 
262
- if got := strings.Join(verr.Errors["f"], " "); !strings.Contains(got, "neplatné desetinné číslo") {
262
+ if got := strings.Join(verr.Errors["f"], " "); !strings.Contains(got, "není platné desetinné číslo") {
263
263
  t.Fatalf("expected Czech float error, got %q", got)
264
264
  }
265
265
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi-go-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.2
4
+ version: 0.29.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.29.2
18
+ version: 0.29.3
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.29.2
25
+ version: 0.29.3
26
26
  description: Go client generator
27
27
  email:
28
28
  - jakub.skokan@vpsfree.cz