cuvva_log 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cuvva_error.rb +4 -3
- data/lib/cuvva_log.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c256c0b317b2d1705ba6c0ab87c68ca9be0742
|
4
|
+
data.tar.gz: b08b23ee272258f86b493c21efee5c1222c2e579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e3de01174a658e1ea53ab7e460caad935612e854fca40a7de54f8381e2e33fddac131b794cb832cd9b42586c97f3569636601b0e51b0e1da19ad663f001239f
|
7
|
+
data.tar.gz: 7fa3a0ad51c279016d6826b8f9ced49706712554be984f3f81c6c615736782983dfb69e20e8f2245236b4b7aa9ef9bcb232537d8994d6b35b9e65f7c3024f40f
|
data/lib/cuvva_error.rb
CHANGED
@@ -21,9 +21,10 @@ class CuvvaError < StandardError
|
|
21
21
|
@reasons = reasons
|
22
22
|
@meta = meta
|
23
23
|
@stack = caller
|
24
|
-
@http_status = CuvvaError.http_status_map.has_key?(code)
|
25
|
-
|
26
|
-
|
24
|
+
@http_status = CuvvaError.http_status_map.has_key?(code) &&
|
25
|
+
CuvvaError.http_status_map[code] ?
|
26
|
+
CuvvaError.http_status_map[code] :
|
27
|
+
500
|
27
28
|
end
|
28
29
|
|
29
30
|
def to_json
|
data/lib/cuvva_log.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuvva_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Fransham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Super-simple logs for the Ruby-based Cuvva systems
|
14
14
|
email: jack.fransham@cuvva.co
|
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
41
|
rubyforge_project:
|
42
|
-
rubygems_version: 2.
|
42
|
+
rubygems_version: 2.4.8
|
43
43
|
signing_key:
|
44
44
|
specification_version: 4
|
45
45
|
summary: Super-simple logs for the Ruby-based Cuvva systems
|