phcdevworks_press 8.4.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +2 -1
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_press_manifest.js +2 -3
  6. data/app/controllers/phcdevworks_press/application_controller.rb +0 -0
  7. data/app/controllers/phcdevworks_press/article/posts_controller.rb +0 -0
  8. data/app/controllers/phcdevworks_press/blog/articles_controller.rb +0 -0
  9. data/app/controllers/phcdevworks_press/blog/lists_controller.rb +0 -0
  10. data/app/controllers/phcdevworks_press/blog/reviews_controller.rb +0 -0
  11. data/app/controllers/phcdevworks_press/list/items_controller.rb +0 -0
  12. data/app/controllers/phcdevworks_press/list/posts_controller.rb +0 -0
  13. data/app/controllers/phcdevworks_press/review/posts_controller.rb +0 -0
  14. data/app/helpers/phcdevworks_press/application_helper.rb +0 -0
  15. data/app/helpers/phcdevworks_press/article/posts_helper.rb +0 -0
  16. data/app/helpers/phcdevworks_press/blog/articles_helper.rb +0 -0
  17. data/app/helpers/phcdevworks_press/list/items_helper.rb +0 -0
  18. data/app/helpers/phcdevworks_press/list/posts_helper.rb +0 -0
  19. data/app/helpers/phcdevworks_press/review/posts_helper.rb +0 -0
  20. data/app/jobs/phcdevworks_press/application_job.rb +0 -0
  21. data/app/mailers/phcdevworks_press/application_mailer.rb +0 -0
  22. data/app/models/phcdevworks_press/application_record.rb +0 -0
  23. data/app/models/phcdevworks_press/article/post.rb +1 -1
  24. data/app/models/phcdevworks_press/article.rb +0 -0
  25. data/app/models/phcdevworks_press/article_post_versions.rb +0 -0
  26. data/app/models/phcdevworks_press/list/item.rb +1 -1
  27. data/app/models/phcdevworks_press/list/post.rb +1 -1
  28. data/app/models/phcdevworks_press/list.rb +0 -0
  29. data/app/models/phcdevworks_press/list_item_versions.rb +0 -0
  30. data/app/models/phcdevworks_press/list_post_versions.rb +0 -0
  31. data/app/models/phcdevworks_press/review/post.rb +1 -1
  32. data/app/models/phcdevworks_press/review.rb +0 -0
  33. data/app/models/phcdevworks_press/review_post_versions.rb +0 -0
  34. data/app/views/layouts/phcdevworks_press/application.html.erb +73 -131
  35. data/app/views/layouts/phcdevworks_press/components/backend/footer/_footer.html.erb +10 -9
  36. data/app/views/layouts/phcdevworks_press/components/backend/navigation/_top_menu.html.erb +26 -25
  37. data/app/views/layouts/phcdevworks_press/components/backend/sidebars/_side_menu.html.erb +491 -349
  38. data/app/views/phcdevworks_press/article/posts/_form.html.erb +14 -17
  39. data/app/views/phcdevworks_press/article/posts/edit.html.erb +2 -2
  40. data/app/views/phcdevworks_press/article/posts/index.html.erb +49 -57
  41. data/app/views/phcdevworks_press/article/posts/new.html.erb +1 -1
  42. data/app/views/phcdevworks_press/blog/articles/index.html.erb +0 -0
  43. data/app/views/phcdevworks_press/blog/articles/show.html.erb +0 -0
  44. data/app/views/phcdevworks_press/list/items/_form.html.erb +0 -0
  45. data/app/views/phcdevworks_press/list/items/edit.html.erb +17 -25
  46. data/app/views/phcdevworks_press/list/items/index.html.erb +47 -55
  47. data/app/views/phcdevworks_press/list/items/new.html.erb +17 -25
  48. data/app/views/phcdevworks_press/list/items/show.html.erb +0 -0
  49. data/app/views/phcdevworks_press/list/posts/_form.html.erb +0 -0
  50. data/app/views/phcdevworks_press/list/posts/edit.html.erb +2 -2
  51. data/app/views/phcdevworks_press/list/posts/index.html.erb +50 -58
  52. data/app/views/phcdevworks_press/list/posts/new.html.erb +1 -1
  53. data/app/views/phcdevworks_press/list/posts/show.html.erb +42 -50
  54. data/app/views/phcdevworks_press/review/posts/_form.html.erb +0 -0
  55. data/app/views/phcdevworks_press/review/posts/edit.html.erb +2 -2
  56. data/app/views/phcdevworks_press/review/posts/index.html.erb +49 -57
  57. data/app/views/phcdevworks_press/review/posts/new.html.erb +1 -1
  58. data/app/views/phcdevworks_press/review/posts/show.html.erb +0 -0
  59. data/config/routes.rb +34 -38
  60. data/config/spring.rb +0 -0
  61. data/db/migrate/20170517064030_create_phcdevworks_press_article_post_versions.rb +1 -1
  62. data/db/migrate/20190805232522_create_phcdevworks_press_article_posts.rb +1 -1
  63. data/db/migrate/20191024232406_create_phcdevworks_press_article_categories_posts.rb +1 -1
  64. data/db/migrate/20200708231335_create_phcdevworks_press_list_post_versions.rb +1 -1
  65. data/db/migrate/20200708231351_create_phcdevworks_press_review_post_versions.rb +1 -1
  66. data/db/migrate/20200712064624_create_phcdevworks_press_list_posts.rb +1 -1
  67. data/db/migrate/20200712064740_create_phcdevworks_press_review_posts.rb +1 -1
  68. data/db/migrate/20200712064920_create_phcdevworks_press_list_items.rb +1 -1
  69. data/db/migrate/20200712065808_create_phcdevworks_press_list_item_versions.rb +1 -1
  70. data/db/migrate/20200716224648_create_phcdevworks_press_review_categories_posts.rb +1 -1
  71. data/db/migrate/20200716224738_create_phcdevworks_press_list_categories_posts.rb +1 -1
  72. data/db/migrate/20210213025633_add_affiliatelink_to_article_posts.rb +1 -1
  73. data/lib/phcdevworks_press/engine.rb +47 -47
  74. data/lib/phcdevworks_press/version.rb +3 -3
  75. data/lib/phcdevworks_press.rb +6 -6
  76. data/lib/tasks/phcdevworks_press_tasks.rake +4 -4
  77. metadata +28 -78
  78. data/app/assets/stylesheets/phcdevworks_press/application.scss +0 -0
  79. data/app/assets/stylesheets/phcdevworks_press/article/posts.scss +0 -0
  80. data/app/assets/stylesheets/phcdevworks_press/blog/articles.scss +0 -0
  81. data/app/assets/stylesheets/phcdevworks_press/list/items.scss +0 -3
  82. data/app/assets/stylesheets/phcdevworks_press/list/posts.scss +0 -3
  83. data/app/assets/stylesheets/phcdevworks_press/review/posts.scss +0 -3
  84. data/app/views/layouts/phcdevworks_press/frontend.html.erb +0 -5
