phcdevworks_core_modules 7.2.1 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +3 -0
  4. data/app/assets/config/phcdevworks_core_modules_manifest.js +2 -3
  5. data/app/controllers/phcdevworks_core_modules/affiliate/links_controller.rb +81 -81
  6. data/app/controllers/phcdevworks_core_modules/application_controller.rb +13 -13
  7. data/app/controllers/phcdevworks_core_modules/marketing/optimizations_controller.rb +81 -81
  8. data/app/controllers/phcdevworks_core_modules/post/categories_controller.rb +81 -81
  9. data/app/helpers/phcdevworks_core_modules/affiliate/links_helper.rb +4 -4
  10. data/app/helpers/phcdevworks_core_modules/application_helper.rb +4 -4
  11. data/app/helpers/phcdevworks_core_modules/marketing/optimizations_helper.rb +4 -4
  12. data/app/helpers/phcdevworks_core_modules/post/categories_helper.rb +4 -4
  13. data/app/jobs/phcdevworks_core_modules/application_job.rb +4 -4
  14. data/app/mailers/phcdevworks_core_modules/application_mailer.rb +6 -6
  15. data/app/models/phcdevworks_core_modules/affiliate/link.rb +35 -35
  16. data/app/models/phcdevworks_core_modules/affiliate.rb +7 -7
  17. data/app/models/phcdevworks_core_modules/application_record.rb +5 -5
  18. data/app/models/phcdevworks_core_modules/marketing/optimization.rb +54 -54
  19. data/app/models/phcdevworks_core_modules/marketing.rb +7 -7
  20. data/app/models/phcdevworks_core_modules/modules.rb +7 -7
  21. data/app/models/phcdevworks_core_modules/post/category.rb +43 -43
  22. data/app/models/phcdevworks_core_modules/post.rb +7 -7
  23. data/app/views/layouts/phcdevworks_core_modules/application.html.erb +34 -92
  24. data/app/views/layouts/phcdevworks_core_modules/components/backend/footer/_footer.html.erb +10 -9
  25. data/app/views/layouts/phcdevworks_core_modules/components/backend/navigation/_top_menu.html.erb +26 -25
  26. data/app/views/layouts/phcdevworks_core_modules/components/backend/sidebars/_side_menu.html.erb +491 -349
  27. data/app/views/phcdevworks_core_modules/affiliate/links/_form.html.erb +37 -27
  28. data/app/views/phcdevworks_core_modules/affiliate/links/edit.html.erb +39 -47
  29. data/app/views/phcdevworks_core_modules/affiliate/links/index.html.erb +78 -86
  30. data/app/views/phcdevworks_core_modules/affiliate/links/new.html.erb +39 -47
  31. data/app/views/phcdevworks_core_modules/affiliate/links/show.html.erb +24 -24
  32. data/app/views/phcdevworks_core_modules/marketing/optimizations/_form.html.erb +87 -89
  33. data/app/views/phcdevworks_core_modules/marketing/optimizations/edit.html.erb +39 -47
  34. data/app/views/phcdevworks_core_modules/marketing/optimizations/index.html.erb +80 -88
  35. data/app/views/phcdevworks_core_modules/marketing/optimizations/new.html.erb +39 -47
  36. data/app/views/phcdevworks_core_modules/marketing/optimizations/show.html.erb +54 -54
  37. data/app/views/phcdevworks_core_modules/post/categories/_form.html.erb +22 -22
  38. data/app/views/phcdevworks_core_modules/post/categories/edit.html.erb +39 -47
  39. data/app/views/phcdevworks_core_modules/post/categories/index.html.erb +72 -80
  40. data/app/views/phcdevworks_core_modules/post/categories/new.html.erb +39 -47
  41. data/app/views/phcdevworks_core_modules/post/categories/show.html.erb +9 -9
  42. data/config/routes.rb +18 -20
  43. data/db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb +1 -1
  44. data/db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb +26 -26
  45. data/db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb +18 -18
  46. data/db/migrate/20200706094820_create_phcdevworks_core_modules_post_categories.rb +17 -17
  47. data/db/migrate/20201012225709_remove_phcdevworks_core_modules_post_categories.rb +7 -7
  48. data/db/migrate/20210207051304_create_phcdevworks_core_modules_affiliate_link_versions.rb +18 -18
  49. data/db/migrate/20210208130113_create_phcdevworks_core_modules_affiliate_links.rb +18 -18
  50. data/lib/phcdevworks_core_modules/engine.rb +3 -45
  51. data/lib/phcdevworks_core_modules/version.rb +1 -1
  52. metadata +32 -82
  53. data/app/assets/javascripts/phcdevworks_core_modules/affiliate/links.coffee +0 -3
  54. data/app/assets/stylesheets/phcdevworks_core_modules/affiliate/links.scss +0 -3
  55. data/app/assets/stylesheets/phcdevworks_core_modules/application.scss +0 -0
  56. data/app/assets/stylesheets/phcdevworks_core_modules/marketing/optimizations.scss +0 -3
  57. data/app/assets/stylesheets/phcdevworks_core_modules/post/categories.scss +0 -3
  58. data/app/assets/stylesheets/scaffolds.scss +0 -65
  59. data/config/spring.rb +0 -2
@@ -1,80 +1,72 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Category Manager" %>
3
- <% phc_title_tagline "Category Index" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <% phc_breadcrumb_two link_to "Category Index", phcdevworks_core_modules.post_categories_path %>
6
- <!-- PHCTitleSEO Title Variables -->
7
-
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
10
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
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>Category</th>
42
- <th></th>
43
- </tr>
44
- </thead>
45
-
46
- <tbody>
47
- <% @post_categories.each do |post_category| %>
48
- <tr>
49
- <td><%= post_category.post_category_name %></td>
50
- <td>
51
- <div class="btn-group d-flex" role="group">
52
- <%= link_to "Category Details", post_category, class: "btn btn-purple btn-xs" %>
53
- <%= link_to "Update Category", edit_post_category_path(post_category), class: "btn btn-primary btn-xs" %>
54
- <%= link_to "Remove Category", post_category, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
55
- </div>
56
- </td>
57
- </tr>
58
- <% end %>
59
- </tbody>
60
-
61
- </table>
62
- </div>
63
- <!-- Index - Table -->
64
-
65
- <!-- New Button -->
66
- <%= link_to phcdevworks_core_modules.new_post_category_path, class: "btn btn-primary btn-sm" do %>
67
- <i class="fad fa-plus-circle"></i>
68
- Add a New Category
69
- <% end %>
70
- <!-- New Button -->
71
-
72
- </div>
73
- <!-- Panel - Body -->
74
-
75
- </div>
76
- <!-- Panel -->
77
-
78
- </div>
79
- </div>
80
- <!-- Page Content -->
1
+ <!-- -PHCDev- PHCTitleSEO Title Variables -->
2
+ <% phc_title "Category Manager" %>
3
+ <% phc_title_tagline "Category Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <% phc_breadcrumb_two link_to "Category Index", phcdevworks_core_modules.post_categories_path %>
6
+ <!-- -PHCDev- PHCTitleSEO Title Variables -->
7
+
8
+ <!-- -PHCDev- Page Bradcrumbs -->
9
+ <ol class="breadcrumb float-xl-end">
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
+ </ol>
13
+ <!-- -PHCDev- Page Bradcrumbs -->
14
+
15
+ <!-- -PHCDev- Page Header -->
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
+ <!-- -PHCDev- Page Header -->
18
+
19
+ <!-- -PHCDev- Panel -->
20
+ <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDev- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- -PHCDev- Panel - Heading -->
27
+
28
+ <!-- -PHCDev- Panel - Body -->
29
+ <div class="panel-body">
30
+
31
+ <!-- -PHCDev- Index - Table -->
32
+ <div class="table-responsive">
33
+ <table class="table table-striped table-bordered">
34
+
35
+ <thead>
36
+ <tr>
37
+ <th>Category</th>
38
+ <th></th>
39
+ </tr>
40
+ </thead>
41
+
42
+ <tbody>
43
+ <% @post_categories.each do |post_category| %>
44
+ <tr>
45
+ <td><%= post_category.post_category_name %></td>
46
+ <td>
47
+ <div class="btn-group" role="group" aria-label="Index Actions">
48
+ <%= link_to "Category Details", post_category, class: "btn btn-purple btn-xs" %>
49
+ <%= link_to "Update Category", edit_post_category_path(post_category), class: "btn btn-primary btn-xs" %>
50
+ <%= link_to "Remove Category", post_category, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <% end %>
55
+ </tbody>
56
+
57
+ </table>
58
+ </div>
59
+ <!-- -PHCDev- Index - Table -->
60
+
61
+ <!-- -PHCDev- New Button -->
62
+ <%= link_to phcdevworks_core_modules.new_post_category_path, class: "btn btn-primary btn-sm" do %>
63
+ <i class="fad fa-plus-circle"></i>
64
+ Add a New Category
65
+ <% end %>
66
+ <!-- -PHCDev- New Button -->
67
+
68
+ </div>
69
+ <!-- -PHCDev- Panel - Body -->
70
+
71
+ </div>
72
+ <!-- -PHCDev- Panel -->
@@ -1,47 +1,39 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Category Manager" %>
3
- <% phc_title_tagline "Add a New Category" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <% phc_breadcrumb_two link_to "Category Index", phcdevworks_core_modules.post_categories_path %>
6
- <!-- PHCTitleSEO Title Variables -->
7
-
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
10
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
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
- <!-- New Form -->
36
- <%= render 'form', post_category: @post_category %>
37
- <!-- Edit Form -->
38
-
39
- </div>
40
- <!-- Panel - Body -->
41
-
42
- </div>
43
- <!-- Panel -->
44
-
45
- </div>
46
- </div>
47
- <!-- Page Content -->
1
+ <!-- -PHCDev- PHCTitleSEO Title Variables -->
2
+ <% phc_title "Category Manager" %>
3
+ <% phc_title_tagline "Add a New Category" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <% phc_breadcrumb_two link_to "Category Index", phcdevworks_core_modules.post_categories_path %>
6
+ <!-- -PHCDev- PHCTitleSEO Title Variables -->
7
+
8
+ <!-- -PHCDev- Page Bradcrumbs -->
9
+ <ol class="breadcrumb float-xl-end">
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
+ </ol>
13
+ <!-- -PHCDev- Page Bradcrumbs -->
14
+
15
+ <!-- -PHCDev- Page Header -->
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
+ <!-- -PHCDev- Page Header -->
18
+
19
+ <!-- -PHCDev- Panel -->
20
+ <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDev- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- -PHCDev- Panel - Heading -->
27
+
28
+ <!-- -PHCDev- Panel - Body -->
29
+ <div class="panel-body">
30
+
31
+ <!-- -PHCDev- New Form -->
32
+ <%= render 'form', post_category: @post_category %>
33
+ <!-- -PHCDev- Edit Form -->
34
+
35
+ </div>
36
+ <!-- -PHCDev- Panel - Body -->
37
+
38
+ </div>
39
+ <!-- -PHCDev- Panel -->
@@ -1,9 +1,9 @@
1
- <p id="notice"><%= notice %></p>
2
-
3
- <p>
4
- <strong>Post cat:</strong>
5
- <%= @post_category.post_category_name %>
6
- </p>
7
-
8
- <%= link_to 'Edit', edit_post_category_path(@post_category) %> |
9
- <%= link_to 'Back', post_categories_path %>
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Post cat:</strong>
5
+ <%= @post_category.post_category_name %>
6
+ </p>
7
+
8
+ <%= link_to 'Edit', edit_post_category_path(@post_category) %> |
9
+ <%= link_to 'Back', post_categories_path %>
data/config/routes.rb CHANGED
@@ -1,24 +1,22 @@
1
1
  PhcdevworksCoreModules::Engine.routes.draw do
