rails-persona 0.2.3 → 0.2.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: 05f613a64f2d3db3e14856c05dff10126ba57e431eb8cb67ba14c55be6ef56a5
4
- data.tar.gz: 81dee6b85c282f1f6d513e0f0db1da85f9f6e1aeb4ba563e52f6fe7707fa78ef
3
+ metadata.gz: b194d6b38b3b3e4255d41b0b6e27f03d445ad9dd490858ebf8064d700d57c933
4
+ data.tar.gz: 2a30f2bed7d8feb3892d13f69b6105b795e6e3d7bc2222b2431c068b520b9b14
5
5
  SHA512:
6
- metadata.gz: 392494e4f26fc3a39a1daba334b369413a0c9db191a4cf287340aaf888e8dabe030b3b81d15bc39db28350a94c020f33195172c6d6d8350188004622eb208ac3
7
- data.tar.gz: b7339146908e15d2057d5add492b56cd2a1915831fe5163404465ca3c403fa4bd77c907cf8571037b86b926eb7831429e531575b0391e0eded3afc0fdd5664fa
6
+ metadata.gz: f69dae3e686d6e896bd7369db5fe59723e48290bda068d32a63f61eadb50a5e8c35e49f6c4f9df29eb7c6e06467ac71ee9e067401c1d7d39cc79018917aae3ac
7
+ data.tar.gz: ca433078eecb7fcf164d9162f6bacf7658bad6bddd09adccf57950721e99dcf0b22af8d034ab3879965d5738024b87645886e2b175e2a88a964f3b288c77622b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.4] - 2026-06-01
4
+ ### Fixed
5
+ - Replace `t.jsonb` with `t.text` in migration for SQLite compatibility (fixes #10)
6
+
3
7
  ## [0.2.3] - 2026-06-01
4
8
  ### Fixed
5
9
  - Add `tasks/**/*` to gemspec files list so `persona_tasks.rake` is packaged with the gem (fixes #8)
@@ -1,16 +1,16 @@
1
- class CreatePersonaEvents < ActiveRecord::Migration[7.0]
2
- def change
3
- create_table :persona_events do |t|
4
- t.references :trackable, polymorphic: true, null: false, index: true
5
- t.string :action, null: false
6
- t.jsonb :metadata, null: false, default: {}
7
-
8
- t.timestamps
9
- end
10
-
11
- add_index :persona_events, :action
12
- add_index :persona_events, :created_at
13
- add_index :persona_events, [:trackable_type, :trackable_id, :action],
14
- name: "index_persona_events_on_trackable_and_action"
15
- end
16
- end
1
+ class CreatePersonaEvents < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :persona_events do |t|
4
+ t.references :trackable, polymorphic: true, null: false, index: true
5
+ t.string :action, null: false
6
+ t.text :metadata, null: false, default: "{}"
7
+
8
+ t.timestamps
9
+ end
10
+
11
+ add_index :persona_events, :action
12
+ add_index :persona_events, :created_at
13
+ add_index :persona_events, [:trackable_type, :trackable_id, :action],
14
+ name: "index_persona_events_on_trackable_and_action"
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Persona
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syed M. Ghani