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: 77425b5a2a2422f9d3fdea418d21b63cdd2509eaefed2c20fb3c1e12d6400436
4
- data.tar.gz: 0eb05d27c39b15d8a9c1db97b96f896e1332d2eef18f1ca8a8e8800e69e90576
3
+ metadata.gz: 20f9cdbcd76f1f46e27b50228c48b86e1aaf741a61da14196aeb507668b3fe07
4
+ data.tar.gz: 3641c82cf0babcdcad42c12cf6a612084026cd6b13eda2372e74536378b8ac88
5
5
  SHA512:
6
- metadata.gz: 928d0a345686e371a4f4fec6e0134b50206f223576225750dba1afb7c6bca9ab0440eceb5a423a06d73e617ff26231903f6c77a8405740e5c838c44fca9b40cd
7
- data.tar.gz: 3dfa008878d181834fafdb14ae33753030a0582abdee6aafa641aca781d6bbd6137bea3e713511976f9e4ef8aae535c36b29d527554082efd4ca29730040609d
6
+ metadata.gz: 1b1deb88d910c2ae2707622823912c6cac9e939899df20a83fe872e87eb1175d77fb057ac7ada1d0161ddf2cf76707f58f459a38ee3ff42cbc3de06b82cb8f46
7
+ data.tar.gz: abfd9829297c237516f6e6da7efb983374e5a9500c06ba0f5d7461bfaaa08b853ca09a1f4e0e3682ba1db5162afeecab0c81763f8f2720e0151a715f9ec29ab7
@@ -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
- .map { |name, result| [name, result.dig("error", "stack")] }
15
- .select { |_, stack_trace| stack_trace }
16
- .each { |name, stack_trace| log(name, stack_trace) }
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
@@ -3,7 +3,7 @@
3
3
  module Hypernova
4
4
  module Plugin
5
5
  class ServerStacktrace
6
- VERSION = "0.1.0"
6
+ VERSION = "0.1.1"
7
7
  end
8
8
  end
9
9
  end
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.0
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-26 00:00:00.000000000 Z
11
+ date: 2018-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler