rails-persona 0.2.4 → 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: b194d6b38b3b3e4255d41b0b6e27f03d445ad9dd490858ebf8064d700d57c933
4
- data.tar.gz: 2a30f2bed7d8feb3892d13f69b6105b795e6e3d7bc2222b2431c068b520b9b14
3
+ metadata.gz: d27d511e3f2c5f58113613f16cff04fed7f69f5cf217d521f057b48db8e25e48
4
+ data.tar.gz: 52ae9e35681a62fb375b25cdc0d8ab1ab61d13cb2a88fd259ed627cc893ec4c8
5
5
  SHA512:
6
- metadata.gz: f69dae3e686d6e896bd7369db5fe59723e48290bda068d32a63f61eadb50a5e8c35e49f6c4f9df29eb7c6e06467ac71ee9e067401c1d7d39cc79018917aae3ac
7
- data.tar.gz: ca433078eecb7fcf164d9162f6bacf7658bad6bddd09adccf57950721e99dcf0b22af8d034ab3879965d5738024b87645886e2b175e2a88a964f3b288c77622b
6
+ metadata.gz: 0d62d65302393a217a3860d3b9d1c83e930f0f9fa2e06396d61a847a4393da3f53817f9b5077864858b68ef0584145c26e5ae96723fda4c76c080135a9e1db5d
7
+ data.tar.gz: c8a7d651b9a7dc45dd07b01d62c152792dce84406ff81ea4cfcdeb00f34faa7a0e9152e437b064b81fd1c4183f7aac13bf4d052752bc2d0fd44aef5a20383589
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ## [0.2.5] - 2026-06-01
8
+ ### Fixed
9
+ - Add gem app/ directory to Rails autoload paths so PersonaEvent is accessible (fixes #12)
10
+
3
11
  ## [0.2.4] - 2026-06-01
4
12
  ### Fixed
5
13
  - Replace `t.jsonb` with `t.text` in migration for SQLite compatibility (fixes #10)
@@ -9,6 +9,10 @@ module Persona
9
9
  end
10
10
  end
11
11
 
12
+ config.before_initialize do |app|
13
+ app.config.autoload_paths << File.expand_path("../../app/models", __dir__)
14
+ end
15
+
12
16
  rake_tasks do
13
17
  load File.expand_path("../../tasks/persona_tasks.rake", __dir__)
14
18
  end
@@ -1,3 +1,3 @@
1
1
  module Persona
2
- VERSION = "0.2.4"
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.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syed M. Ghani