2
2
 
3
- namespace :affiliate do
4
- resources :links
5
- end
6
- # Routes for Posts
7
- namespace :post do
8
- resources :categories, class_name: 'Post::Category'
9
- end
10
-
11
- # Routes for Marketing
12
- namespace :marketing do
13
- resources :optimizations, class_name: 'Marketing::Optimization'
14
- end
15
-
16
- # Routes for Affiliate
17
3
  namespace :affiliate do
18
- resources :links, class_name: 'Affiliate::Link'
4
+ resources :links
19
5
  end
20
-
21
- # Mount Routes
22
- mount PhcdevworksAccounts::Engine, :at => '/'
23
-
24
- end
6
+ # Routes for Posts
7
+ namespace :post do
8
+ resources :categories, class_name: 'Post::Category'
9
+ end
10
+
11
+ # Routes for Marketing
12
+ namespace :marketing do
13
+ resources :optimizations, class_name: 'Marketing::Optimization'
14
+ end
15
+
16
+ # Routes for Affiliate
17
+ namespace :affiliate do
18
+ resources :links, class_name: 'Affiliate::Link'
19
+ end
20
+
21
+ end
22
+
@@ -1,4 +1,4 @@
1
- class CreatePhcdevworksCoreModulesPostCategoryVersions < ActiveRecord::Migration[6.0]
1
+ class CreatePhcdevworksCoreModulesPostCategoryVersions < ActiveRecord::Migration[7.0]
2
2
  TEXT_BYTES = 1_073_741_823
