phcdevworks_core_modules 7.3.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +3 -0
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_core_modules_manifest.js +2 -3
  6. data/app/controllers/phcdevworks_core_modules/affiliate/links_controller.rb +0 -0
  7. data/app/controllers/phcdevworks_core_modules/application_controller.rb +0 -0
  8. data/app/controllers/phcdevworks_core_modules/marketing/optimizations_controller.rb +0 -0
  9. data/app/controllers/phcdevworks_core_modules/post/categories_controller.rb +0 -0
  10. data/app/helpers/phcdevworks_core_modules/affiliate/links_helper.rb +0 -0
  11. data/app/helpers/phcdevworks_core_modules/application_helper.rb +0 -0
  12. data/app/helpers/phcdevworks_core_modules/marketing/optimizations_helper.rb +0 -0
  13. data/app/helpers/phcdevworks_core_modules/post/categories_helper.rb +0 -0
  14. data/app/jobs/phcdevworks_core_modules/application_job.rb +0 -0
  15. data/app/mailers/phcdevworks_core_modules/application_mailer.rb +0 -0
  16. data/app/models/phcdevworks_core_modules/affiliate/link.rb +1 -1
  17. data/app/models/phcdevworks_core_modules/affiliate.rb +0 -0
  18. data/app/models/phcdevworks_core_modules/affiliate_link_versions.rb +0 -0
  19. data/app/models/phcdevworks_core_modules/application_record.rb +0 -0
  20. data/app/models/phcdevworks_core_modules/marketing/optimization.rb +1 -1
  21. data/app/models/phcdevworks_core_modules/marketing.rb +0 -0
  22. data/app/models/phcdevworks_core_modules/marketing_optimization_versions.rb +0 -0
  23. data/app/models/phcdevworks_core_modules/modules.rb +0 -0
  24. data/app/models/phcdevworks_core_modules/post/category.rb +1 -1
  25. data/app/models/phcdevworks_core_modules/post.rb +0 -0
  26. data/app/models/phcdevworks_core_modules/post_category_versions.rb +0 -0
  27. data/app/views/layouts/phcdevworks_core_modules/application.html.erb +73 -131
  28. data/app/views/layouts/phcdevworks_core_modules/components/backend/footer/_footer.html.erb +10 -9
  29. data/app/views/layouts/phcdevworks_core_modules/components/backend/navigation/_top_menu.html.erb +26 -25
  30. data/app/views/layouts/phcdevworks_core_modules/components/backend/sidebars/_side_menu.html.erb +491 -349
  31. data/app/views/phcdevworks_core_modules/affiliate/links/_form.html.erb +19 -9
  32. data/app/views/phcdevworks_core_modules/affiliate/links/edit.html.erb +23 -31
  33. data/app/views/phcdevworks_core_modules/affiliate/links/index.html.erb +58 -66
  34. data/app/views/phcdevworks_core_modules/affiliate/links/new.html.erb +23 -31
  35. data/app/views/phcdevworks_core_modules/affiliate/links/show.html.erb +0 -0
  36. data/app/views/phcdevworks_core_modules/marketing/optimizations/_form.html.erb +16 -18
  37. data/app/views/phcdevworks_core_modules/marketing/optimizations/edit.html.erb +23 -31
  38. data/app/views/phcdevworks_core_modules/marketing/optimizations/index.html.erb +61 -69
  39. data/app/views/phcdevworks_core_modules/marketing/optimizations/new.html.erb +23 -31
  40. data/app/views/phcdevworks_core_modules/marketing/optimizations/show.html.erb +0 -0
  41. data/app/views/phcdevworks_core_modules/post/categories/_form.html.erb +4 -4
  42. data/app/views/phcdevworks_core_modules/post/categories/edit.html.erb +23 -31
  43. data/app/views/phcdevworks_core_modules/post/categories/index.html.erb +53 -61
  44. data/app/views/phcdevworks_core_modules/post/categories/new.html.erb +23 -31
  45. data/app/views/phcdevworks_core_modules/post/categories/show.html.erb +0 -0
  46. data/config/routes.rb +22 -24
  47. data/db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb +1 -1
  48. data/db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb +1 -1
  49. data/db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb +1 -1
  50. data/db/migrate/20200706094820_create_phcdevworks_core_modules_post_categories.rb +1 -1
  51. data/db/migrate/20201012225709_remove_phcdevworks_core_modules_post_categories.rb +1 -1
  52. data/db/migrate/20210207051304_create_phcdevworks_core_modules_affiliate_link_versions.rb +1 -1
  53. data/db/migrate/20210208130113_create_phcdevworks_core_modules_affiliate_links.rb +1 -1
  54. data/lib/phcdevworks_core_modules/engine.rb +5 -47
  55. data/lib/phcdevworks_core_modules/version.rb +3 -3
  56. data/lib/phcdevworks_core_modules.rb +6 -6
  57. data/lib/tasks/phcdevworks_core_modules_tasks.rake +4 -4
  58. metadata +24 -74
  59. data/app/assets/javascripts/phcdevworks_core_modules/affiliate/links.coffee +0 -3
  60. data/app/assets/stylesheets/phcdevworks_core_modules/affiliate/links.scss +0 -3
  61. data/app/assets/stylesheets/phcdevworks_core_modules/application.scss +0 -0
  62. data/app/assets/stylesheets/phcdevworks_core_modules/marketing/optimizations.scss +0 -3
  63. data/app/assets/stylesheets/phcdevworks_core_modules/post/categories.scss +0 -3
  64. data/app/assets/stylesheets/scaffolds.scss +0 -65
  65. data/config/spring.rb +0 -2
