rails-persona 0.2.5 → 0.2.6

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: 7cd4ad28dad5d2ebcdab27c083d921fd06f87e8b5d0b7e03fd74c6dad21df97c
4
- data.tar.gz: f0daa7069d9b5e332457a25b8d5e4f54f77011735f32e28aedea2d2c24996168
3
+ metadata.gz: d27d511e3f2c5f58113613f16cff04fed7f69f5cf217d521f057b48db8e25e48
4
+ data.tar.gz: 52ae9e35681a62fb375b25cdc0d8ab1ab61d13cb2a88fd259ed627cc893ec4c8
5
5
  SHA512:
6
- metadata.gz: 9577118fc4ded8ba9f062bc3466806541efdd98909f94e58e67dcfba567326b4f9ff8bd33b243e597d9053e273920d43a37e9df392efb3247e6a4fa9c6036e25
7
- data.tar.gz: 34dafcbcc3b499f950eeaa94091f98fa402244e3c70453ee5d86887728d44f578da9adde27244cf2119b182ace7ed3973d4a39e6f4748fd3a81429a6a0441ffb
6
+ metadata.gz: 0d62d65302393a217a3860d3b9d1c83e930f0f9fa2e06396d61a847a4393da3f53817f9b5077864858b68ef0584145c26e5ae96723fda4c76c080135a9e1db5d
7
+ data.tar.gz: c8a7d651b9a7dc45dd07b01d62c152792dce84406ff81ea4cfcdeb00f34faa7a0e9152e437b064b81fd1c4183f7aac13bf4d052752bc2d0fd44aef5a20383589
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.6] - 2026-06-01
4
+ ### Fixed
5
+ - Use `config.before_initialize` instead of initializer for autoload_paths to avoid FrozenError in Rails 7 (fixes #14)
6
+
3
7
  ## [0.2.5] - 2026-06-01
4
8
  ### Fixed
5
9
  - Add gem app/ directory to Rails autoload paths so PersonaEvent is accessible (fixes #12)
@@ -9,7 +9,7 @@ module Persona
9
9
  end
10
10
  end
11
11
 
12
- initializer "persona.autoload_paths" do |app|
12
+ config.before_initialize do |app|
13
13
  app.config.autoload_paths << File.expand_path("../../app/models", __dir__)
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Persona
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-persona
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syed M. Ghani