@@ -6,71 +6,63 @@
6
6
  <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
9
+ <ol class="breadcrumb float-xl-end">
10
10
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
11
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
19
+ <!-- Panel -->
20
+ <div class="panel panel-inverse">
22
21
 
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Panel - Heading -->
31
-
32
- <!-- Panel - Body -->
33
- <div class="panel-body">
34
-
35
- <!-- Index - Table -->
36
- <div class="table-responsive">
37
- <table class="table table-striped table-bordered">
38
-
39
- <thead>
40
- <tr>
41
- <th>List Item Number</th>
42
- <th>List Item Title</th>
43
- <th>List Item Description</th>
44
- </tr>
45
- </thead>
22
+ <!-- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- Panel - Heading -->
46
27
 
47
- <tbody>
48
- <% @list_post.items.each do |list_item| %>
49
- <tr>
50
- <td><%= list_item.id %></td>
51
- <td><%= list_item.list_item_title %></td>
52
- <td><%= truncate(list_item.list_item_text, :length => 80, :escape => false) %></td>
53
- </tr>
54
- <% end %>
55
- </tbody>
28
+ <!-- Panel - Body -->
29
+ <div class="panel-body">
56
30
 
57
- </table>
58
- </div>
59
- <!-- Index - Table -->
31
+ <!-- Index - Table -->
32
+ <div class="table-responsive">
33
+ <table class="table table-striped table-bordered">
60
34
 
61
- <!-- New Button -->
62
- <%= link_to phcdevworks_press.list_post_items_path(@list_post), class: "btn btn-primary btn-sm" do %>
63
- <i class="fad fa-plus-circle"></i>
64
- Add or Update List Items
65
- <% end %>
66
- <!-- New Button -->
35
+ <thead>
36
+ <tr>
37
+ <th>List Item Number</th>
38
+ <th>List Item Title</th>
39
+ <th>List Item Description</th>
40
+ </tr>
41
+ </thead>
67
42
 
