memoize_until 1.3.1 → 1.3.2

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: 8d5800dd9464ea0e52a7c86dece3eba58dd9ac3c4aa4844d71619f7bdd18f740
4
- data.tar.gz: 259618aa762f0c5000e77a5bd9926031290308f57c463962fb44a854ee7e7a2e
3
+ metadata.gz: 160e1c6f817d5fe7274681d38532c51c6ae595f936e327fd3bf7169a457526db
4
+ data.tar.gz: c56b4608eb66056ef5bfb5bd47af4fec2602a66b3bee6ada281132ee16640f03
5
5
  SHA512:
6
- metadata.gz: 1fa974aca2175396f8a18cebc69811332f08faeecfbcc0028d5c0c628b22eb02c1891949d50513ebed5aaaefb6a6d13bebbc21874afab048057eea3efcbef8a5
7
- data.tar.gz: f6e5ff67499b9addec68276bbf0f6b2278baf371f2c0e7c927ae0852f713e0b8c71cc3c06022b0f142c7882c0e869b45d7083a18e263e48231ffc2d6e769edb4
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
+ 1.3.2
@@ -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('/config/memoize_until.yml'))
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memoize_until
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ritikesh