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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efd32c21848d7ab53724150ebbee9a3347662416fe0ee84ae46f3dd8f80cf4ac
4
- data.tar.gz: 5a34be69f6405a4eae679b26117872f3be4f74181fd188e455044181c2b2b1a3
3
+ metadata.gz: be2b88dd938c21c9b0daaec80430070451b11375dcf39e88de5eb2315f4150e2
4
+ data.tar.gz: af8b96e10bb4a5ab5d55d445fe17a82408ac04bc587df94261b2b636269cd78e
5
5
  SHA512:
6
- metadata.gz: e9cc6b8643cfc08f0bdb0066dfa1c7344be07474f1138bb2dec79710a2dac2b2f0a828fae2e236196b5137f01e66fc3e3a0693035ad2b1330ef265966c9309e4
7
- data.tar.gz: 8963f1b087355b09c8b364d359d2757c17b561db2f0e9e04d93fc84dd6684bac11ffe533757124ebe44bc7c35616b61c3187f21a4e0bf50f142c5dfd23d3a1e9
6
+ metadata.gz: b313b4231fb1cfa5c0d64f13c6c9ac21a94adc16a2ef43404b06ced4667461302b06e18de275d54b55600686c9d0e5c6926ae63e9f921b89814f5da66f221e9d
7
+ data.tar.gz: 5fb2116c63723ffded942c036e5f42f62de73f1abbeac62c18cb0303b8b1b8b7e66b315f2503f8a34d66f2f158bb8db9b8228bbf8a19f320a3f9d82dff7f53b9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.2
@@ -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"
@@ -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
- status_ko: { code: 500, key: 'finisher.messages.status_ko' }
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.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-02 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge