effective_classifieds 0.6.5 → 0.6.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 +4 -4
- data/app/views/effective/classified_wizards/checkout.html.haml +1 -1
- data/app/views/effective/classified_wizards/submitted.html.haml +2 -2
- data/config/effective_classifieds.rb +3 -0
- data/lib/effective_classifieds/version.rb +1 -1
- data/lib/effective_classifieds.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 297af439da45de0c6884b20e1eae1ab6840a88487c81501783deae61dcaa7c83
|
|
4
|
+
data.tar.gz: b56b713ddfd6688807492661448bcca2afd6397b41dff3a52584cda4705d3065
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ef6644f2ed49177c7c1ed8b9f91c5e7e19fe1ae98c9fdad51e0139fba2cbe2e235b9b5f6633827fef22c089ef62339115c634f6ea558551b655cf5f128465fa
|
|
7
|
+
data.tar.gz: 2047fc9dcd098292c4516692c35ea11ad6bd89039fb5ebc55222ebe92476e066324e692b525faab02203bfb4a41911995691fc3b14fab8a82360fef515145774
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
= render 'effective/classified_wizards/content', resource: resource
|
|
3
3
|
|
|
4
4
|
= card do
|
|
5
|
-
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:submitted), deferred_url: wizard_path(:checkout), declined_url: wizard_path(:checkout))
|
|
5
|
+
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:submitted), deferred_url: wizard_path(:checkout), declined_url: wizard_path(:checkout), skip_deferred: EffectiveClassifieds.skip_deferred)
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
- if resource.checkout_required?
|
|
10
10
|
- raise('expected a purchased classified submit_order') unless resource.submit_order&.purchased?
|
|
11
11
|
|
|
12
|
-
.alert.alert-
|
|
12
|
+
.alert.alert-success.mb-4
|
|
13
13
|
This #{classified_label.downcase} was submitted on #{classified.submitted_at.strftime('%F')}.
|
|
14
14
|
|
|
15
15
|
- unless classified.approved?
|
|
16
|
-
.alert.alert-
|
|
16
|
+
.alert.alert-warning.mb-4
|
|
17
17
|
Your #{classified_label.downcase} must still be approved before it will be displayed.
|
|
18
18
|
|
|
19
19
|
.mb-4= link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
|
|
@@ -21,6 +21,9 @@ EffectiveClassifieds.setup do |config|
|
|
|
21
21
|
# Automatically approve classified ad submissions, otherwise require admin approval
|
|
22
22
|
config.auto_approve = false
|
|
23
23
|
|
|
24
|
+
# Can checkout with phone or cheque 'deferred' payment providers
|
|
25
|
+
config.skip_deferred = false
|
|
26
|
+
|
|
24
27
|
# Mailer Settings
|
|
25
28
|
# Please see config/initializers/effective_resources.rb for default effective_* gem mailer settings
|
|
26
29
|
#
|
|
@@ -10,7 +10,7 @@ module EffectiveClassifieds
|
|
|
10
10
|
:classifieds_table_name, :classified_wizards_table_name,
|
|
11
11
|
:mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_admin, :mailer_subject,
|
|
12
12
|
:layout, :categories, :per_page, :use_effective_roles, :max_duration, :auto_approve,
|
|
13
|
-
:classified_wizard_class_name
|
|
13
|
+
:classified_wizard_class_name, :skip_deferred
|
|
14
14
|
]
|
|
15
15
|
end
|
|
16
16
|
|
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.6
|
|
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:
|
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|