express-cmd 0.3.1 → 0.3.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
  SHA1:
3
- metadata.gz: 5301e51b2e87d44a253b3bd17eaccad435aa138a
4
- data.tar.gz: 13edd49f757ba680c93d0cbe7773caa26dbfd583
3
+ metadata.gz: e3cfe2def96e53a9a6a1241868ba17a0c0b9ddd0
4
+ data.tar.gz: 76b0e4781d98b7a3e71da9b7209ff6b9757f8730
5
5
  SHA512:
6
- metadata.gz: ca912f7f467cc187f97bb62fcf841879ef1c008d0dec8f9a2639b24d306fe1073cccd0bfbaa9a110f42dbb0d922f2cf3584b23f534cf1d141754bbd5740d7672
7
- data.tar.gz: f58d075f22e5c92257a86e416a4cef59a8ab5759f8fcb779d690c797c82a87cac696c2ffaacb5f1ddfd75737e283d0fa34a2bbfd9e790cdcf0ebd6668c0dfd4a
6
+ metadata.gz: 881e3f59e01b2662df879fc0ae592faf54ca84be65e638749a1bc7a2bb3051e743fe4b9706d8cf80ba438e52dda81bdba04294d1f0c2d3ef777402abf4744d0c
7
+ data.tar.gz: 780abf57c018d6aa25e830e438dda64277fd31b061567c8f05ef0bdb516f4e24b0ec0b3169cf1d56829863789efa07103db9d969b469a580e5724ef59d45f80d
@@ -1,3 +1,3 @@
1
1
  module ExpressCmd
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "errorHandling": {
3
3
  "badRequest": "Invalid request data",
4
- "authRequired": "Authorization required",
4
+ "unAuthorization": "Unauthorization",
5
5
  "forbidden": "Forbidden",
6
6
  "notFound": "Not found",
7
7
  "internalServerError": "Internal server error",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "errorHandling": {
3
3
  "badRequest": "错误的请求",
4
- "authRequired": "验证失败",
4
+ "unAuthorization": "未验证",
5
5
  "forbidden": "未授权",
6
6
  "notFound": "未找到",
7
7
  "internalServerError": "内部错误",
@@ -20,7 +20,7 @@ var AuthError = (function (superClass) {
20
20
 
21
21
  function AuthError(message) {
22
22
  this.status = 401;
23
- this.message = message || i18n.t('errorHandling.authRequired');
23
+ this.message = message || i18n.t('errorHandling.unAuthorization');
24
24
  AuthError.__super__.constructor.call(this, this.message);
25
25
  }
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express-cmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - wluo