68
- </div>
69
- <!-- Panel - Body -->
43
+ <tbody>
44
+ <% @list_post.items.each do |list_item| %>
45
+ <tr>
46
+ <td><%= list_item.id %></td>
47
+ <td><%= list_item.list_item_title %></td>
48
+ <td><%= truncate(list_item.list_item_text, :length => 80, :escape => false) %></td>
49
+ </tr>
50
+ <% end %>
51
+ </tbody>
70
52
 
53
+ </table>
71
54
  </div>
72
- <!-- Panel -->
55
+ <!-- Index - Table -->
56
+
57
+ <!-- New Button -->
58
+ <%= link_to phcdevworks_press.list_post_items_path(@list_post), class: "btn btn-primary btn-sm" do %>
59
+ <i class="fad fa-plus-circle"></i>
60
+ Add or Update List Items
61
+ <% end %>
62
+ <!-- New Button -->
73
63
 
74
64
  </div>
65
+ <!-- Panel - Body -->
66
+
75
67
  </div>
76
- <!-- Page Content -->
68
+ <!-- Panel -->
@@ -7,7 +7,7 @@
7
7
  <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
@@ -15,7 +15,7 @@
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
19
  <!-- Page Header -->
20
20
 
21
21
  <!-- Edit Form -->
@@ -6,78 +6,70 @@
6
6
  <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
9
+ <ol class="breadcrumb float-xl-end">
10
10
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
11
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
19
+ <!-- Panel -->
20
+ <div class="panel panel-inverse">
22
21
 
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Panel - Heading -->
31
-
32
- <!-- Panel - Body -->
33
- <div class="panel-body">
34
-
35
- <!-- Index - Table -->
36
- <div class="table-responsive">
37
- <table class="table table-striped table-bordered">
38
-
39
- <thead>
40
- <tr>
41
- <th>Review Headline</th>
42
- <th>Text Preview</th>
43
- <th>Review Status</th>
44
- <th></th>
45
- </tr>
46
- </thead>
22
+ <!-- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- Panel - Heading -->
47
27
 
48
- <tbody>
49
- <% @review_posts.each do |review_post| %>
50
- <tr>
51
- <td><%= review_post.review_post_title %></td>
52
- <td><%= truncate(review_post.review_post_text, :length => 80, :escape => false) %></td>
53
- <td><%= review_post.review_post_status.capitalize %></td>
54
- <td>
55
- <div class="btn-group d-flex" role="group">
56
- <%= link_to "Update Review", edit_review_post_path(review_post), class: "btn btn-primary btn-xs" %>
57
- <%= link_to "Remove Review", review_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
58
- </div>
59
- </td>
60
- </tr>
61
- <% end %>
62
- </tbody>
28
+ <!-- Panel - Body -->
29
+ <div class="panel-body">
63
30
 
64
- </table>
65
- </div>
66
- <!-- Index - Table -->
31
+ <!-- Index - Table -->
32
+ <div class="table-responsive">
33
+ <table class="table table-striped table-bordered">
67
34
 
68
- <!-- New Button -->
69
- <%= link_to phcdevworks_press.new_review_post_path, class: "btn btn-primary" do %>
70
- <i class="fad fa-plus-circle"></i>
71
- <%= "Add a New Review" %>
72
- <% end %>
73
- <!-- New Button -->
35
+ <thead>
36
+ <tr>
37
+ <th>Review Headline</th>
38
+ <th>Text Preview</th>
39
+ <th>Review Status</th>
40
+ <th></th>
41
+ </tr>
42
+ </thead>
74
43
 
75
- </div>
76
- <!-- Panel - Body -->
44
+ <tbody>
45
+ <% @review_posts.each do |review_post| %>
46
+ <tr>
47
+ <td><%= review_post.review_post_title %></td>
48
+ <td><%= truncate(review_post.review_post_text, :length => 80, :escape => false) %></td>
49
+ <td><%= review_post.review_post_status.capitalize %></td>
50
+ <td>
51
+ <div class="btn-group d-flex" role="group">
52
+ <%= link_to "Update Review", edit_review_post_path(review_post), class: "btn btn-primary btn-xs" %>
53
+ <%= link_to "Remove Review", review_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
54
+ </div>
55
+ </td>
56
+ </tr>
57
+ <% end %>
58
+ </tbody>
77
59
 
