carioca 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/locales/en.yml +4 -0
- data/config/locales/fr.yml +4 -0
- data/lib/carioca/services/finisher.rb +7 -3
- 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: be2b88dd938c21c9b0daaec80430070451b11375dcf39e88de5eb2315f4150e2
|
4
|
+
data.tar.gz: af8b96e10bb4a5ab5d55d445fe17a82408ac04bc587df94261b2b636269cd78e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b313b4231fb1cfa5c0d64f13c6c9ac21a94adc16a2ef43404b06ced4667461302b06e18de275d54b55600686c9d0e5c6926ae63e9f921b89814f5da66f221e9d
|
7
|
+
data.tar.gz: 5fb2116c63723ffded942c036e5f42f62de73f1abbeac62c18cb0303b8b1b8b7e66b315f2503f8a34d66f2f158bb8db9b8228bbf8a19f320a3f9d82dff7f53b9
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.2
|
data/config/locales/en.yml
CHANGED
@@ -39,6 +39,10 @@ en:
|
|
39
39
|
already_exist: "Object already exist"
|
40
40
|
status_ok: "Status OK"
|
41
41
|
status_ko: "Status KO"
|
42
|
+
no_content: "No content found"
|
43
|
+
bad_request: "Bad request"
|
44
|
+
created: "Content Successfully created"
|
45
|
+
accepted: "Request accepted"
|
42
46
|
bad_usage: "Case must be a return or an exit"
|
43
47
|
setup:
|
44
48
|
error: "Setup operation failed"
|
data/config/locales/fr.yml
CHANGED
@@ -39,6 +39,10 @@ fr:
|
|
39
39
|
already_exist: "L'objet existé déjà"
|
40
40
|
status_ok: "Status OK"
|
41
41
|
status_ko: "Status KO"
|
42
|
+
no_content: "Pas de contenu trouvé"
|
43
|
+
bad_request: "Requête incorrecte"
|
44
|
+
created: "Contenu créé avec succès"
|
45
|
+
accepted: "Requête acceptée"
|
42
46
|
bad_usage: "return_case et exit_case sont incompatibles"
|
43
47
|
setup:
|
44
48
|
error: "Opération en echec durant le setup"
|
@@ -32,12 +32,16 @@ module Carioca
|
|
32
32
|
error_exit: { code: 50, key: 'finisher.messages.error_exit' },
|
33
33
|
# events
|
34
34
|
interrupt: { code: 330, key: 'finisher.messages.interrupt' },
|
35
|
-
# request
|
35
|
+
# request & API
|
36
36
|
not_found: { code: 404, key: 'finisher.messages.not_found' },
|
37
37
|
already_exist: { code: 408, key: 'finisher.messages.already_exist' },
|
38
|
-
# daemon
|
38
|
+
# daemon & API
|
39
39
|
status_ok: { code: 200, key: 'finisher.messages.status_ok' },
|
40
|
-
|
40
|
+
created: { code: 201, key: 'finisher.messages.created' },
|
41
|
+
accepted: { code: 202, key: 'finisher.messages.accepted' },
|
42
|
+
bad_request: { code: 400, key: 'finisher.messages.bad_request' },
|
43
|
+
status_ko: { code: 500, key: 'finisher.messages.status_ko' },
|
44
|
+
no_content: { code: 204, key: 'finisher.messages.no_content' },
|
41
45
|
}
|
42
46
|
|
43
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain GEORGES
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deep_merge
|