effective_classifieds 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -9
  3. data/app/controllers/effective/classified_submissions_controller.rb +1 -1
  4. data/app/controllers/effective/classifieds_controller.rb +0 -15
  5. data/app/datatables/admin/effective_classifieds_datatable.rb +1 -1
  6. data/app/datatables/effective_classified_submissions_datatable.rb +4 -5
  7. data/app/datatables/effective_classifieds_datatable.rb +11 -6
  8. data/app/models/concerns/effective_classifieds_classified_submission.rb +1 -1
  9. data/app/models/effective/classified.rb +2 -2
  10. data/app/views/effective/classified_submissions/_classified.haml +11 -10
  11. data/app/views/effective/classified_submissions/_dashboard.html.haml +23 -21
  12. data/app/views/effective/classified_submissions/_summary.html.haml +1 -1
  13. data/app/views/effective/classified_submissions/classified.html.haml +11 -12
  14. data/app/views/effective/classified_submissions/start.html.haml +6 -2
  15. data/app/views/effective/classified_submissions/summary.html.haml +1 -1
  16. data/app/views/effective/classifieds/_classified.html.haml +30 -34
  17. data/app/views/effective/classifieds/_dashboard.html.haml +5 -2
  18. data/app/views/effective/classifieds/_fields.html.haml +18 -12
  19. data/app/views/effective/classifieds/edit.html.haml +5 -0
  20. data/app/views/effective/classifieds/index.html.haml +7 -7
  21. data/app/views/effective/classifieds/show.html.haml +7 -7
  22. data/app/views/effective/classifieds_mailer/classified_submitted.html.haml +8 -4
  23. data/config/effective_classifieds.rb +3 -3
  24. data/lib/effective_classifieds/version.rb +1 -1
  25. metadata +3 -4
  26. data/app/views/effective/classifieds/_layout.html.haml +0 -1
  27. data/app/views/effective/classifieds/_spacer.html.haml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 499abd956dcfe6893f63acfd7c5ebbb2366e153c6e6e5a04a86af79a74646da2
4
- data.tar.gz: 87d620ec5502530caada118714c433ebe3996aa57068b0a826333a62619f3232
3
+ metadata.gz: c63e81e0e5192044916433851a3611a6dd378fab65da8a5371375b310737bc9f
4
+ data.tar.gz: cf7fea6948d57d2ed13a82e3f5e90bc6eb922aa1e61e4071deec4e770c0b3ff1
5
5
  SHA512:
6
- metadata.gz: ea559cede7e5cd77ba26d4e9ad0a5ebad93e43fba6562edc3c5ec10ab620ce37131754f52bc5cb8ba1dd994085349655940507243ada1fc9d7755ae3e48517b5
7
- data.tar.gz: e552047d620d5464f504a747d98ce56ab86b1c17f431a974f68bb08fac138d2c34dec723ecd1e99f4044624676d7520d759b148d1de6f5af65fe3303b70ba2ce
6
+ metadata.gz: b432d9428538383229d8c71f0b15489081ba9028a807e13066fa3cc1850b03eca22962bc713d0a995afd2f4616df0e05e8773ae2c19a48986ec0c22662765d8c
7
+ data.tar.gz: 9721963c16dbab88c25303f923ffb440532663085a9d48722e6616e8465bb36d46afe59ea305aa2f1994ae11f44842756ec428bef1d523919506c09d3b70ab35
data/README.md CHANGED
@@ -39,21 +39,18 @@ Then migrate the database:
39
39
  rake db:migrate
40
40
  ```
41
41
 
42
- Please add the following to your User model:
43
-
44
- ```
45
- effective_classifieds_user
46
-
47
- Use the following datatables to display to your user their applicants dues:
42
+ Please add the following to your user dashboard page:
48
43
 
49
44
  ```haml
50
- %h2 My Classifieds
51
- - datatable = EffectiveClassifiedsDatatable.new(self)
45
+ .card.card-dashboard.mb-4
46
+ .card-body= render 'effective/classifieds/dashboard'
47
+
48
+ .card.card-dashboard.mb-4
49
+ .card-body= render 'effective/classified_submissions/dashboard'
52
50
  ```
53
51
 
54
52
  and
55
53
 
56
- ```
57
54
  Add a link to the admin menu:
58
55
 
59
56
  ```haml
