effective_classifieds 0.9.0 → 0.9.1

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: d502d48f620fdf916078dcec57e2f92193c1ae89335d467226680046e3a2c681
4
- data.tar.gz: 2d40ac91a4a999fb5381505faf1455e061c898a3c3638e790314b60bf4e494e8
3
+ metadata.gz: 409d7d330b2bd94d34ef2bfcbdd042309527c10fb98b8a212ebfe1e323ef5bdf
4
+ data.tar.gz: 40d07570996b6f32b35b0efa2f040496b613c438359f0019db03de78eb97a815
5
5
  SHA512:
6
- metadata.gz: f6567e4d48d1725e52631991a9447301e2d28bf6bc0fe184ea348096e8f05c6f4762003bae21d07e3645310b345b01b9bad164fb6280bc14770aacb28355e4f3
7
- data.tar.gz: 212ae7bc5b53211f1bfed1be111f359433d695ceaa903a76757c6baa6d2a0aa014b34d1fa57d083cab9192152c2b177fbc0804808dede29781960a4221715245
6
+ metadata.gz: bd901460ef34cc8a5e03c52ce575115ccc3988dd2ac6c67d051b6c8d8decf3196f5605659f817fc822000f9100d3a10d11ff4f7b65f4251a0bac500f48b8edce
7
+ data.tar.gz: '09ebe629976f8e4cabc53e75bc903e1cdd5216ce59a5ad08f9f1f775e16184335b803fcca13c9af8294240f3ffa7a07d0c370531f6ad2685350e7c34595bbb2a'
@@ -21,6 +21,8 @@ module Effective
21
21
  belongs_to :classified_wizard, polymorphic: true, optional: true
22
22
 
23
23
  has_one_attached :file
24
+ has_one_purgable :file
25
+
24
26
  has_rich_text :body
25
27
 
26
28
  acts_as_statused(
@@ -45,6 +45,8 @@ class CreateEffectiveClassifieds < ActiveRecord::Migration[6.0]
45
45
 
46
46
  add_index :classifieds, [:owner_id, :owner_type]
47
47
  add_index :classifieds, :slug
48
+ add_index :classifieds, :classified_wizard_id, if_not_exists: true
49
+ add_index :classifieds, :archived, if_not_exists: true
48
50
 
49
51
  create_table :classified_wizards do |t|
50
52
  t.string :token
@@ -1,3 +1,3 @@
1
1
  module EffectiveClassifieds
2
- VERSION = '0.9.0'.freeze
2
+ VERSION = '0.9.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_classifieds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-07 00:00:00.000000000 Z
11
+ date: 2025-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails