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 +4 -4
- data/CHANGELOG.md +11 -1
- data/README.md +11 -18
- data/lib/memo_wise/version.rb +1 -1
- data/lib/memo_wise.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab71a63edee91cbbcbbdd2bcf944db9b2e583473e6bc5c5bcbb6fd8db87c1168
|
4
|
+
data.tar.gz: 4eb1cbc4d43959ee772aba057955f4598fc999f8cbbe3930d4f1c438e34a848b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
122
|
-
|`(a)`|9.
|
123
|
-
|`(a, b)`|7.
|
124
|
-
|`(a:)`|14.
|
125
|
-
|`(a:, b:)`|12.
|
126
|
-
|`(a, b:)`|
|
127
|
-
|`(a, *args)`|1.
|
128
|
-
|`(a:, **kwargs)`|2.
|
129
|
-
|`(a, *args, b:, **kwargs)`|1.
|
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)
|
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
|
|
data/lib/memo_wise/version.rb
CHANGED
data/lib/memo_wise.rb
CHANGED