@@ -11,7 +11,7 @@ module Effective
11
11
  existing = resource_scope.in_progress.where.not(id: resource).first
12
12
 
13
13
  if existing.present?
14
- flash[:success] = "You have been redirected to your existing in progress classified submission"
14
+ flash[:success] = "You have been redirected to your in-progress classified ad submission"
15
15
  redirect_to effective_classifieds.classified_submission_build_path(existing, existing.next_step)
16
16
  end
17
17
  end
@@ -2,21 +2,6 @@ module Effective
2
2
  class ClassifiedsController < ApplicationController
3
3
  include Effective::CrudController
4
4
 
5
- def index
6
- @classifieds ||= Effective::Classified.classifieds(user: current_user)
7
-
8
- @classifieds = @classifieds.paginate(page: params[:page])
9
-
10
- # if params[:search].present?
11
- # search = params[:search].permit(EffectiveClassifieds.permitted_params).delete_if { |k, v| v.blank? }
12
- # @classifieds = @classifieds.where(search) if search.present?
13
- # end
14
-
15
- EffectiveResources.authorize!(self, :index, Effective::Classified)
16
-
17
- @page_title ||= ['Classifieds', (" - Page #{params[:page]}" if params[:page])].compact.join
18
- end
19
-
20
5
  def show
21
6
  @classified = resource_scope.find(params[:id])
22
7
 
@@ -29,7 +29,7 @@ module Admin
29
29
  end
30
30
 
31
31
  col :title
32
- col :body
32
+ col :body, visible: false
33
33
  col :slug, visible: false
34
34
 
35
35
  col :organization
@@ -6,15 +6,15 @@ class EffectiveClassifiedSubmissionsDatatable < Effective::Datatable
6
6
  col :token, visible: false
7
7
  col :created_at, visible: false
8
8
 
9
- col :submitted_at do |submission|
9
+ col :submitted_at, label: 'Submitted' do |submission|
10
10
  submission.submitted_at&.strftime('%F') || 'Incomplete'
11
11
  end
12
12
 
13
- col :classified, search: :string
13
+ col :classified, search: :string, label: 'Title'
14
14
 
15
15
  col :owner, visible: false, search: :string
16
16
 
17
- col :status do |submission|
17
+ col :status, visible: false do |submission|
18
18
  submission.classified&.status || submission.status
19
19
  end
20
20
 
@@ -22,8 +22,7 @@ class EffectiveClassifiedSubmissionsDatatable < Effective::Datatable
22
22
  if submission.draft?
23
23
  dropdown_link_to('Continue', effective_classifieds.classified_submission_build_path(submission, submission.next_step), 'data-turbolinks' => false)
24
24
  else
25
- dropdown_link_to('Show', effective_classifieds.classified_submission_path(submission))
26
- dropdown_link_to('Edit', effective_classifieds.edit_classified_path(submission.classified)) if submission.classified
25
+ dropdown_link_to('Edit', effective_classifieds.edit_classified_path(submission.classified))
27
26
  end
28
27
 
29
28
  dropdown_link_to('Delete', effective_classifieds.classified_submission_path(submission), 'data-confirm': "Really delete #{submission}?", 'data-method': :delete)
@@ -1,21 +1,26 @@
1
1
  # Dashboard Classifieds
2
2
  class EffectiveClassifiedsDatatable < Effective::Datatable
3
3
  datatable do
4
+ length :all
4
5
  order :start_on
5
6
 
6
- col :start_on, as: :date, label: 'Starts'
7
- col :end_on, as: :date, label: 'Ends'
7
+ col :start_on, as: :date, label: 'Posted'
8
8
 
9
- col :title
10
- col :organization
11
- col :location
9
+ col :title do |classified|
10
+ link_to classified, effective_classifieds.classified_path(classified)
11
+ end
12
+
13
+ col :end_on, as: :date, label: 'Expires', visible: false
14
+
15
+ col :organization, visible: false
16
+ col :location, visible: false
12
17
 
13
18
  col :body, visible: false
14
19
  col :website, visible: false
15
20
  col :email, visible: false
16
21
  col :phone, visible: false
17
22
 
18
- actions_col(edit: false)
23
+ # actions_col(edit: false)
19
24
  end
20
25
 
21
26
  collection do
@@ -83,7 +83,7 @@ module EffectiveClassifiedsClassifiedSubmission
83
83
 
84
84
  # Instance Methods
85
85
  def to_s
86
- 'classified submission'
86
+ 'classified ad submission'
87
87
  end
88
88
 
89
89
  def in_progress?
@@ -10,7 +10,7 @@ module Effective
10
10
  log_changes if respond_to?(:log_changes)
11
11
  acts_as_role_restricted if respond_to?(:acts_as_role_restricted)
12
12
 
13
- # This will be the owner of the classified submission
13
+ # This will be the owner of the classified ad submission
14
14
  # Or the admin user that created it
15
15
  belongs_to :owner, polymorphic: true
16
16
 
@@ -21,7 +21,7 @@ module Effective
21
21
 
22
22
  acts_as_statused(
23
23
  :draft, # Initial state
24
- :submitted, # Once submitted by the classified submission.
24
+ :submitted, # Once submitted by the classified ad submission.
25
25
  :approved # Exit state. Classified was approved.
26
26
  )
27
27
 
@@ -1,12 +1,13 @@
1
- = card do
2
- .row
3
- .col-sm
4
- %h5.card-title= classified_submission.wizard_step_title(:classified)
5
- .col-sm-auto.text-right
6
- = link_to('Edit', wizard_path(:classified)) if edit_effective_classified_submissions_wizard?
1
+ .card
2
+ .card-body
3
+ .row
4
+ .col-sm
5
+ %h5.card-title= classified_submission.wizard_step_title(:classified)
6
+ .col-sm-auto.text-right
7
+ = link_to('Edit', wizard_path(:classified)) if edit_effective_classified_submissions_wizard?
7
8
 
8
- - classified = classified_submission.classified
9
+ - classified = classified_submission.classified
9
10
 
10
- - if classified.present?
11
- = render('effective/classifieds/classified', classified: classified) do
12
- = classified.body
11
+ - if classified.present?
12
+ = render('effective/classifieds/classified', classified: classified) do
13
+ = classified.body
@@ -1,28 +1,30 @@
1
- -# In progress submission
2
- - submission = EffectiveClassifieds.ClassifiedSubmission.in_progress.for(current_user).first
3
- - datatable = EffectiveResources.best('EffectiveClassifiedSubmissionsDatatable').new(self, namespace: :effective)
1
+ - if can?(:new, EffectiveClassifieds.ClassifiedSubmission)
4
2
 
5
- - if submission.present?
6
- %h2 In Progress Classified Submissions
3
+ -# In-progress submission
4
+ - submission = EffectiveClassifieds.ClassifiedSubmission.in_progress.for(current_user).first
5
+ - datatable = EffectiveResources.best('EffectiveClassifiedSubmissionsDatatable').new(self, namespace: :effective)
7
6
 
8
- %p
9
- Your submission for #{submission.classified.presence || 'a classified'} is incomplete
7
+ - if submission.present?
8
+ %h2 In-progress Classified Ads
10
9
 
