mnemosyne-ruby 1.6.2 → 1.7.0

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: 648a337695a9227a1dbe92325c2684a1ab1c8ce7284adb9b03628a9b0991c718
4
- data.tar.gz: 400c0fa7b71f1d4d65b15383d4711400c6cab7314a490e595655a425ebb02f85
3
+ metadata.gz: fb2326f2e2297d704b1c3d859a2ee58069b3bacdde6048e81497608627d648c3
4
+ data.tar.gz: fefd390b87f1f4c24ae2e4ad4cfc3c395680dfad02a1ade58cc3452546783878
5
5
  SHA512:
6
- metadata.gz: ff4b8c8e6e7010454619e7b08b87f65b5e598b9b98bac7612f16a52c1ca4b43f9c414830e84492cc238c4dbd5481f86a3417a1a25ea4d0ff24a2699c303eedd5
7
- data.tar.gz: a8eb2c26c69fb1dd9d7364e6e64283f6fcee9771967978b92cb76a7bb08809999586c52ee44c69cf9249c501ad6d2733d22510e5bfe9a01cbdcba0a0760e1577
6
+ metadata.gz: 3cbf49d3f0dd1266547b457111e4a04dc486aa427bbe8014bdac9c346d5a6449468c699d3db7f142241eeda8336da11c5c278cf44c278e5220273f14b4f9619b
7
+ data.tar.gz: 0402611e591f645b4a3398d6e052caa23d6b54aab2e8f52812c05145c62bd44cc4c644f4b9cea0830adb92afd6f30a8a33639529eb46d3d7cf53245dc44bf058
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.7.0] - 2019-05-21
9
+ ### Added
10
+ - Restify probe: Attach HTTP response status (#12, #13)
11
+
8
12
  ## [1.6.2] - 2019-05-16
9
13
  ### Fixed
10
14
  - The Faraday probe dropped Faraday's default request encoder
@@ -74,7 +78,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
74
78
  ### Added
75
79
  - Add platform identifier
76
80
 
77
- [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.6.2...HEAD
81
+ [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.7.0...HEAD
82
+ [1.7.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.6.2...v1.7.0
78
83
  [1.6.2]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.6.1...v1.6.2
79
84
  [1.6.1]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.6.0...v1.6.1
80
85
  [1.6.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.5.1...v1.6.0
@@ -23,9 +23,10 @@ module Mnemosyne
23
23
  request.headers['X-Mnemosyne-Origin'] = span.uuid
24
24
 
25
25
  super.tap do |x|
26
- x.add_observer do |_, _response, _err|
27
- span.finish!
28
- trace << span
26
+ x.add_observer do |_, response, _err|
27
+ span.meta[:status] = response.code
28
+
29
+ trace << span.finish!
29
30
  end
30
31
  end
31
32
  else
@@ -3,8 +3,8 @@
3
3
  module Mnemosyne
4
4
  module VERSION
5
5
  MAJOR = 1
6
- MINOR = 6
7
- PATCH = 2
6
+ MINOR = 7
7
+ PATCH = 0
8
8
  STAGE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mnemosyne-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-16 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport