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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a158ad57fc2696906e60524f77c37652db5e84029c833cf9f33d1526f3aa91c
4
- data.tar.gz: 428a2aafeaa742329aed3b39c6b86741af0b36b6e0f33ab037ae7fbf64911cbe
3
+ metadata.gz: 368df7fa55a8dc849917a5854026d50752f3701afede7bc9418c83e229a1fe50
4
+ data.tar.gz: 7998fda22e20966eae15450faf4c2e73e103c24e23b2decd3c41b76c605ec036
5
5
  SHA512:
6
- metadata.gz: 07de5f2488be3ba52d8ad663bb43535b5979aa15db6a25dea2523e2453ec5aff9d7225ce02428711b71c7592410a53c1827d3dee2a0cc064fb98cd734d790057
7
- data.tar.gz: 157d67c0de961846d7a62441adc4cc8fdfcea70df8e1a5b716fa0699555e4ab7ffd26bd74acadfef331a8ffbca477e3bfc6f49bb54af8874941ee4d643cdad6e
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module ExisRay
4
4
  # Versión actual de la gema.
5
- VERSION = "0.3.3"
5
+ VERSION = "0.3.4"
6
6
  end
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) && Rails.application.config.cache_classes
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exis_ray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Edera