@@ -1,47 +1,5 @@
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
47
- end
1
+ module PhcdevworksCoreModules
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace PhcdevworksCoreModules
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
- module PhcdevworksCoreModules
2
- VERSION = "7.3.0"
3
- end
1
+ module PhcdevworksCoreModules
2
+ VERSION = "8.0.0"
3
+ end
@@ -1,6 +1,6 @@
1
- require "phcdevworks_core_modules/version"
2
- require "phcdevworks_core_modules/engine"
3
-
4
- module PhcdevworksCoreModules
5
- # Your code goes here...
6
- end
1
+ require "phcdevworks_core_modules/version"
2
+ require "phcdevworks_core_modules/engine"
3
+
4
+ module PhcdevworksCoreModules
5
+ # Your code goes here...
6
+ end
@@ -1,4 +1,4 @@
1
- # desc "Explaining what the task does"
2
- # task :phcdevworks_core_modules do
3
- # # Task goes here
4
- # end
1
+ # desc "Explaining what the task does"
2
+ # task :phcdevworks_core_modules do
3
+ # # Task goes here
4
+ # 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: 7.3.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-17 00:00:00.000000000 Z
11
+ date: 2022-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jbuilder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,98 +58,98 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '4.1'
61
+ version: '5.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.1'
68
+ version: '5.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: phcthemes_web_theme_pack
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.1'
75
+ version: '5.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.1'
82
+ version: '5.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: phcdevworks_active_menus
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.3'
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.3'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: phcdevworks_core
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.3'
103
+ version: '3.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.3'
110
+ version: '3.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: phcdevworks_notifications
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.3'
117
+ version: '3.1'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.3'
124
+ version: '3.1'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: phcdevworks_titleseo
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.3'
131
+ version: '4.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.3'
138
+ version: '4.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: wicked
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '1.3'
145
+ version: '1.4'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '1.3'
152
+ version: '1.4'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: friendly_id
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +164,6 @@ dependencies:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '5.4'
167
- - !ruby/object:Gem::Dependency
168
- name: gravtastic
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '3.2'
174
- type: :runtime
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '3.2'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: mail_form
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -198,28 +184,28 @@ dependencies:
198
184
  requirements:
199
185
  - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: '1.103'
187
+ version: '1.113'
202
188
  type: :runtime
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
192
  - - "~>"
207
193
  - !ruby/object:Gem::Version
208
- version: '1.103'
194
+ version: '1.113'
209
195
  - !ruby/object:Gem::Dependency
210
196
  name: google-cloud-storage
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
199
  - - "~>"
214
200
  - !ruby/object:Gem::Version
215
- version: '1.34'
201
+ version: '1.36'
216
202
  type: :runtime
217
203
  prerelease: false
218
204
  version_requirements: !ruby/object:Gem::Requirement
219
205
  requirements:
220
206
  - - "~>"
221
207
  - !ruby/object:Gem::Version
222
- version: '1.34'
208
+ version: '1.36'
223
209
  - !ruby/object:Gem::Dependency
224
210
  name: mini_magick
225
211
  requirement: !ruby/object:Gem::Requirement
@@ -234,34 +220,6 @@ dependencies:
234
220
  - - "~>"
235
221
  - !ruby/object:Gem::Version
236
222
  version: '4.11'
237
- - !ruby/object:Gem::Dependency
238
- name: phcdevworks_accounts
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - "~>"
242
- - !ruby/object:Gem::Version
243
- version: '3.3'
244
- type: :runtime
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - "~>"
249
- - !ruby/object:Gem::Version
250
- version: '3.3'
251
- - !ruby/object:Gem::Dependency
252
- name: phcdevworks_accounts_stripe
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - "~>"
256
- - !ruby/object:Gem::Version
257
- version: 0.2.0
258
- type: :runtime
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - "~>"
263
- - !ruby/object:Gem::Version
264
- version: 0.2.0
265
223
  - !ruby/object:Gem::Dependency
