json_http_error 0.0.8 → 0.0.9
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 +4 -4
- data/json_http_error.gemspec +1 -1
- data/locales/en.yml +0 -4
- data/locales/fr.yml +42 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e90b57beb9d9555eb2da0ec6e218ef398596edd
|
4
|
+
data.tar.gz: 55ed26c96b533ab519122168a9112e6f9c54a622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 691de215a423956a9b80c653c6e4e210671b498eda511aa06e0541b135dd3f6e9859beb2fab08d85bbf6556faadb724aa870634ef9ea6bfd22f1194cd8fc9a66
|
7
|
+
data.tar.gz: 93040339f4ed2c033b0c122b4ceb43606c342dc204ad08add7427583ea0af191424c358a0c6d0dbecfb55c2d98472c06851c451fea995b84e583158307feec4d
|
data/json_http_error.gemspec
CHANGED
data/locales/en.yml
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
en:
|
2
2
|
http_status:
|
3
|
-
# Source: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error
|
4
3
|
'400': Bad Request
|
5
4
|
'401': Unauthorized
|
6
5
|
'402': Payment Required
|
@@ -21,7 +20,6 @@ en:
|
|
21
20
|
'417': Expectation Failed
|
22
21
|
'418': I'm a teapot
|
23
22
|
'419': Authentication Timeout
|
24
|
-
'420': Method Failure
|
25
23
|
'420': Enhance Your Calm
|
26
24
|
'421': Misdirected Request
|
27
25
|
'422': Unprocessable Entity
|
@@ -35,7 +33,6 @@ en:
|
|
35
33
|
'444': No Response
|
36
34
|
'449': Retry With
|
37
35
|
'450': Blocked by Windows Parental Controls
|
38
|
-
'451': Unavailable For Legal Reasons
|
39
36
|
'451': Redirect
|
40
37
|
'494': Request Header Too Large
|
41
38
|
'495': Cert Error
|
@@ -43,4 +40,3 @@ en:
|
|
43
40
|
'497': HTTP to HTTPS
|
44
41
|
'498': Token expired/invalid
|
45
42
|
'499': Client Closed Request
|
46
|
-
'499': Token required
|
data/locales/fr.yml
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
fr:
|
2
|
+
http_status:
|
3
|
+
'400': Mauvaise requête
|
4
|
+
'401': Accès Non Authorisé
|
5
|
+
'402': Paiement Requis
|
6
|
+
'403': Interdit
|
7
|
+
'404': Introuvable
|
8
|
+
'405': Méthode Non Authorisée
|
9
|
+
'406': Non Acceptable
|
10
|
+
'407': Authentification Proxy Requise
|
11
|
+
'408': Temps D'attente De Réponse Écoulé
|
12
|
+
'409': Conflit
|
13
|
+
'410': Indisponible
|
14
|
+
'411': Longueur Non Précisée
|
15
|
+
'412': Précondition Non Vérifiées
|
16
|
+
'413': Requête Trop Large
|
17
|
+
'414': URI Trop Longue
|
18
|
+
'415': Format Non Supporté
|
19
|
+
'416': "Écart Demandé Invalide"
|
20
|
+
'417': Comportement Insatisfaisable
|
21
|
+
'418': Je Suis Une Théière
|
22
|
+
'419': Authentification Trop Longue
|
23
|
+
'420': Soyez Plus Calme
|
24
|
+
'421': Requête Mal Dirigée
|
25
|
+
'422': Données Fournies Invalides
|
26
|
+
'423': Verrouillé
|
27
|
+
'424': Dépendance Échouée
|
28
|
+
'426': Mise À Jour Requise
|
29
|
+
'428': Précondition Requise
|
30
|
+
'429': Trop De Requêtes
|
31
|
+
'431': Champ En-tête Trop Larges
|
32
|
+
'440': Connexion Trop Longue
|
33
|
+
'444': Pas De Réponse
|
34
|
+
'449': Réessayer Avec
|
35
|
+
'450': Bloqué par les Contrôles Parentaux de Windows
|
36
|
+
'451': Redirection
|
37
|
+
'494': En-têtes Trop Larges
|
38
|
+
'495': Erreur De Certificat
|
39
|
+
'496': Pas De Certificat
|
40
|
+
'497': HTTP vers HTTPS
|
41
|
+
'498': Token Éxpiré/invalide
|
42
|
+
'499': Requête Fermée par Client
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_http_error
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud 'red' Rouyer
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- lib/json_http_error.rb
|
25
25
|
- lib/json_http_error/railtie.rb
|
26
26
|
- locales/en.yml
|
27
|
+
- locales/fr.yml
|
27
28
|
homepage: https://github.com/savemysmartphone/json_http_error
|
28
29
|
licenses:
|
29
30
|
- MIT
|