60
+ </table>
78
61
  </div>
79
- <!-- Panel -->
62
+ <!-- Index - Table -->
63
+
64
+ <!-- New Button -->
65
+ <%= link_to phcdevworks_press.new_review_post_path, class: "btn btn-primary" do %>
66
+ <i class="fad fa-plus-circle"></i>
67
+ <%= "Add a New Review" %>
68
+ <% end %>
69
+ <!-- New Button -->
80
70
 
81
71
  </div>
72
+ <!-- Panel - Body -->
73
+
82
74
  </div>
83
- <!-- Page Content -->
75
+ <!-- Panel -->
@@ -7,7 +7,7 @@
7
7
  <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
data/config/routes.rb CHANGED
@@ -1,38 +1,34 @@
1
- PhcdevworksPress::Engine.routes.draw do
2
-
3
- # Review Routes
4
- namespace :review, class_name: 'Review::Post' do
5
- resources :posts
6
- end
7
-
8
- # List Routes
9
- namespace :list do
10
- resources :posts, class_name: 'List::Post' do
11
- resources :items, class_name: 'List::Item'
12
- end
13
- end
14
-
15
- # Article Routes
16
- namespace :article do
17
- resources :posts, class_name: 'Articles::Post'
18
- end
19
-
20
- # Frontend Routes
21
- namespace :blog do
22
- resources :articles, only: [:index, :show]
23
- resources :lists, only: [:index, :show]
24
- resources :reviews, only: [:index, :show]
25
- end
26
-
27
- # API Routes
28
- namespace :api, :path => "", :constraints => {:subdomain => "api"} do
29
- namespace :v1 do
30
- resources :posts, defaults: {format: 'json'}
31
- end
32
- end
33
-
34
- # Mount Routes
35
- mount PhcdevworksAccounts::Engine, :at => '/'
36
- mount PhcdevworksCoreModules::Engine, :at => '/'
37
-
38
- end
1
+ PhcdevworksPress::Engine.routes.draw do
2
+
3
+ # Review Routes
4
+ namespace :review, class_name: 'Review::Post' do
5
+ resources :posts
6
+ end
7
+
8
+ # List Routes
9
+ namespace :list do
10
+ resources :posts, class_name: 'List::Post' do
11
+ resources :items, class_name: 'List::Item'
12
+ end
13
+ end
14
+
15
+ # Article Routes
16
+ namespace :article do
17
+ resources :posts, class_name: 'Articles::Post'
18
+ end
19
+
20
+ # Frontend Routes
21
+ namespace :blog do
22
+ resources :articles, only: [:index, :show]
23
+ resources :lists, only: [:index, :show]
24
+ resources :reviews, only: [:index, :show]
25
+ end
26
+
27
+ # API Routes
28
+ namespace :api, :path => "", :constraints => {:subdomain => "api"} do
29
+ namespace :v1 do
30
+ resources :posts, defaults: {format: 'json'}
31
+ end
32
+ end
33
+
34
+ end
data/config/spring.rb CHANGED
File without changes
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressArticlePostVersions < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressArticlePostVersions < ActiveRecord::Migration[7.0]
2
2
  TEXT_BYTES = 1_073_741_823
3
3
  def change
4
4
  create_table :phcdevworks_press_article_post_versions do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressArticlePosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressArticlePosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_article_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressArticleCategoriesPosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressArticleCategoriesPosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_article_categories_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressListPostVersions < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressListPostVersions < ActiveRecord::Migration[7.0]
2
2
  TEXT_BYTES = 1_073_741_823
3
3
  def change
4
4
  create_table :phcdevworks_press_list_post_versions do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressReviewPostVersions < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressReviewPostVersions < ActiveRecord::Migration[7.0]
2
2
  TEXT_BYTES = 1_073_741_823
3
3
  def change
4
4
  create_table :phcdevworks_press_review_post_versions do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressListPosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressListPosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_list_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressReviewPosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressReviewPosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_review_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressListItems < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressListItems < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_list_items do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressListItemVersions < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressListItemVersions < ActiveRecord::Migration[7.0]
2
2
  TEXT_BYTES = 1_073_741_823
3
3
  def change
4
4
  create_table :phcdevworks_press_list_item_versions do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressReviewCategoriesPosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressReviewCategoriesPosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_review_categories_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksPressListCategoriesPosts < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksPressListCategoriesPosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  create_table :phcdevworks_press_list_categories_posts do |t|
