memoize_until 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/memoize_until/base.rb +1 -3
- 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: 160e1c6f817d5fe7274681d38532c51c6ae595f936e327fd3bf7169a457526db
|
4
|
+
data.tar.gz: c56b4608eb66056ef5bfb5bd47af4fec2602a66b3bee6ada281132ee16640f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fc5e0bdc57c23f8b2f5293a9daedf338b21e573cfa2e3cda314b693ad7d28b5102920f079493ee87855aa3536d4d093af810f168890587c175bb9f588e8f142
|
7
|
+
data.tar.gz: 8a5697da6a28cf0f6a2eea30095b708ad9169c9c386c2f00975e7db65b41c4e8103eeb8fe2aec78d3f89358e5a52664a698c920c8206468bfd5499ec92b9ff54
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 1.3.2 - 21 April, 2023
|
2
|
+
* [BUG FIX] Path Fix in base.rb. [#14](https://github.com/freshworks/memoize_until/pull/14). Thanks to [@ruban-thilak](https://github.com/ruban-thilak).
|
3
|
+
|
1
4
|
## 1.3.1 - 21 April, 2023
|
2
5
|
* [DEPRECATION FIX] File.exists? is changed to File.exist?, since File.exists? is deprecated in Ruby 3.x. [#11](https://github.com/freshworks/memoize_until/pull/11). Thanks to [@ruban-thilak](https://github.com/ruban-thilak).
|
3
6
|
* [ENHANCEMENT] Add CI checks for rubocop and minitest via Github actions. [#12](https://github.com/freshworks/memoize_until/pull/12). Thanks to [@ruban-thilak](https://github.com/ruban-thilak).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
data/lib/memoize_until/base.rb
CHANGED
@@ -3,9 +3,7 @@
|
|
3
3
|
class MemoizeUntil
|
4
4
|
memoizable_attributes = YAML.load_file("#{__dir__}/config/defaults.yml")
|
5
5
|
|
6
|
-
if defined?(Rails) && File.exist?(Rails.root.join('
|
7
|
-
memoizable_attributes.deep_merge!(YAML.load_file(Rails.root.join('/config/memoize_until.yml')))
|
8
|
-
end
|
6
|
+
memoizable_attributes.deep_merge!(YAML.load_file(Rails.root.join('config/memoize_until.yml'))) if defined?(Rails) && File.exist?(Rails.root.join('config/memoize_until.yml'))
|
9
7
|
|
10
8
|
TYPE_FACTORY = {}
|
11
9
|
private_constant :TYPE_FACTORY
|