11
- %p
12
- Please
13
- = link_to("Continue submission for #{submission.classified.presence || 'a classified'}", effective_classifieds.classified_submission_build_path(submission, submission.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
14
- or you can
15
- = link_to('Abandon submission', effective_classifieds.classified_submission_path(submission), 'data-confirm': "Really delete #{submission}?", 'data-method': :delete, class: 'btn btn-danger')
16
- to submit another.
10
+ %p
11
+ Your submission for #{submission.classified.presence || 'a classified'} is incomplete.
17
12
 
18
- %hr
13
+ %p
14
+ Please
15
+ = link_to("Continue submission for #{submission.classified.presence || 'a classified'}", effective_classifieds.classified_submission_build_path(submission, submission.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
16
+ or you can
17
+ = link_to('Abandon submission', effective_classifieds.classified_submission_path(submission), 'data-confirm': "Really delete #{submission}?", 'data-method': :delete, class: 'btn btn-danger')
18
+ to submit another.
19
19
 
20
- %h2 Classified Submissions
20
+ %hr
21
21
 
22
- - if datatable.present?
23
- = render_simple_datatable(datatable)
24
- - else
25
- %p You have no past classified submissions. When you do, we'll show them here.
22
+ %h2 Classified Ads
26
23
 
27
- - if submission.blank?
28
- %p= link_to 'Submit New Classified', effective_classifieds.new_classified_submission_path, class: 'btn btn-primary'
24
+ - if datatable.present?
25
+ = render_simple_datatable(datatable)
26
+ - else
27
+ %p You don't have any classified ads. When you do, we'll show them here.
28
+
29
+ - if submission.blank?
30
+ %p= link_to 'Submit New Classified Ad', effective_classifieds.new_classified_submission_path, class: 'btn btn-primary'
@@ -1,4 +1,4 @@
1
- = card('Classified Submission') do
1
+ = card('Classified Ad') do
2
2
  - classified = classified_submission.classified
3
3
 
4
4
  %table.table.table-sm
@@ -1,17 +1,16 @@
1
- = render 'layout' do
2
- = render 'effective/classified_submissions/content', resource: resource
1
+ = render 'effective/classified_submissions/content', resource: resource
3
2
 
4
- .card
5
- .card-body
6
- = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
7
- = f.hidden_field :id
3
+ .card
4
+ .card-body
5
+ = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
6
+ = f.hidden_field :id
8
7
 
9
- = f.fields_for :classified, (f.object.classified || f.object.build_classified) do |fc|
10
- = fc.hidden_field :id
8
+ = f.fields_for :classified, (f.object.classified || f.object.build_classified) do |fc|
9
+ = fc.hidden_field :id
11
10
 
12
- = fc.hidden_field :owner_id, value: f.object.owner_id
13
- = fc.hidden_field :owner_type, value: f.object.owner_type
11
+ = fc.hidden_field :owner_id, value: f.object.owner_id
12
+ = fc.hidden_field :owner_type, value: f.object.owner_type
14
13
 
15
- = render('effective/classifieds/fields', f: fc, classified: fc.object)
14
+ = render('effective/classifieds/fields', f: fc, classified: fc.object)
16
15
 
17
- = f.save 'Save and Continue'
16
+ = f.save 'Save and Continue'
@@ -3,9 +3,13 @@
3
3
 
4
4
  .card
5
5
  .card-body
6
- %p Welcome #{current_user}!
6
+ %p
7
+ Welcome #{current_user}!
7
8
 
8
- %p You are about to submit a classified
9
+ %p
10
+ You can use this wizard to post a new classified ad.
11
+ Your progress will be saved as you move through the wizard.
12
+ Once the ad published you will be able to come back and edit/change the details.
9
13
 
10
14
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
11
15
  = f.hidden_field :id
@@ -5,4 +5,4 @@
5
5
 
6
6
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
7
7
  = f.hidden_field :id
8
- = f.submit 'Submit Classified', class: 'btn btn-primary'
8
+ = f.submit 'Submit Classified Ad', class: 'btn btn-primary'
@@ -1,50 +1,46 @@
1
- .card.effective-classified
1
+ .card
2
2
  .card-body
3
- %h5.card-title= classified.title
4
-
5
3
  %table.table.effective-classified-table
6
4
  %tbody
7
5
  %tr
8
- %td Category
6
+ %th Category
9
7
  %td= classified.category
10
8
 
11
9
  %tr
12
- %td Available
13
- %td #{classified.start_on&.strftime('%F')} to #{classified.end_on&.strftime('%F')}
10
+ %th Title
11
+ %td= classified.title
14
12
 
15
13
  %tr
16
- %td Location
17
- %td= classified.location.presence || '-'
14
+ %th Available
15
+ %td
16
+ #{classified.start_on&.strftime('%F')}
17
+ to
18
+ #{classified.end_on&.strftime('%F')}
19
+
20
+ - if classified.website.present?
21
+ %tr
22
+ %th Location
23
+ %td= classified.location
18
24
 
19
25
  %tr
20
- %td Website
21
- %td
22
- - if classified.website.present?
23
- = link_to(classified.website, classified.website, target: '_blank')
24
- - else
25
- = '-'
26
+ %th Description
27
+ %td= classified.body
26
28
 
27
29
  %tr
28
- %td Contact
30
+ %th Company
29
31
  %td= classified.organization
30
32
 
31
- %tr
32
- %td Email
33
- %td
34
- - if classified.email.present?
35
- = mail_to(classified.email)
36
- - else
37
- = '-'
33
+ - if classified.website.present?
34
+ %tr
35
+ %th Website
36
+ %td= link_to(classified.website, classified.website, target: '_blank')
38
37
 
39
- %tr
40
- %td Phone
41
- %td
42
- - if classified.phone.present?
43
- = classified.phone
44
- - else
45
- = '-'
46
-
47
- - if block_given?
48
- = yield
49
- - else
50
- %p= link_to('View Classified', effective_classifieds.classified_path(classified), class: 'btn btn-primary')
38
+ - if classified.email.present?
39
+ %tr
40
+ %th Email
41
+ %td= mail_to(classified.email)
42
+
43
+ - if classified.phone.present?
44
+ %tr
45
+ %th Phone
46
+ %td= classified.phone
@@ -2,7 +2,10 @@
2
2
 
3
3
  - published = Effective::Classified.classifieds(user: current_user).count
4
4
 
5
- - datatable = EffectiveClassifiedsDatatable.new(self, namespace: :effective)
6
- = render_datatable(datatable, simple: true)
5
+ - if published > 0
6
+ - datatable = EffectiveClassifiedsDatatable.new(self, namespace: :effective)
7
+ = render_datatable(datatable, simple: true)
8
+ - else
9
+ %p There are no active classified ads. When there are, we'll show them here.
7
10
 
8
11
  %p= link_to 'View All Classifieds', effective_classifieds.classifieds_path, class: 'btn btn-primary'
@@ -1,5 +1,6 @@
1
- = f.text_field :title
2
1
  = f.select :category, EffectiveClassifieds.categories, required: true
2
+ = f.text_field :title
3
+ = f.text_field :location
3
4
 
4
5
  - if f.object.persisted? || f.object.errors.include?(:slug)
5
6
  - current_url = (effective_classifieds.classified_url(f.object) rescue nil)
@@ -7,22 +8,27 @@
7
8
 
8
9
  - minDate = [Time.zone.now, f.object.created_at].compact.min
9
10
 
10
- = f.date_field :start_on, label: "Classified Start",
11
- hint: 'The classified ad will be displayed starting on this date',
12
- input_js: { minDate: minDate.strftime('%F') }
11
+ .row
12
+ .col-lg-6
13
+ = f.date_field :start_on, label: "Start",
14
+ hint: 'The classified ad will be displayed starting after this date.',
15
+ input_js: { minDate: minDate.strftime('%F') }
13
16
 
14
- = f.date_field :end_on, label: "Classified End",
15
- hint: 'The classified ad will no longer be displayed on this date'
17
+ .col-lg-6
18
+ = f.date_field :end_on, label: "Expire",
19
+ hint: 'The classified ad will no longer be displayed after this date.'
16
20
 
17
21
  - if f.object.persisted? && !f.object.draft?
18
22
  = f.check_box :archived, label: 'Yes, this classified is archived and will not be displayed'
19
23
 
20
- %h2 Classified Content
21
- = f.rich_text_area :body, hint: 'The main body of your classified'
22
- = f.text_field :location
23
- = f.url_field :website
24
+ = f.rich_text_area :body, label: 'Body content', hint: 'The main body content of your classified ad. Be sure to include all relevant information!'
25
+
24
26
 
25
- %h2 Contact Information
26
- = f.text_field :organization
27
+ %h2.mt-5.mb-0 Contact Information
28
+ %p
29
+ %small.text-muted Contact information will be displayed on the classified ad.
30
+
31
+ = f.text_field :organization, label: 'Company or Organization'
32
+ = f.url_field :website
27
33
  = f.email_field :email
28
34
  = f.tel_field :phone
@@ -0,0 +1,5 @@
1
+ .card
2
+ .card-body
3
+ = effective_form_with(model: @classified, engine: true) do |f|
4
+ = render('effective/classifieds/fields', f: f, classified: f.object)
5
+ = effective_submit(f)
@@ -1,8 +1,8 @@
1
- %h1= @page_title
1
+ .resource-buttons
2
+ = link_to 'Submit New Classified Ad', effective_classifieds.new_classified_submission_path, class: 'btn btn-primary'
2
3
 
3
- = render 'layout' do
4
- .effective-classifieds
5
- = render partial: @classifieds, spacer_template: 'spacer'
6
-
7
- %nav.d-flex.justify-content-center
8
- = bootstrap_paginate(@classifieds, per_page: EffectiveClassifieds.per_page)
4
+ = card do
5
+ - if @datatable
6
+ = render_datatable(@datatable, simple: true)
7
+ - else
8
+ %p There are no active classified ads. When there are, we'll show them here.
@@ -1,8 +1,8 @@
1
- = render 'layout' do
2
- .effective-classified
3
- - unless @classified.published?
4
- .alert.alert-warning This classified is currently unavailable.
1
+ .effective-classified
2
+ - unless @classified.published?
3
+ .alert.alert-warning.mb-4 This classified is currently unavailable.
5
4
 
6
- = render 'effective/classifieds/classified', classified: @classified do
7
- .classified-body.classified-content
8
- = @classified.body
5
+ = render 'effective/classifieds/classified', classified: @classified
6
+
7
+ .resource-buttons.text-left
8
+ = link_to 'View All Classifieds', effective_classifieds.classifieds_path, class: 'btn btn-primary'
@@ -1,16 +1,20 @@
1
1
  %p Hello Admin!
2
2
 
3
3
  - if @classified.published?
4
- %p The following classified has been submitted and is published online:
4
+ %p The following classified ad has been submitted and is published online:
5
5
  - else
6
- %p The following classified has been submitted and is awaiting your approval:
7
- %p= link_to('Approve Classified', effective_classifieds.edit_admin_classified_path(@classified))
6
+ %p The following classified ad has been submitted and is awaiting your approval:
7
+
8
+ %hr
8
9
 
9
10
  = render('effective/classifieds/classified', classified: @classified) do
10
11
  %p= @classified.body
11
12
 
12
13
  %hr
13
14
 
14
- %p= link_to('View Classified', effective_classifieds.classified_path(@classified))
15
+ - if !@classified.published?
16
+ %p= link_to('Approve Classified Ad', effective_classifieds.edit_admin_classified_path(@classified))
17
+
18
+ %p= link_to('View Classified Ad', effective_classifieds.classified_path(@classified))
15
19
 
16
20
  %p Have a great day!
@@ -3,7 +3,7 @@ EffectiveClassifieds.setup do |config|
3
3
  config.classified_submissions_table_name = :classified_submissions
4
4
 
5
5
  # Every classified must have a category.
6
- config.categories = ['Job Board', 'Equipment Sales']
6
+ config.categories = ['Job', 'Equipment Sales', 'Other']
7
7
 
8
8
  # Layout Settings
9
9
  # Configure the Layout per controller, or all at once
@@ -13,7 +13,7 @@ EffectiveClassifieds.setup do |config|
13
13
  # config.classified_submission_class_name = 'Effective::ClassifiedSubmission'
14
14
 
15
15
  # Pagination length on the Classified#index page
16
- config.per_page = 10
16
+ config.per_page = :all
17
17
 
18
18
  # Classified can be restricted by role
19
19
  config.use_effective_roles = true
@@ -21,7 +21,7 @@ EffectiveClassifieds.setup do |config|
21
21
  # Automatically end classifieds after this duration
22
22
  config.max_duration = 3.months
23
23
 
24
- # Automatically approve classified submissions, otherwise require admin approval
24
+ # Automatically approve classified ad submissions, otherwise require admin approval
25
25
  config.auto_approve = false
26
26
 
27
27
  # Mailer Configuration
@@ -1,3 +1,3 @@
1
1
  module EffectiveClassifieds
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.1.0'.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.0.3
4
+ version: 0.1.0
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: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -209,8 +209,7 @@ files:
209
209
  - app/views/effective/classifieds/_dashboard.html.haml
210
210
  - app/views/effective/classifieds/_fields.html.haml
211
211
  - app/views/effective/classifieds/_form.html.haml
212
- - app/views/effective/classifieds/_layout.html.haml
213
- - app/views/effective/classifieds/_spacer.html.haml
212
+ - app/views/effective/classifieds/edit.html.haml
214
213
  - app/views/effective/classifieds/index.html.haml
215
214
  - app/views/effective/classifieds/show.html.haml
216
215
  - app/views/effective/classifieds_mailer/classified_submitted.html.haml
@@ -1 +0,0 @@
1
- = yield