rails-persona 0.2.2 → 0.2.3

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: f19b5a47e19440291c8199b47569c2fd0bff13df6cbfe33114e7e14208ed335b
4
- data.tar.gz: 234cbefc25d0b3c8689b6213fc3cc1e3638503a5cfe4ead99e1f34f67f0a3bad
3
+ metadata.gz: 05f613a64f2d3db3e14856c05dff10126ba57e431eb8cb67ba14c55be6ef56a5
4
+ data.tar.gz: 81dee6b85c282f1f6d513e0f0db1da85f9f6e1aeb4ba563e52f6fe7707fa78ef
5
5
  SHA512:
6
- metadata.gz: a53826b6d93123e7a2bcbfb911226062909e36d72ca31016047865b19cf65535d5707930d63d39e45dab08ca4e9d62bae121cb52aa42859865a043f74183086d
7
- data.tar.gz: b60ffc71a8378d74eece8731ba00e93cbefdc8011239d4909bdff32778868ac88ddb66df69cd2a1e60f2caf024f06b99fd8ba1a586782dc7f4048b114d53502f
6
+ metadata.gz: 392494e4f26fc3a39a1daba334b369413a0c9db191a4cf287340aaf888e8dabe030b3b81d15bc39db28350a94c020f33195172c6d6d8350188004622eb208ac3
7
+ data.tar.gz: b7339146908e15d2057d5add492b56cd2a1915831fe5163404465ca3c403fa4bd77c907cf8571037b86b926eb7831429e531575b0391e0eded3afc0fdd5664fa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.3] - 2026-06-01
4
+ ### Fixed
5
+ - Add `tasks/**/*` to gemspec files list so `persona_tasks.rake` is packaged with the gem (fixes #8)
6
+
7
+ ## [0.2.2] - 2026-06-01
8
+ ### Fixed
9
+ - Correct `File.expand_path` depth in Railtie for both rake task and migrations path (fixes #5)
10
+
3
11
  ## [0.2.1] - 2026-06-01
4
12
  ### Fixed
5
13
  - Replace `config.paths` in Railtie with `File.expand_path` to fix `NoMethodError` on boot (fixes #1)
@@ -1,3 +1,3 @@
1
1
  module Persona
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -0,0 +1,8 @@
1
+ namespace :persona do
2
+ desc "Prune old persona events"
3
+ task prune: :environment do
4
+ days = Persona.configuration.auto_prune_after_days || 90
5
+ Persona::Pruner.prune_older_than(days)
6
+ puts "Pruned persona events older than #{days} days"
7
+ end
8
+ 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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syed M. Ghani
@@ -105,6 +105,7 @@ files:
105
105
  - lib/persona/summary.rb
106
106
  - lib/persona/trackable.rb
107
107
  - lib/persona/version.rb
108
+ - tasks/persona_tasks.rake
108
109
  homepage: https://github.com/sghani001/rails-persona
109
110
  licenses:
110
111
  - MIT