3
3
  def change
4
4
  create_table :phcdevworks_core_modules_post_category_versions do |t|
@@ -1,26 +1,26 @@
1
- class CreatePhcdevworksCoreModulesMarketingOptimizations < ActiveRecord::Migration[6.0]
2
- def change
3
- create_table :phcdevworks_core_modules_marketing_optimizations do |t|
4
-
5
- t.string :marketing_optimization_page_title
6
- t.text :marketing_optimization_page_description
7
-
8
- t.string :marketing_optimization_og_title
9
- t.text :marketing_optimization_og_description
10
- t.string :marketing_optimization_og_type
11
- t.string :marketing_optimization_og_url
12
-
13
- t.string :marketing_optimization_twitter_title
14
- t.text :marketing_optimization_twitter_description
15
- t.string :marketing_optimization_twitter_type
16
- t.string :marketing_optimization_twitter_url
17
-
18
- t.string :slug
19
- t.string :user_id
20
- t.string :org_id
21
-
22
- t.timestamps
23
-
24
- end
25
- end
26
- end
1
+ class CreatePhcdevworksCoreModulesMarketingOptimizations < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :phcdevworks_core_modules_marketing_optimizations do |t|
4
+
5
+ t.string :marketing_optimization_page_title
6
+ t.text :marketing_optimization_page_description
7
+
8
+ t.string :marketing_optimization_og_title
9
+ t.text :marketing_optimization_og_description
10
+ t.string :marketing_optimization_og_type
11
+ t.string :marketing_optimization_og_url
12
+
13
+ t.string :marketing_optimization_twitter_title
14
+ t.text :marketing_optimization_twitter_description
15
+ t.string :marketing_optimization_twitter_type
16
+ t.string :marketing_optimization_twitter_url
17
+
18
+ t.string :slug
19
+ t.string :user_id
20
+ t.string :org_id
21
+
22
+ t.timestamps
23
+
24
+ end
25
+ end
26
+ end
@@ -1,18 +1,18 @@
1
- class CreatePhcdevworksCoreModulesMarketingOptimizationVersions < ActiveRecord::Migration[6.0]
2
- TEXT_BYTES = 1_073_741_823
3
- def change
4
- create_table :phcdevworks_core_modules_marketing_optimization_versions do |t|
5
-
6
- t.string :item_type, {:null=>false}
7
- t.integer :item_id, null: false
8
- t.string :event, null: false
9
- t.string :whodunnit
10
- t.text :object, limit: TEXT_BYTES
11
- t.datetime :created_at
12
-
13
- end
14
-
15
- add_index :phcdevworks_core_modules_marketing_optimization_versions, %i(item_type item_id), :name => 'marketing_optimization_versions'
16
-
17
- end
18
- end
1
+ class CreatePhcdevworksCoreModulesMarketingOptimizationVersions < ActiveRecord::Migration[7.0]
2
+ TEXT_BYTES = 1_073_741_823
3
+ def change
4
+ create_table :phcdevworks_core_modules_marketing_optimization_versions do |t|
5
+
6
+ t.string :item_type, {:null=>false}
7
+ t.integer :item_id, null: false
8
+ t.string :event, null: false
9
+ t.string :whodunnit
10
+ t.text :object, limit: TEXT_BYTES
11
+ t.datetime :created_at
12
+
13
+ end
14
+
15
+ add_index :phcdevworks_core_modules_marketing_optimization_versions, %i(item_type item_id), :name => 'marketing_optimization_versions'
16
+
17
+ end
18
+ end
@@ -1,17 +1,17 @@
1
- class CreatePhcdevworksCoreModulesPostCategories < ActiveRecord::Migration[6.0]
2
- def change
3
- create_table :phcdevworks_core_modules_post_categories do |t|
4
-
5
- t.string :post_category_name
6
-
7
- t.string :optimization_id
8
-
9
- t.string :slug
10
- t.string :user_id
11
- t.string :org_id
12
-
13
- t.timestamps
14
-
15
- end
16
- end
17
- end
1
+ class CreatePhcdevworksCoreModulesPostCategories < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :phcdevworks_core_modules_post_categories do |t|
4
+
5
+ t.string :post_category_name
6
+
7
+ t.string :optimization_id
8
+
9
+ t.string :slug
10
+ t.string :user_id
11
+ t.string :org_id
12
+
13
+ t.timestamps
14
+
15
+ end
16
+ end
17
+ end
@@ -1,7 +1,7 @@
1
- class RemovePhcdevworksCoreModulesPostCategories < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- remove_column :phcdevworks_core_modules_post_categories, :optimization_id, :string
5
-
6
- end
7
- end
1
+ class RemovePhcdevworksCoreModulesPostCategories < ActiveRecord::Migration[7.0]
2
+ def change
3
+
4
+ remove_column :phcdevworks_core_modules_post_categories, :optimization_id, :string
5
+
6
+ end
7
+ end
@@ -1,18 +1,18 @@
1
- class CreatePhcdevworksCoreModulesAffiliateLinkVersions < ActiveRecord::Migration[6.1]
2
- TEXT_BYTES = 1_073_741_823
3
- def change
4
- create_table :phcdevworks_core_modules_affiliate_link_versions do |t|
5
-
6
- t.string :item_type, {:null=>false}
7
- t.integer :item_id, null: false
8
- t.string :event, null: false
9
- t.string :whodunnit
10
- t.text :object, limit: TEXT_BYTES
11
- t.datetime :created_at
12
-
13
- end
14
-
15
- add_index :phcdevworks_core_modules_affiliate_link_versions, %i(item_type item_id), :name => 'affiliate_link_versions'
16
-
17
- end
18
- end
1
+ class CreatePhcdevworksCoreModulesAffiliateLinkVersions < ActiveRecord::Migration[7.0]
2
+ TEXT_BYTES = 1_073_741_823
3
+ def change
4
+ create_table :phcdevworks_core_modules_affiliate_link_versions do |t|
5
+
6
+ t.string :item_type, {:null=>false}
7
+ t.integer :item_id, null: false
8
+ t.string :event, null: false
9
+ t.string :whodunnit
10
+ t.text :object, limit: TEXT_BYTES
11
+ t.datetime :created_at
12
+
13
+ end
14
+
15
+ add_index :phcdevworks_core_modules_affiliate_link_versions, %i(item_type item_id), :name => 'affiliate_link_versions'
16
+
17
+ end
18
+ end
@@ -1,18 +1,18 @@
1
- class CreatePhcdevworksCoreModulesAffiliateLinks < ActiveRecord::Migration[6.1]
2
- def change
3
- create_table :phcdevworks_core_modules_affiliate_links do |t|
4
-
5
- t.string :affiliate_link_name
6
- t.string :affiliate_link_button_text
7
- t.string :affiliate_link_url
8
- t.string :affiliate_link_original_url
9
-
10
- t.string :slug
11
- t.string :user_id
12
- t.string :org_id
13
-
14
- t.timestamps
15
-
16
- end
17
- end
18
- end
1
+ class CreatePhcdevworksCoreModulesAffiliateLinks < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :phcdevworks_core_modules_affiliate_links do |t|
4
+
5
+ t.string :affiliate_link_name
6
+ t.string :affiliate_link_button_text
7
+ t.string :affiliate_link_url
8
+ t.string :affiliate_link_original_url
9
+
10
+ t.string :slug
11
+ t.string :user_id
12
+ t.string :org_id
13
+
14
+ t.timestamps
15
+
16
+ end
17
+ end
18
+ end
@@ -1,47 +1,5 @@
1
1
  module PhcdevworksCoreModules
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
-
35
- # Engine Namespace
36
- isolate_namespace PhcdevworksCoreModules
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
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace PhcdevworksCoreModules
4
+ end
47
5
  end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksCoreModules
2
- VERSION = "7.2.1"
2
+ VERSION = "8.0.0"
3
3
  end