266
224
  name: factory_bot_rails
267
225
  requirement: !ruby/object:Gem::Requirement
@@ -343,12 +301,6 @@ files:
343
301
  - README.md
344
302
  - Rakefile
345
303
  - app/assets/config/phcdevworks_core_modules_manifest.js
346
- - app/assets/javascripts/phcdevworks_core_modules/affiliate/links.coffee
347
- - app/assets/stylesheets/phcdevworks_core_modules/affiliate/links.scss
348
- - app/assets/stylesheets/phcdevworks_core_modules/application.scss
349
- - app/assets/stylesheets/phcdevworks_core_modules/marketing/optimizations.scss
350
- - app/assets/stylesheets/phcdevworks_core_modules/post/categories.scss
351
- - app/assets/stylesheets/scaffolds.scss
352
304
  - app/controllers/phcdevworks_core_modules/affiliate/links_controller.rb
353
305
  - app/controllers/phcdevworks_core_modules/application_controller.rb
354
306
  - app/controllers/phcdevworks_core_modules/marketing/optimizations_controller.rb
@@ -390,7 +342,6 @@ files:
390
342
  - app/views/phcdevworks_core_modules/post/categories/new.html.erb
391
343
  - app/views/phcdevworks_core_modules/post/categories/show.html.erb
392
344
  - config/routes.rb
393
- - config/spring.rb
394
345
  - db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
395
346
  - db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb
396
347
  - db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb
@@ -406,7 +357,6 @@ homepage: https://phcdevworks.com/
406
357
  licenses:
407
358
  - MIT
408
359
  metadata:
409
- allowed_push_host: https://rubygems.org/
410
360
  homepage_uri: https://phcdevworks.com/
411
361
  source_code_uri: https://github.com/phcdevworks/phcdevworks_core_modules
412
362
  changelog_uri: https://github.com/phcdevworks/phcdevworks_core_modules/releases
@@ -425,8 +375,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
425
375
  - !ruby/object:Gem::Version
426
376
  version: '0'
427
377
  requirements: []
428
- rubygems_version: 3.2.22
378
+ rubygems_version: 3.0.3.1
429
379
  signing_key:
430
380
  specification_version: 4
431
- summary: Rails 6 - Engine - Core - Modules
381
+ summary: Rails 7 - Engine - Core - Modules
432
382
  test_files: []
@@ -1,3 +0,0 @@
1
- # Place all the behaviors and hooks related to the matching controller here.
2
- # All this logic will automatically be available in application.js.
3
- # You can use CoffeeScript in this file: http://coffeescript.org/
@@ -1,3 +0,0 @@
1
- // Place all the styles related to the Affiliate::Links controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: https://sass-lang.com/
@@ -1,3 +0,0 @@
1
- // Place all the styles related to the marketing::optimizations controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: https://sass-lang.com/
@@ -1,3 +0,0 @@
1
- // Place all the styles related to the post::categories controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: https://sass-lang.com/
@@ -1,65 +0,0 @@
1
- body {
2
- background-color: #fff;
3
- color: #333;
4
- margin: 33px; }
5
-
6
- body, p, ol, ul, td {
7
- font-family: verdana, arial, helvetica, sans-serif;
8
- font-size: 13px;
9
- line-height: 18px; }
10
-
11
- pre {
12
- background-color: #eee;
13
- padding: 10px;
14
- font-size: 11px; }
15
-
16
- a {
17
- color: #000; }
18
-
19
- a:visited {
20
- color: #666; }
21
-
22
- a:hover {
23
- color: #fff;
24
- background-color: #000; }
25
-
26
- th {
27
- padding-bottom: 5px; }
28
-
29
- td {
30
- padding: 0 5px 7px; }
31
-
32
- div.field,
33
- div.actions {
34
- margin-bottom: 10px; }
35
-
36
- #notice {
37
- color: green; }
38
-
39
- .field_with_errors {
40
- padding: 2px;
41
- background-color: red;
42
- display: table; }
43
-
44
- #error_explanation {
45
- width: 450px;
46
- border: 2px solid red;
47
- padding: 7px 7px 0;
48
- margin-bottom: 20px;
49
- background-color: #f0f0f0; }
50
-
51
- #error_explanation h2 {
52
- text-align: left;
53
- font-weight: bold;
54
- padding: 5px 5px 5px 15px;
55
- font-size: 12px;
56
- margin: -7px -7px 0;
57
- background-color: #c00;
58
- color: #fff; }
59
-
60
- #error_explanation ul li {
61
- font-size: 12px;
62
- list-style: square; }
63
-
64
- label {
65
- display: block; }
data/config/spring.rb DELETED
@@ -1,2 +0,0 @@
1
- Spring.application_root = './spec/test_app'
2
-