4
4
 
@@ -1,4 +1,4 @@
1
- class AddAffiliatelinkToArticlePosts < ActiveRecord::Migration[6.1]
1
+ class AddAffiliatelinkToArticlePosts < ActiveRecord::Migration[7.0]
2
2
  def change
3
3
  add_column :phcdevworks_press_article_posts, :link_id, :string
4
4
  end
@@ -1,47 +1,47 @@
1
- module PhcdevworksPress
2
- class Engine < ::Rails::Engine
3
-
4
- # Load Main Dependencies
5
- require "jbuilder"
6
- require "paper_trail"
7
- require "friendly_id"
8
-
9
- # Load Theme Dependencies
10
- require "phcthemes_admin_panel_pack"
11
- require "phcthemes_web_theme_pack"
12
-
13
- # Load Helper Dependencies
14
- require "phcdevworks_core"
15
- require "phcdevworks_active_menus"
16
- require "phcdevworks_notifications"
17
- require "phcdevworks_titleseo"
18
-
19
- # Load Upload Dependencies
20
- require "aws-sdk-s3"
21
- require "google-cloud-storage"
22
- require "mini_magick"
23
-
24
- # Frontend Dependencies
25
- require "wicked"
26
- require "gravtastic"
27
- require "friendly_id"
28
-
29
- # Mailer Dependencies
30
- require "mail_form"
31
-
32
- # Load Required PHC Plugins
33
- require "phcdevworks_accounts"
34
- require "phcdevworks_core_modules"
35
-
36
- # Engine Namespace
37
- isolate_namespace PhcdevworksPress
38
-
39
- # Rspec Generators
40
- config.generators do |g|
41
- g.test_framework :rspec
42
- g.fixture_replacement :factory_bot
43
- g.factory_bot dir: 'spec/factories'
44
- end
45
-
46
- end
47
- end
1
+ module PhcdevworksPress
2
+ class Engine < ::Rails::Engine
3
+
4
+ # Load Main Dependencies
5
+ require "jbuilder"
6
+ require "paper_trail"
7
+ require "friendly_id"
8
+
9
+ # Load Theme Dependencies
10
+ require "phcthemes_admin_panel_pack"
11
+ require "phcthemes_web_theme_pack"
12
+
13
+ # Load Helper Dependencies
14
+ require "phcdevworks_core"
15
+ require "phcdevworks_active_menus"
16
+ require "phcdevworks_notifications"
17
+ require "phcdevworks_titleseo"
18
+
19
+ # Load Upload Dependencies
20
+ require "aws-sdk-s3"
21
+ require "google-cloud-storage"
22
+ require "mini_magick"
23
+
24
+ # Frontend Dependencies
25
+ require "wicked"
26
+ require "gravtastic"
27
+ require "friendly_id"
28
+
29
+ # Mailer Dependencies
30
+ require "mail_form"
31
+
32
+ # PHCDevworks Plugins
33
+ require "phcdevworks_core_modules"
34
+
35
+ # Engine Namespace
36
+ isolate_namespace PhcdevworksPress
37
+
38
+ # Rspec Generators
39
+ config.generators do |g|
40
+ g.test_framework :rspec
41
+ g.fixture_replacement :factory_bot
42
+ g.factory_bot dir: 'spec/factories'
43
+ g.factory_bot suffix: "factory"
44
+ end
45
+
46
+ end
47
+ end
@@ -1,3 +1,3 @@
1
- module PhcdevworksPress
2
- VERSION = "8.4.0"
3
- end
1
+ module PhcdevworksPress
2
+ VERSION = "9.0.0"
3
+ end
@@ -1,6 +1,6 @@
1
- require "phcdevworks_press/version"
2
- require "phcdevworks_press/engine"
3
-
4
- module PhcdevworksPress
5
- # Your code goes here...
6
- end
1
+ require "phcdevworks_press/version"
2
+ require "phcdevworks_press/engine"
3
+
4
+ module PhcdevworksPress
5
+ # Your code goes here...
6
+ end
@@ -1,4 +1,4 @@
1
- # desc "Explaining what the task does"
2
- # task :phcdevworks_press do
3
- # # Task goes here
4
- # end
1
+ # desc "Explaining what the task does"
2
+ # task :phcdevworks_press do
3
+ # # Task goes here
4
+ # end