phcdevworks_core_modules 6.3.0 → 6.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: ca7e873daf6c8fdbf5fe83ba078bb936980130e401e43a3fc2936266ac81beb6
4
- data.tar.gz: 9175d80db061d0c089c65db422f794a85fd9e9dcf386be0cba328efdc4ffdeac
3
+ metadata.gz: 4d01293faf8eb309e717dcbf79c01396465d960bb2421735c1c957bf4c8620fa
4
+ data.tar.gz: 841c10df6e1d52ea42de3fe3a206381490b5d188fa650b4993c63dae40205b02
5
5
  SHA512:
6
- metadata.gz: 32290c7f5a2b1f1edd892c16306f68cb6b13d2bff818eb6b1a916e5d82233ae8900c3f02e05befab515accf0c3db8b5ac3c20e2c28b34a5e692a8f800463ab03
7
- data.tar.gz: 62eec6bf17d284c977b3fc13c78f27dcbc0d31c0cff5843e2016444409a693930766f607f55009deb6ddcf99c863a9d7c53e9a16c1549788b4f51b3b07b2936f
6
+ metadata.gz: d514450f8497db4a98e157bcafc0f73aa4a8d90af653d971d36be1f759b93bff3e727d8c2e1ec9777f932dde51dec2286f7348f640bb56d832ad3144aa603952
7
+ data.tar.gz: 6d9c4b1a587c6de59d06e0e0c1364f5d2785119d4b5da6b2500d9d087017c505614439012b245d6fcccf5ed166b9b7d46ad52b838c1f5f0fd633579fe24a416a
data/Rakefile CHANGED
@@ -14,19 +14,9 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
- APP_RAKEFILE = File.expand_path("test/test_app/Rakefile", __dir__)
17
+ APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
18
18
  load 'rails/tasks/engine.rake'
19
19
 
20
20
  load 'rails/tasks/statistics.rake'
21
21
 
22
22
  require 'bundler/gem_tasks'
23
-
24
- require 'rake/testtask'
25
-
26
- Rake::TestTask.new(:test) do |t|
27
- t.libs << 'test'
28
- t.pattern = 'test/**/*_test.rb'
29
- t.verbose = false
30
- end
31
-
32
- task default: :test
@@ -9,7 +9,7 @@ module PhcdevworksCoreModules
9
9
  has_one_attached :marketing_optimization_og_image
10
10
 
11
11
  # Paper Trail Initialize
12
- has_paper_trail :class_name => "PhcdevworksCoreModules::MarketingOptimizationVersions"
12
+ has_paper_trail versions: {class_name: "PhcdevworksCoreModules::MarketingOptimizationVersions"}
13
13
 
14
14
  # Relationships for Local
15
15
  belongs_to :user, class_name: "PhcdevworksAccounts::User"
@@ -43,12 +43,6 @@ module PhcdevworksCoreModules
43
43
  validates :marketing_optimization_page_title,
44
44
  presence: true
45
45
 
46
- validates :marketing_optimization_og_title,
47
- presence: true
48
-
49
- validates :marketing_optimization_twitter_title,
50
- presence: true
51
-
52
46
  # Clean URL Define
53
47
  friendly_id :marketing_optimization_nice_urls, use: [:slugged, :finders]
54
48
 
@@ -3,30 +3,29 @@
3
3
  <head>
4
4
 
5
5
  <!-- SEO System -->
6
- <% phc_seo_title "PHCDevworks Categories" %>
7
- <% phc_seo_description "Core Category Manager for PHCDevworks Plugins" %>
6
+ <% phc_seo_title "PHCDevworks Accounts" %>
7
+ <% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
8
8
  <!-- SEO System -->
9
-
9
+
10
10
  <!-- SEO and Site Description -->
11
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12
- <title><%= yield(:phc_seo_title) %></title>
13
- <meta name="description" content="<%= yield(:phc_seo_description) %>">
14
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
15
- <link rel="canonical" href="http://phcdevworks.com">
11
+ <meta charset="utf-8">
12
+ <title><%= yield(:phc_seo_title) %></title>
13
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
14
+ <meta name="description" content="<%= yield(:phc_seo_description) %>">
16
15
  <!-- SEO and Site Description -->
17
-
16
+
18
17
  <!-- Rails Security Tags -->
19
18
  <%= csrf_meta_tags %>
20
19
  <%= csp_meta_tag %>
21
20
  <!-- Rails Security Tags -->
22
-
21
+
23
22
  <!-- CSS Styles -->
24
- <%= stylesheet_link_tag "phcdevworks_core_modules/application", media: "all" %>
23
+ <%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
25
24
  <!-- CSS Styles -->
26
-
27
- <!-- Font -->
28
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
29
- <!-- Font -->
25
+
26
+ <!-- JavaScript -->
27
+ <%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
28
+ <!-- JavaScript -->
30
29
 
31
30
  </head>
32
31
  <body>
@@ -63,10 +62,6 @@
63
62
  </div>
64
63
  <!-- Page Container -->
65
64
 
66
- <!-- JavaScript -->
67
- <%= javascript_include_tag "phcdevworks_core_modules/application", "data-turbolinks-track": "reload" %>
68
- <!-- JavaScript -->
69
-
70
65
  <!-- JavaScript CKEditor -->
71
66
  <script>ClassicEditor
