exis_ray 0.3.3 → 0.3.4
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 +5 -0
- data/lib/exis_ray/version.rb +1 -1
- data/lib/exis_ray.rb +10 -1
- 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: 368df7fa55a8dc849917a5854026d50752f3701afede7bc9418c83e229a1fe50
|
|
4
|
+
data.tar.gz: 7998fda22e20966eae15450faf4c2e73e103c24e23b2decd3c41b76c605ec036
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 791eca1e5cd91703ebd7d43803b09a55f718918ac65808eecd9ae8d8141944297f9d06ab1f7b46519dcd0018e0174ebc307d14a297eefa9581440e2c6448cdb0
|
|
7
|
+
data.tar.gz: e2c88c9e68556110a8ab757009e2f824849123202f692aa71d15015d3c4aaa385fc90cd093bb7657f112a1a217f98c7ed4385de11d0c6e1f9cf3c5a5b36abfee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [0.3.4] - 2026-03-23
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- **Compatibilidad con Rails 7.1+ y Rails 8:** `config.cache_classes` fue deprecado en Rails 7.1 en favor de `config.enable_reloading` (semántica inversa). El helper interno `cache_classes?` ahora detecta cuál API está disponible y usa la correcta, manteniendo compatibilidad con Rails 6, 7 y 8 sin deprecation warnings.
|
|
5
|
+
|
|
1
6
|
## [0.3.3] - 2026-03-23
|
|
2
7
|
|
|
3
8
|
### Fixed
|
data/lib/exis_ray/version.rb
CHANGED
data/lib/exis_ray.rb
CHANGED
|
@@ -101,7 +101,16 @@ module ExisRay
|
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
def cache_classes?
|
|
104
|
-
defined?(Rails)
|
|
104
|
+
return false unless defined?(Rails)
|
|
105
|
+
|
|
106
|
+
config = Rails.application.config
|
|
107
|
+
# Rails 7.1+ reemplazó cache_classes por enable_reloading (semántica inversa).
|
|
108
|
+
# Soportamos ambas APIs para mantener compatibilidad con Rails 6, 7 y 8.
|
|
109
|
+
if config.respond_to?(:enable_reloading)
|
|
110
|
+
!config.enable_reloading
|
|
111
|
+
else
|
|
112
|
+
config.cache_classes
|
|
113
|
+
end
|
|
105
114
|
end
|
|
106
115
|
end
|
|
107
116
|
end
|