mnemosyne-ruby 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +24 -0
- data/Appraisals +9 -0
- data/CHANGELOG.md +12 -1
- data/Gemfile +1 -1
- data/gemfiles/rails_71.gemfile +27 -0
- data/lib/mnemosyne/probes/action_dispatch/show_exceptions.rb +6 -1
- data/lib/mnemosyne/version.rb +1 -1
- metadata +4 -4
- data/.github/workflows/lint.yml +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cc4eb9f402b3b0b6bff2303ab053db952748357a70353db3bfcd095d7c5c3b8
|
4
|
+
data.tar.gz: 2285a82061c02625dffc6bc660249cf5bc6c950c70968d858a4a2689711dca83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7378f99a3b5d170a027cd971234eb4256a7260d1d4ba5dffd7e0d7a3b94e2f3c3425fc1b920964dae34057b11a93043ef02dac97b8cdc6b779d46626e00a2224
|
7
|
+
data.tar.gz: f3190633b22cd474a4fdc365984dc4a26516637243b2f446345cf6ca4862ed7af456fde353f11babf2a5d4b79870d4102056d7077e7106b887cb16b22d04654b
|
data/.github/workflows/test.yml
CHANGED
@@ -26,6 +26,7 @@ jobs:
|
|
26
26
|
- rails-6.0
|
27
27
|
- rails-6.1
|
28
28
|
- rails-7.0
|
29
|
+
- rails-7.1
|
29
30
|
- redis-4.0
|
30
31
|
- redis-5.0
|
31
32
|
- redis-client
|
@@ -61,6 +62,9 @@ jobs:
|
|
61
62
|
- suite: rails-7.0
|
62
63
|
spec: --tag probe:rails --tag ~probe
|
63
64
|
gemfile: gemfiles/rails_70.gemfile
|
65
|
+
- suite: rails-7.1
|
66
|
+
spec: --tag probe:rails --tag ~probe
|
67
|
+
gemfile: gemfiles/rails_71.gemfile
|
64
68
|
- suite: redis-4.0
|
65
69
|
spec: --tag probe:redis
|
66
70
|
gemfile: gemfiles/redis_40.gemfile
|
@@ -118,3 +122,23 @@ jobs:
|
|
118
122
|
env:
|
119
123
|
AMQP_SERVER: amqp://localhost:${{ job.services.rabbitmq.ports[5672] }}
|
120
124
|
run: bundle exec rspec --color ${{ matrix.spec }}
|
125
|
+
|
126
|
+
rubocop:
|
127
|
+
name: rubocop
|
128
|
+
runs-on: ubuntu-22.04
|
129
|
+
|
130
|
+
env:
|
131
|
+
BUNDLE_WITHOUT: development test
|
132
|
+
|
133
|
+
steps:
|
134
|
+
- uses: actions/checkout@master
|
135
|
+
- uses: ruby/setup-ruby@v1
|
136
|
+
env:
|
137
|
+
BUNDLE_JOBS: 4
|
138
|
+
BUNDLE_RETRY: 3
|
139
|
+
with:
|
140
|
+
ruby-version: 3.1
|
141
|
+
bundler-cache: true
|
142
|
+
|
143
|
+
- name: Run rubocop
|
144
|
+
run: bundle exec rubocop --parallel --color
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.17.0] - 2023-11-28
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Add testing for Rails 7.1 by @MrSerth
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
|
17
|
+
- Invalid exception class for ActionDispatch::ExceptionWrapper by @jgraichen
|
18
|
+
|
9
19
|
## [1.16.0] - 2023-08-24
|
10
20
|
|
11
21
|
### Added
|
@@ -202,7 +212,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
202
212
|
|
203
213
|
- Add platform identifier
|
204
214
|
|
205
|
-
[Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.
|
215
|
+
[Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.17.0...HEAD
|
216
|
+
[1.17.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.16.0...v1.17.0
|
206
217
|
[1.16.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.15.0...v1.16.0
|
207
218
|
[1.15.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.14.0...v1.15.0
|
208
219
|
[1.14.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.14.0...v1.13.0
|
data/Gemfile
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rake", "~> 13.0"
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem "rspec", "~> 3.6"
|
9
|
+
gem "timecop", "~> 0.9.1"
|
10
|
+
gem "faraday"
|
11
|
+
gem "msgr"
|
12
|
+
gem "rails", "~> 7.1.0"
|
13
|
+
gem "redis"
|
14
|
+
gem "restify"
|
15
|
+
gem "sidekiq"
|
16
|
+
gem "sqlite3", "~> 1.4"
|
17
|
+
gem "webmock"
|
18
|
+
end
|
19
|
+
|
20
|
+
group :development do
|
21
|
+
gem "appraisal"
|
22
|
+
gem "rake-release", "~> 1.3.0"
|
23
|
+
gem "pry", require: false
|
24
|
+
gem "pry-byebug", require: false
|
25
|
+
end
|
26
|
+
|
27
|
+
gemspec path: "../"
|
@@ -12,7 +12,12 @@ module Mnemosyne
|
|
12
12
|
module Instrumentation
|
13
13
|
def render_exception(env, exception)
|
14
14
|
if (trace = ::Mnemosyne::Instrumenter.current_trace)
|
15
|
-
|
15
|
+
if exception.respond_to?(:unwrapped_exception) && exception.respond_to?(:exception)
|
16
|
+
# ActionDispatch::ExceptionWrapper
|
17
|
+
trace.attach_error(exception.exception)
|
18
|
+
else
|
19
|
+
trace.attach_error(exception)
|
20
|
+
end
|
16
21
|
end
|
17
22
|
|
18
23
|
super
|
data/lib/mnemosyne/version.rb
CHANGED
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.
|
4
|
+
version: 1.17.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: 2023-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -46,7 +46,6 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- ".editorconfig"
|
49
|
-
- ".github/workflows/lint.yml"
|
50
49
|
- ".github/workflows/test.yml"
|
51
50
|
- ".gitignore"
|
52
51
|
- ".markdownlint.yml"
|
@@ -66,6 +65,7 @@ files:
|
|
66
65
|
- gemfiles/rails_60.gemfile
|
67
66
|
- gemfiles/rails_61.gemfile
|
68
67
|
- gemfiles/rails_70.gemfile
|
68
|
+
- gemfiles/rails_71.gemfile
|
69
69
|
- gemfiles/redis_40.gemfile
|
70
70
|
- gemfiles/redis_50.gemfile
|
71
71
|
- gemfiles/sidekiq_50.gemfile
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.4.
|
141
|
+
rubygems_version: 3.4.22
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Ruby/Rails client for Mnemosyne APM
|
data/.github/workflows/lint.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
name: Lint
|
2
|
-
on:
|
3
|
-
- pull_request
|
4
|
-
- push
|
5
|
-
|
6
|
-
jobs:
|
7
|
-
rubocop:
|
8
|
-
name: rubocop
|
9
|
-
runs-on: ubuntu-22.04
|
10
|
-
|
11
|
-
env:
|
12
|
-
BUNDLE_WITHOUT: development test
|
13
|
-
|
14
|
-
steps:
|
15
|
-
- uses: actions/checkout@master
|
16
|
-
- uses: ruby/setup-ruby@v1
|
17
|
-
env:
|
18
|
-
BUNDLE_JOBS: 4
|
19
|
-
BUNDLE_RETRY: 3
|
20
|
-
with:
|
21
|
-
ruby-version: 3.1
|
22
|
-
bundler-cache: true
|
23
|
-
|
24
|
-
- name: Run rubocop
|
25
|
-
run: bundle exec rubocop --parallel --color
|