72
67
  .create( document.querySelector( '.editor' ), {
@@ -25,7 +25,7 @@
25
25
  <% end %>
26
26
  </li>
27
27
  <li>
28
- <%= link_to phcdevworks_accounts.destroy_user_session_path do %>
28
+ <%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete do %>
29
29
  <i class="fad fa-sign-out-alt"></i> Logout
30
30
  <% end %>
31
31
  </li>
@@ -270,7 +270,7 @@
270
270
  <span>Admin</span>
271
271
  </a>
272
272
  <ul class="sub-menu">
273
- <li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_index_path %></li>
273
+ <li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_all_path %></li>
274
274
  </ul>
275
275
  </li>
276
276
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
@@ -0,0 +1 @@
1
+ Spring.application_root = './spec/test_app'
@@ -26,11 +26,21 @@ module PhcdevworksCoreModules
26
26
  require "gravtastic"
27
27
  require "friendly_id"
28
28
 
29
+ # Mailer Dependencies
30
+ require "mail_form"
31
+
29
32
  # Load User Accounts
30
33
  require "phcdevworks_accounts"
31
34
 
32
35
  # Engine Namespace
33
36
  isolate_namespace PhcdevworksCoreModules
34
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
+ end
44
+
35
45
  end
36
46
  end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksCoreModules
2
- VERSION = '6.3.0'
2
+ VERSION = '6.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: 6.3.0
4
+ version: 6.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-11-27 00:00:00.000000000 Z
11
+ date: 2020-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 6.0.3.4
19
+ version: '6.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '6.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 6.0.3.4
26
+ version: '6.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: jbuilder
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -64,84 +58,84 @@ dependencies:
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '3.1'
61
+ version: '3.2'
68
62
  type: :runtime
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '3.1'
68
+ version: '3.2'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: phcthemes_web_theme_pack
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '3.1'
75
+ version: '3.2'
82
76
  type: :runtime
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: '3.1'
82
+ version: '3.2'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: phcdevworks_active_menus
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: '2.1'
89
+ version: '2.2'
96
90
  type: :runtime
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '2.1'
96
+ version: '2.2'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: phcdevworks_core
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - "~>"
108
102
  - !ruby/object:Gem::Version
109
- version: '2.1'
103
+ version: '2.2'
110
104
  type: :runtime
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
108
  - - "~>"
115
109
  - !ruby/object:Gem::Version
116
- version: '2.1'
110
+ version: '2.2'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: phcdevworks_notifications
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '2.1'
117
+ version: '2.2'
124
118
  type: :runtime
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '2.1'
124
+ version: '2.2'
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: phcdevworks_titleseo
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
129
  - - "~>"
136
130
  - !ruby/object:Gem::Version
137
- version: '3.1'
131
+ version: '3.2'
138
132
  type: :runtime
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
136
  - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: '3.1'
138
+ version: '3.2'
145
139
  - !ruby/object:Gem::Dependency
146
140
  name: wicked
147
141
  requirement: !ruby/object:Gem::Requirement
@@ -184,6 +178,20 @@ dependencies:
184
178
  - - "~>"
185
179
  - !ruby/object:Gem::Version
186
180
  version: '3.2'
181
+ - !ruby/object:Gem::Dependency
182
+ name: mail_form
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '1.8'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '1.8'
187
195
  - !ruby/object:Gem::Dependency
188
196
  name: aws-sdk-s3
189
197
  requirement: !ruby/object:Gem::Requirement
@@ -232,14 +240,76 @@ dependencies:
232
240
  requirements:
233
241
  - - "~>"
234
242
  - !ruby/object:Gem::Version
235
- version: '2.3'
243
+ version: '2.4'
236
244
  type: :runtime
237
245
  prerelease: false
238
246
  version_requirements: !ruby/object:Gem::Requirement
239
247
  requirements:
240
248
  - - "~>"
241
249
  - !ruby/object:Gem::Version
242
- version: '2.3'
250
+ version: '2.4'
251
+ - !ruby/object:Gem::Dependency
252
+ name: factory_bot_rails
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: '6.1'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: '6.1'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rspec-rails
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '4.0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '4.0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: spring
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '2.1'
286
+ - - ">="
287
+ - !ruby/object:Gem::Version
288
+ version: 2.1.1
289
+ type: :development
290
+ prerelease: false
291
+ version_requirements: !ruby/object:Gem::Requirement
292
+ requirements:
293
+ - - "~>"
294
+ - !ruby/object:Gem::Version
295
+ version: '2.1'
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ version: 2.1.1
299
+ - !ruby/object:Gem::Dependency
300
+ name: spring-commands-rspec
301
+ requirement: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - "~>"
304
+ - !ruby/object:Gem::Version
305
+ version: '1.0'
306
+ type: :development
307
+ prerelease: false
308
+ version_requirements: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - "~>"
311
+ - !ruby/object:Gem::Version
312
+ version: '1.0'
243
313
  - !ruby/object:Gem::Dependency
244
314
  name: sqlite3
245
315
  requirement: !ruby/object:Gem::Requirement
@@ -303,6 +373,7 @@ files:
303
373
  - app/views/phcdevworks_core_modules/post/categories/new.html.erb
304
374
  - app/views/phcdevworks_core_modules/post/categories/show.html.erb
305
375
  - config/routes.rb
376
+ - config/spring.rb
306
377
  - db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
307
378
  - db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb
308
379
  - db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb