phcdevworks_core_modules 0.3.0 → 0.4.0

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: 3989aa177d661f6c934179aa9be6885bb89949a6afafb9aaaa2dbaea5d9675a3
4
- data.tar.gz: 4e1ba34f7c038e9a044da36d5f319f577ae647ae9db5b63ac0edee1e0ce90694
3
+ metadata.gz: 1450d119bb7e7991034bed0a128b19e57ca40653d2372cd6ebda0a483bc253cc
4
+ data.tar.gz: f7dd485a1f4537e05c40cbbb8fa2cdf1bf4f3a06066f08c88e1645b85b15d6b7
5
5
  SHA512:
6
- metadata.gz: 9b89b62b6063114e599883020e854c69af2292afd30f2c09a227980231121f0c411b61fa9cbebbef2158762f7af80ab08341a567da64e999f967fb96ea2b65cf
7
- data.tar.gz: ba259218f00bfbce8f2da3d49272dbb0ae35a93dfd51489d2ccf7320eee2efbc582cbf0e03102b748864f30a7a9e45843980d81701cf9773022e4c035accf7c4
6
+ metadata.gz: '047875babb6ba572cc63239dccaa7e19104b89e366bb1052927ff11153c18a84dea8bb8185a18edb597a3315425b82ceba80070f4e6206b38fc1e23201161f54'
7
+ data.tar.gz: 228c903a68bcd6b21617096708d69f82cd61ec80d362682ea847fac1960f9b8f04b7979e12554ba883e591219fd9dec8efe9133121dbb65e4e8f8556a3f8fb07
@@ -8,8 +8,11 @@ module PhcdevworksCoreModules
8
8
  has_paper_trail :class_name => "PhcdevworksCoreModules::CoreCategoryVersions"
9
9
 
10
10
  # Relationships
11
- has_and_belongs_to_many :posts, class_name: "Article::Post", :join_table => "phcdevworks_press_categories_posts", :dependent => :destroy
12
11
  belongs_to :user, class_name: "PhcdevworksAccounts::User"
12
+ has_and_belongs_to_many :posts, class_name: "PhcdevworksPress::Article::Post", :join_table => "phcdevworks_press_categories_posts", :dependent => :destroy
13
+ has_and_belongs_to_many :posts, class_name: "PhcdevworksPortfolio::Project::Post", :join_table => "phcdevworks_portfolio_categories_posts", :dependent => :destroy
14
+ has_and_belongs_to_many :posts, class_name: "PhcdevworksTutorials::Tutorial::Post", :join_table => "phcdevworks_tutorials_categories_posts", :dependent => :destroy
15
+ has_and_belongs_to_many :posts, class_name: "PhcdevworksTutorials::Command::Post", :join_table => "phcdevworks_tutorials_categories_commands", :dependent => :destroy
13
16
 
14
17
  # Form Fields Validation
15
18
  validates :category_name,
@@ -60,8 +60,8 @@
60
60
  <span>Member"s Directory</span>
61
61
  </a>
62
62
  <ul class="sub-menu">
63
- <li class="<%= phc_menu_active_controller("phcdevworks_members/directory/categories") %>"><%= link_to("Directory Index", phcdevworks_members.directory_categories_path) %></li>
64
- <li class="<%= phc_menu_active_controller("phcdevworks_members/directory/categories#new") %>"><%= link_to("New Directory Listing", phcdevworks_members.new_directory_category_path) %></li>
63
+ <li class="<%= phc_menu_active_controller("phcdevworks_members/modules/categories") %>"><%= link_to("Directory Index", phcdevworks_members.directory_categories_path) %></li>
64
+ <li class="<%= phc_menu_active_controller("phcdevworks_members/modules/categories#new") %>"><%= link_to("New Directory Listing", phcdevworks_members.new_directory_category_path) %></li>
65
65
  </ul>
66
66
  </li>
67
67
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Members -->
@@ -88,8 +88,8 @@
88
88
  <span>Project Categories</span>
89
89
  </a>
90
90
  <ul class="sub-menu">
91
- <li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>"><%= link_to("Project Category", phcdevworks_portfolio.project_categories_path) %></li>
92
- <li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Category", phcdevworks_portfolio.new_project_category_path) %></li>
91
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/project/posts") %>"><%= link_to("Category List", phcdevworks_core_modules.modules_categories_path) %></li>
92
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/project/posts#new") %>"><%= link_to("New Category", phcdevworks_core_modules.new_modules_category_path) %></li>
93
93
  </ul>
94
94
  </li>
95
95
  <li class="has-sub">
@@ -127,8 +127,8 @@
127
127
  <span>Article Categories</span>
128
128
  </a>
129
129
  <ul class="sub-menu">
130
- <li class="<%= phc_menu_active_controller("phcdevworks_press/article/categories") %>"><%= link_to("Category Index", phcdevworks_press.article_categories_path) %></li>
131
- <li class="<%= phc_menu_active_controller("phcdevworks_press/article/categories#new") %>"><%= link_to("New Category", phcdevworks_press.new_article_category_path) %></li>
130
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/modules/categories") %>"><%= link_to("Category Index", phcdevworks_core_modules.modules_categories_path) %></li>
131
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/modules/categories#new") %>"><%= link_to("New Category", phcdevworks_core_modules.new_modules_category_path) %></li>
132
132
  </ul>
133
133
  </li>
134
134
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Press -->
@@ -224,8 +224,8 @@
224
224
  <span>Tutorial Categories</span>
225
225
  </a>
226
226
  <ul class="sub-menu">
227
- <li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/categories") %>"><%= link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %></li>
228
- <li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/categories#new") %>"><%= link_to "New Category", phcdevworks_tutorials.new_tutorial_category_path %></li>
227
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/tutorials/categories") %>"><%= link_to "Category Index", phcdevworks_core_modules.modules_categories_path %></li>
228
+ <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/tutorials/categories#new") %>"><%= link_to "New Category", phcdevworks_core_modules.new_modules_category_path %></li>
229
229
  </ul>
230
230
  </li>
231
231
  <li class="nav-header">Command Lists & Items</li>
@@ -28,7 +28,7 @@ module PhcdevworksCoreModules
28
28
 
29
29
  # Load User Accounts
30
30
  require "phcdevworks_accounts"
31
-
31
+
32
32
  # Engine Namespace
33
33
  isolate_namespace PhcdevworksCoreModules
34
34
 
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksCoreModules
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_core_modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails