mnemosyne-ruby 2.0.0 → 2.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: 4c57253509dac7b4769c0e5849ceaff9f3a95d5d2ddd8ac3e21085fccd4b4579
4
- data.tar.gz: e66afe82c07e5334de5d8f71c06803aea19e033e242d71b632d65a088f9d4e5a
3
+ metadata.gz: 8e43cd3357ec07ccf972193e5985f115f841d62e02c9bcfd3af9e671886a141f
4
+ data.tar.gz: 14edb9c60d6a62d223d920f2e7e066c33adcf7d9e8ceeee1ca4b6796950a1a03
5
5
  SHA512:
6
- metadata.gz: 7934610efa74dfbcbd6a58c61b6266ada44babd8dbb299b724e5967598dbcbcef17159931ac40339ae79865b29e90fe8a3a00a2bc0ed3a9476ad00f594382c18
7
- data.tar.gz: bbf9d044b365f8e1b17374808201f929719335f72e956f71f31421f47449d231603ea1eccc27e2e3104aa971418bb0e16c8c6aabd29f1404cf12d15eaafc42e0
6
+ metadata.gz: 5ff54f453fae4c438d21e7bfaa7799d95c6823bf735cf3f9dfd45bcd0e87df6792c07f5c276f4f60ad7084387f86223bb299d5059118701780479a583e28f079
7
+ data.tar.gz: 9dd721a3140b9d6a2482317b84afa046aa4f01bf5b3dd06c5bcf50ed8638d6cb43d0cf1ca91ca679e0966e04044b369ff6a6d37d3be5a506bf4d894b4908a7e2
@@ -0,0 +1,36 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*
7
+
8
+ jobs:
9
+ rubygems:
10
+ if: github.repository == 'mnemosyne-mon/mnemosyne-ruby'
11
+ runs-on: ubuntu-24.04
12
+
13
+ permissions:
14
+ contents: write
15
+ id-token: write
16
+
17
+ env:
18
+ BUNDLE_JOBS: 4
19
+ BUNDLE_RETRY: 10
20
+ BUNDLE_WITHOUT: development test
21
+
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ruby
28
+ bundler-cache: true
29
+
30
+ - uses: rubygems/release-gem@v1
31
+
32
+ - uses: taiki-e/create-gh-release-action@v1
33
+ with:
34
+ changelog: CHANGELOG.md
35
+ draft: true
36
+ token: ${{ secrets.GITHUB_TOKEN }}
@@ -6,7 +6,7 @@ on:
6
6
  jobs:
7
7
  test:
8
8
  name: Ruby ${{ matrix.ruby }} / ${{ matrix.suite }}
9
- runs-on: ubuntu-22.04
9
+ runs-on: ubuntu-24.04
10
10
 
11
11
  strategy:
12
12
  fail-fast: false
@@ -21,9 +21,11 @@ jobs:
21
21
  - faraday-2.0
22
22
  - msgr
23
23
  - rack
24
- - rails-6.1
25
- - rails-7.0
24
+ - rails-8.0
25
+ - rails-7.2
26
26
  - rails-7.1
27
+ - rails-7.0
28
+ - rails-6.1
27
29
  - redis-4.0
28
30
  - redis-5.0
29
31
  - redis-client
@@ -46,15 +48,21 @@ jobs:
46
48
  - suite: rack
47
49
  spec: --tag probe:rack
48
50
  gemfile: gemfiles/core.gemfile
49
- - suite: rails-6.1
51
+ - suite: rails-8.0
50
52
  spec: --tag probe:rails --tag ~probe
51
- gemfile: gemfiles/rails_61.gemfile
52
- - suite: rails-7.0
53
+ gemfile: gemfiles/rails_80.gemfile
54
+ - suite: rails-7.2
53
55
  spec: --tag probe:rails --tag ~probe
54
- gemfile: gemfiles/rails_70.gemfile
56
+ gemfile: gemfiles/rails_72.gemfile
55
57
  - suite: rails-7.1
56
58
  spec: --tag probe:rails --tag ~probe
57
59
  gemfile: gemfiles/rails_71.gemfile
60
+ - suite: rails-7.0
61
+ spec: --tag probe:rails --tag ~probe
62
+ gemfile: gemfiles/rails_70.gemfile
63
+ - suite: rails-6.1
64
+ spec: --tag probe:rails --tag ~probe
65
+ gemfile: gemfiles/rails_61.gemfile
58
66
  - suite: redis-4.0
