effective_classifieds 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f50ce82294a1f8cacc7770a7ed0c016b9cfaf167e5503b77811909ac0f50e8b
|
4
|
+
data.tar.gz: 388ea2f75b8dbedeaf6c5e2e647dcb7e89ac6557f7d4e577e69e68388c5199c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d4e9750e5f9283bc579338d05e302ef4f4aadbbb7fedcc3b0b2a7edc34b58056a7b57962d4384f4c9ffa31c7a82cd1f68a00b589328e7ddfaf34787c96af6f1
|
7
|
+
data.tar.gz: f80d8138623f819eeb2ace8b51cc6f947ffde862263cdd459ef525227987ab3881e29f9bf114f0caafc3cab2d7b4503e6a85db933e31014e870fe8a9a825b409
|
@@ -64,7 +64,10 @@ module Effective
|
|
64
64
|
end
|
65
65
|
|
66
66
|
scope :sorted, -> { order(start_on: :desc) }
|
67
|
-
|
67
|
+
|
68
|
+
scope :deep, -> {
|
69
|
+
with_rich_text_body.with_attached_file.includes(:classified_wizard, :owner, :purchased_order)
|
70
|
+
}
|
68
71
|
|
69
72
|
scope :upcoming, -> { where(arel_table[:end_on].gt(Time.zone.now)) }
|
70
73
|
scope :past, -> { where(arel_table[:end_on].lteq(Time.zone.now)) }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
= effective_form_with(model:
|
1
|
+
= effective_form_with(model: [:admin, classified], engine: true) do |f|
|
2
2
|
= f.check_box :authenticate_user, label: 'Yes, the user must be be signed in to view', hint: 'Sign up is required to register for any classified'
|
3
3
|
|
4
4
|
- if EffectiveClassifieds.use_effective_roles
|
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.6.
|
4
|
+
version: 0.6.3
|
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: 2023-
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|