hypernova-plugin-server_stacktrace 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20f9cdbcd76f1f46e27b50228c48b86e1aaf741a61da14196aeb507668b3fe07
|
4
|
+
data.tar.gz: 3641c82cf0babcdcad42c12cf6a612084026cd6b13eda2372e74536378b8ac88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b1deb88d910c2ae2707622823912c6cac9e939899df20a83fe872e87eb1175d77fb057ac7ada1d0161ddf2cf76707f58f459a38ee3ff42cbc3de06b82cb8f46
|
7
|
+
data.tar.gz: abfd9829297c237516f6e6da7efb983374e5a9500c06ba0f5d7461bfaaa08b853ca09a1f4e0e3682ba1db5162afeecab0c81763f8f2720e0151a715f9ec29ab7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## [0.1.1](https://github.com/yasaichi/hypernova-plugin-server_stacktrace/releases/tag/v0.1.1) (August 27, 2018)
|
4
|
+
|
5
|
+
- [Make `ServerStacktrace#after_response` return `current_response`](https://github.com/yasaichi/hypernova-plugin-server_stacktrace/pull/1)
|
6
|
+
|
3
7
|
## [0.1.0](https://github.com/yasaichi/hypernova-plugin-server_stacktrace/releases/tag/v0.1.0) (August 26, 2018)
|
4
8
|
|
5
9
|
- The initial release to reserve the gem name
|
@@ -10,10 +10,12 @@ module Hypernova
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def after_response(current_response, _original_response)
|
13
|
-
current_response
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
current_response.tap do |hash|
|
14
|
+
hash
|
15
|
+
.map { |name, result| [name, result.dig("error", "stack")] }
|
16
|
+
.select { |_, stack_trace| stack_trace }
|
17
|
+
.each { |name, stack_trace| log(name, stack_trace) }
|
18
|
+
end
|
17
19
|
end
|
18
20
|
|
19
21
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hypernova-plugin-server_stacktrace
|
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
|
- yasaichi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|