59
67
  spec: --tag probe:redis
60
68
  gemfile: gemfiles/redis_40.gemfile
@@ -73,6 +81,9 @@ jobs:
73
81
  - suite: sidekiq-7
74
82
  spec: --tag probe:sidekiq
75
83
  gemfile: gemfiles/sidekiq_70.gemfile
84
+ exclude:
85
+ - ruby: "3.1"
86
+ suite: rails-8.0
76
87
 
77
88
  env:
78
89
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
@@ -105,7 +116,7 @@ jobs:
105
116
 
106
117
  rubocop:
107
118
  name: rubocop
108
- runs-on: ubuntu-22.04
119
+ runs-on: ubuntu-24.04
109
120
 
110
121
  env:
111
122
  BUNDLE_WITHOUT: development test
data/Appraisals CHANGED
@@ -20,6 +20,24 @@ appraise 'faraday-20' do
20
20
  end
21
21
  end
22
22
 
23
+ appraise 'rails-80' do
24
+ remove_gem 'rubocop'
25
+
26
+ group :test do
27
+ gem 'rails', '~> 8.0.0'
28
+ gem 'sqlite3', '~> 2.0'
29
+ end
30
+ end
31
+
32
+ appraise 'rails-72' do
33
+ remove_gem 'rubocop'
34
+
35
+ group :test do
36
+ gem 'rails', '~> 7.2.0'
37
+ gem 'sqlite3', '~> 1.4'
38
+ end
39
+ end
40
+
23
41
  appraise 'rails-71' do
24
42
  remove_gem 'rubocop'
25
43
 
data/CHANGELOG.md CHANGED
@@ -6,6 +6,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.1.1] - 2024-12-13
10
+
11
+ ### Added
12
+
13
+ - Fix issue with automated release
14
+
15
+ ## [2.1.0] - 2024-12-13
16
+
17
+ ### Added
18
+
19
+ - Increase compatibility of Kernel#require patch
20
+ - Add support for Rails 7.2
21
+ - Add support for Rails 8.0
22
+
23
+ ## [2.0.0] - 2024-02-29
24
+
9
25
  ### Removed
10
26
 
11
27
  - Dropped support for Ruby < 3.1
@@ -223,7 +239,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
223
239
 
224
240
  - Add platform identifier
225
241
 
226
- [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.17.0...HEAD
242
+ [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.1...HEAD
243
+ [2.1.1]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.0...v2.1.1
244
+ [2.1.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.0.0...v2.1.0
245
+ [2.0.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.17.0...v2.0.0
227
246
  [1.17.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.16.0...v1.17.0
228
247
  [1.16.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.15.0...v1.16.0
229
248
  [1.15.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.14.0...v1.15.0
data/Gemfile CHANGED
@@ -6,10 +6,11 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'rake', '~> 13.0'
9
- gem 'rubocop', '~> 1.60.0'
9
+ gem 'rake-release', '~> 1.3.0'
10
+ gem 'rspec', '~> 3.6'
11
+ gem 'rubocop', '~> 1.68.0'
10
12
 
11
13
  group :test do
12
- gem 'rspec', '~> 3.6'
13
14
  gem 'timecop', '~> 0.9.1'
14
15
 
15
16
  gem 'faraday'
@@ -19,13 +20,13 @@ group :test do
19
20
  gem 'redis-client'
20
21
  gem 'restify'
21
22
  gem 'sidekiq'
22
- gem 'sqlite3'
23
23
  gem 'webmock'
24
+
25
+ gem 'sqlite3', '~> 2.0'
24
26
  end
25
27
 
26
28
  group :development do
27
29
  gem 'appraisal'
28
- gem 'rake-release', '~> 1.3.0'
29
30
 
30
31
  gem 'pry', require: false
31
32
  gem 'pry-byebug', require: false
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3", "~> 1.4"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 1.4"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3", "~> 1.4"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 1.4"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3", "~> 1.4"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 1.4"
19
19
  end
20
20
 
21
21
  group :development do
@@ -0,0 +1,28 @@
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.2.0"
13
+ gem "redis"
14
+ gem "redis-client"
15
+ gem "restify"
16
+ gem "sidekiq"
17
+ gem "webmock"
18
+ gem "sqlite3", "~> 1.4"
19
+ end
20
+
21
+ group :development do
22
+ gem "appraisal"
23
+ gem "rake-release", "~> 1.3.0"
24
+ gem "pry", require: false
25
+ gem "pry-byebug", require: false
26
+ end
27
+
28
+ gemspec path: "../"
@@ -0,0 +1,28 @@
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", "~> 8.0.0"
13
+ gem "redis"
14
+ gem "redis-client"
15
+ gem "restify"
16
+ gem "sidekiq"
17
+ gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
+ end
20
+
21
+ group :development do
22
+ gem "appraisal"
23
+ gem "rake-release", "~> 1.3.0"
24
+ gem "pry", require: false
25
+ gem "pry-byebug", require: false
26
+ end
27
+
28
+ gemspec path: "../"
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq", "~> 6.0"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -14,8 +14,8 @@ group :test do
14
14
  gem "redis-client"
15
15
  gem "restify"
16
16
  gem "sidekiq", "~> 7.0"
17
- gem "sqlite3"
18
17
  gem "webmock"
18
+ gem "sqlite3", "~> 2.0"
19
19
  end
20
20
 
21
21
  group :development do
@@ -21,20 +21,18 @@ module Mnemosyne
21
21
  @registry ||= ::Mnemosyne::Registry.new
22
22
  end
23
23
  end
24
- end
25
- end
26
24
 
27
- module Kernel
28
- alias require_without_mn require
25
+ module Loader
26
+ module_function
29
27
 
30
- def require(name)
31
- ret = require_without_mn(name)
32
-
33
- begin
34
- ::Mnemosyne::Probes.required(name)
35
- rescue Exception # rubocop:disable Lint/RescueException,Lint/SuppressedException
28
+ def require(name)
29
+ super(name).tap do
30
+ ::Mnemosyne::Probes.required(name)
31
+ rescue Exception # rubocop:disable Lint/RescueException,Lint/SuppressedException
32
+ end
33
+ end
36
34
  end
37
35
 
38
- ret
36
+ ::Kernel.prepend(Loader)
39
37
  end
40
38
  end
@@ -3,8 +3,8 @@
3
3
  module Mnemosyne
4
4
  module VERSION
5
5
  MAJOR = 2
6
- MINOR = 0
7
- PATCH = 0
6
+ MINOR = 1
7
+ PATCH = 1
8
8
  STAGE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, STAGE].compact.join('.')
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = %w[lib]
28
28
 
29
29
  spec.required_ruby_version = '>= 3.1'
30
- spec.add_runtime_dependency 'activesupport', '>= 6.1'
31
- spec.add_runtime_dependency 'bunny'
30
+
31
+ spec.add_dependency 'activesupport', '>= 6.1'
32
+ spec.add_dependency 'bunny'
32
33
  end
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: 2.0.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-29 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description:
41
+ description:
42
42
  email:
43
43
  - jgraichen@altimos.de
44
44
  executables: []
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".editorconfig"
49
+ - ".github/workflows/release.yml"
49
50
  - ".github/workflows/test.yml"
50
51
  - ".gitignore"
51
52
  - ".markdownlint.yml"
@@ -64,6 +65,8 @@ files:
64
65
  - gemfiles/rails_61.gemfile
65
66
  - gemfiles/rails_70.gemfile
66
67
  - gemfiles/rails_71.gemfile
68
+ - gemfiles/rails_72.gemfile
69
+ - gemfiles/rails_80.gemfile
67
70
  - gemfiles/redis_40.gemfile
68
71
  - gemfiles/redis_50.gemfile
69
72
  - gemfiles/sidekiq_60.gemfile
@@ -120,7 +123,7 @@ licenses:
120
123
  - MIT
121
124
  metadata:
122
125
  rubygems_mfa_required: 'true'
123
- post_install_message:
126
+ post_install_message:
124
127
  rdoc_options: []
125
128
  require_paths:
126
129
  - lib
@@ -135,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
138
  - !ruby/object:Gem::Version
136
139
  version: '0'
137
140
  requirements: []
138
- rubygems_version: 3.5.3
139
- signing_key:
141
+ rubygems_version: 3.5.22
142
+ signing_key:
140
143
  specification_version: 4
141
144
  summary: Ruby/Rails client for Mnemosyne APM
142
145
  test_files: []