memo_wise 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5a910792fbcb5c44a6b7e82d8c62b4c11c64fef9d59ac79a326a34e8fde9b87
4
- data.tar.gz: b00093fd37b3f9ff175d41db4eafde58b6af04037f07b1c02328e1aab84d674b
3
+ metadata.gz: ab71a63edee91cbbcbbdd2bcf944db9b2e583473e6bc5c5bcbb6fd8db87c1168
4
+ data.tar.gz: 4eb1cbc4d43959ee772aba057955f4598fc999f8cbbe3930d4f1c438e34a848b
5
5
  SHA512:
6
- metadata.gz: 9e93861cd450870d06793d72a19452354a983f0a2211e65086d699cb3b6c710b9d34e52bf7afa3a4e26a60e831fea9cc8b7596324f4daae83d1af84dfa9095a5
7
- data.tar.gz: 49855e1a33e75516493a7d6ddb89b22d5856e4a8f86ccdf32ace6adde03a1873e49e504ece5d2c10122d4eeff09967257495732006e00f8d1f01966096572e8f
6
+ metadata.gz: 99236f8f3e9e3108ca6c2c0ac41cdca3329cece4914f8fc8ad1a87496ce94de61b19f10da957a605e1a4171f141b180ddb57da9000f980d7d529e85f005bc1e6
7
+ data.tar.gz: c99c03968b97643e2b86a0d3cdefa13302c45d148a7a843ef6b94d2e2bc9922e7f174d40d2cd735c7199c3333ca0524e424c7c9fedf93d6ae571f2b11e23572e
data/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ follows a format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.
5
5
 
6
6
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [Unreleased](https://github.com/panorama-ed/memo_wise/compare/v1.12.0...HEAD)
8
+ ## [Unreleased](https://github.com/panorama-ed/memo_wise/compare/v1.13.0...HEAD)
9
9
 
10
10
  **Gem enhancements:** none
11
11
 
@@ -13,6 +13,16 @@ _No breaking changes!_
13
13
 
14
14
  **Project enhancements:** none
15
15
 
16
+ ## [v1.13.0](https://github.com/panorama-ed/memo_wise/compare/v1.12.0...v1.13.0)
17
+
18
+ **Gem enhancements:**
19
+
20
+ - Prevented overwriting of `included` in modules prepending `MemoWise` [[#387]](https://github.com/panorama-ed/memo_wise/pull/387))
21
+
22
+ _No breaking changes!_
23
+
24
+ **Project enhancements:** none
25
+
16
26
  ## [v1.12.0](https://github.com/panorama-ed/memo_wise/compare/v1.11.0...v1.12.0)
17
27
 
18
28
  **Gem enhancements:** none
data/README.md CHANGED
@@ -118,15 +118,15 @@ Results using Ruby 3.4.3:
118
118
 
119
119
  |Method arguments|`alt_memery` (2.1.0)|`dry-core`\* (1.1.0)|`memery` (1.7.0)|`memoist3` (1.0.0)|`short_circu_it` (0.29.3)|
120
120
  |--|--|--|--|--|--|
121
- |`()` (none)|12.27x|0.58x|3.36x|2.79x|18.43x|
122
- |`(a)`|9.50x|0.99x|3.79x|14.93x|14.16x|
123
- |`(a, b)`|7.51x|0.83x|2.96x|11.84x|11.19x|
124
- |`(a:)`|14.32x|1.00x|6.46x|19.60x|12.81x|
125
- |`(a:, b:)`|12.24x|0.86x|5.56x|20.89x|10.78x|
126
- |`(a, b:)`|11.98x|0.85x|5.42x|16.25x|10.76x|
127
- |`(a, *args)`|1.91x|0.66x|0.75x|2.96x|2.80x|
128
- |`(a:, **kwargs)`|2.73x|0.71x|1.22x|4.69x|2.41x|
129
- |`(a, *args, b:, **kwargs)`|1.76x|0.63x|0.84x|3.00x|1.52x|
121
+ |`()` (none)|12.20x|0.57x|3.31x|2.76x|18.45x|
122
+ |`(a)`|9.75x|0.98x|3.76x|14.54x|13.96x|
123
+ |`(a, b)`|7.59x|0.82x|2.92x|11.39x|10.87x|
124
+ |`(a:)`|14.89x|0.97x|6.39x|19.76x|12.60x|
125
+ |`(a:, b:)`|12.64x|0.86x|5.43x|21.05x|10.70x|
126
+ |`(a, b:)`|12.25x|0.84x|5.22x|16.12x|10.31x|
127
+ |`(a, *args)`|1.89x|0.65x|0.73x|2.84x|2.70x|
128
+ |`(a:, **kwargs)`|2.86x|0.71x|1.21x|4.79x|2.42x|
129
+ |`(a, *args, b:, **kwargs)`|1.81x|0.62x|0.83x|3.03x|1.52x|
130
130
 
131
131
  \* `dry-core`
132
132
  [may cause incorrect behavior caused by hash collisions](https://github.com/dry-rb/dry-core/issues/63).
@@ -265,14 +265,7 @@ the [code of conduct](https://github.com/panorama-ed/memo_wise/blob/main/CODE_OF
265
265
  ## Releasing
266
266
 
267
267
  To make a new release of `MemoWise` to
268
- [RubyGems](https://rubygems.org/gems/memo_wise), first install the `release`
269
- dependencies (e.g. `rake`) as follows:
270
-
271
- ```shell
272
- BUNDLE_WITH=release bundle install
273
- ```
274
-
275
- Then carry out these steps:
268
+ [RubyGems](https://rubygems.org/gems/memo_wise):
276
269
 
277
270
  1. Update `CHANGELOG.md`:
278
271
  - Add an entry for the upcoming version _x.y.z_
@@ -292,7 +285,7 @@ Then carry out these steps:
292
285
  - Run `bundle install` to update `Gemfile.lock`
293
286
  - Commit with title `Bump version to x.y.z`
294
287
 
295
- 3. `bundle exec rake release`
288
+ 3. `BUNDLE_WITH=release bundle install && BUNDLE_WITH=release bundle exec rake release`
296
289
 
297
290
  ## License
298
291
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MemoWise
4
- VERSION = "1.12.0"
4
+ VERSION = "1.13.0"
5
5
  end
data/lib/memo_wise.rb CHANGED
@@ -67,6 +67,7 @@ module MemoWise
67
67
  module CreateMemoWiseStateOnIncluded
68
68
  def included(base)
69
69
  base.prepend(MemoWise)
70
+ super
70
71
  end
71
72
  end
72
73
  private_constant(:CreateMemoWiseStateOnIncluded)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memo_wise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Panorama Education