mnemosyne-ruby 2.1.1 → 2.1.2

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: 8e43cd3357ec07ccf972193e5985f115f841d62e02c9bcfd3af9e671886a141f
4
- data.tar.gz: 14edb9c60d6a62d223d920f2e7e066c33adcf7d9e8ceeee1ca4b6796950a1a03
3
+ metadata.gz: 23754f3dc72d8fc75550f81964b3f149bd1b520e12713bd6118e73552ef1087e
4
+ data.tar.gz: 49e6ad91265f5d6b4b52a6b8507b9545adf10f6f12a177e8792b981772eca1d1
5
5
  SHA512:
6
- metadata.gz: 5ff54f453fae4c438d21e7bfaa7799d95c6823bf735cf3f9dfd45bcd0e87df6792c07f5c276f4f60ad7084387f86223bb299d5059118701780479a583e28f079
7
- data.tar.gz: 9dd721a3140b9d6a2482317b84afa046aa4f01bf5b3dd06c5bcf50ed8638d6cb43d0cf1ca91ca679e0966e04044b369ff6a6d37d3be5a506bf4d894b4908a7e2
6
+ metadata.gz: 99e20f39b5a910964ec96b1ed3c10e710c5cb283686a22b863104422b5813bdf22911a9e68da5dda023fc76df0717d491c669b3b972ff9dd28eec3f253592a49
7
+ data.tar.gz: 1db917bf0abd62b65ca3f19eb201ce42cd37faed2517e0ccadc452b737c0c60d112cf49d2e0aeae0545e8dcbcf951e7e8e5e33c8204f046465b7cb4cb0c52e68
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ 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.2] - 2024-12-18
10
+
11
+ ### Fixed
12
+
13
+ - Issue with require hook in Rails app
14
+
9
15
  ## [2.1.1] - 2024-12-13
10
16
 
11
17
  ### Added
@@ -239,7 +245,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
239
245
 
240
246
  - Add platform identifier
241
247
 
242
- [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.1...HEAD
248
+ [Unreleased]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.2...HEAD
249
+ [2.1.2]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.1...v2.1.2
243
250
  [2.1.1]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.1.0...v2.1.1
244
251
  [2.1.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v2.0.0...v2.1.0
245
252
  [2.0.0]: https://github.com/mnemosyne-mon/mnemosyne-ruby/compare/v1.17.0...v2.0.0
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ gemspec
8
8
  gem 'rake', '~> 13.0'
9
9
  gem 'rake-release', '~> 1.3.0'
10
10
  gem 'rspec', '~> 3.6'
11
- gem 'rubocop', '~> 1.68.0'
11
+ gem 'rubocop', '~> 1.69.0'
12
12
 
13
13
  group :test do
14
14
  gem 'timecop', '~> 0.9.1'
@@ -21,18 +21,18 @@ module Mnemosyne
21
21
  @registry ||= ::Mnemosyne::Registry.new
22
22
  end
23
23
  end
24
+ end
25
+ end
24
26
 
25
- module Loader
26
- module_function
27
+ module Kernel
28
+ module_function
27
29
 
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
34
- end
30
+ alias require_without_mnemosyne require
35
31
 
36
- ::Kernel.prepend(Loader)
32
+ def require(name)
33
+ require_without_mnemosyne(name).tap do
34
+ ::Mnemosyne::Probes.required(name)
35
+ rescue Exception # rubocop:disable Lint/RescueException,Lint/SuppressedException
36
+ end
37
37
  end
38
38
  end
@@ -4,7 +4,7 @@ module Mnemosyne
4
4
  module VERSION
5
5
  MAJOR = 2
6
6
  MINOR = 1
7
- PATCH = 1
7
+ PATCH = 2
8
8
  STAGE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, STAGE].compact.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: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport