phcdevworks_portfolio 9.4.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +5 -29
- data/app/assets/config/phcdevworks_portfolio_manifest.js +0 -1
- data/app/assets/stylesheets/phcdevworks_portfolio/application.scss +0 -2
- data/app/controllers/phcdevworks_portfolio/application_controller.rb +8 -9
- data/app/views/layouts/phcdevworks_portfolio/application.html.erb +13 -18
- data/lib/phcdevworks_portfolio.rb +1 -0
- data/lib/phcdevworks_portfolio/engine.rb +45 -38
- data/lib/phcdevworks_portfolio/version.rb +1 -1
- metadata +11 -12
- data/app/assets/javascripts/phcdevworks_portfolio/application.js +0 -2
- data/app/assets/javascripts/phcdevworks_portfolio/project/pages.coffee +0 -3
- data/app/assets/javascripts/phcdevworks_portfolio/project/posts.coffee +0 -0
- data/app/assets/javascripts/phcdevworks_portfolio/project/types.coffee +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4e05a0f61b0e5e4529cc8513a2f6217881a0b4f51eb5ce43bce5375acb128f
|
4
|
+
data.tar.gz: 19c76dd2698072ebd114ba9e0c9b6e19517e0dba96f8ce167b6341fa37e80032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6bbca8313d405910cf0b34b86e39f4221ce622d54a0673d2a5e408f64fe21add4ac2ce2e5aab8e85e12e81f175074413758ce64a4596593ef8064371e9f94f
|
7
|
+
data.tar.gz: 2e390f2733e3ee94851bb65fe7cf7c287520161bf5a15a5f0385a6ee6e1f67d57edb1c929b6774e66dcd77dce88b20a1c0b6d59f1211328a98ff90ea181379b3
|
data/MIT-LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -1,32 +1,8 @@
|
|
1
|
-
|
2
|
-
require 'bundler/setup'
|
3
|
-
rescue LoadError
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
-
end
|
1
|
+
require "bundler/setup"
|
6
2
|
|
7
|
-
|
3
|
+
APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
|
4
|
+
load "rails/tasks/engine.rake"
|
8
5
|
|
9
|
-
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'PhcdevworksPortfolio'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.md')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
6
|
+
load "rails/tasks/statistics.rake"
|
16
7
|
|
17
|
-
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
|
20
|
-
load 'rails/tasks/statistics.rake'
|
21
|
-
|
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
|
8
|
+
require "bundler/gem_tasks"
|
@@ -1,14 +1,13 @@
|
|
1
1
|
module PhcdevworksPortfolio
|
2
|
-
|
2
|
+
class ApplicationController < ActionController::Base
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
# Security Filters
|
5
|
+
protect_from_forgery with: :exception
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
helper PhcdevworksTitleseo::Engine.helpers
|
7
|
+
# Load Requried Helper Files
|
8
|
+
helper PhcdevworksActiveMenus::Engine.helpers
|
9
|
+
helper PhcdevworksNotifications::Engine.helpers
|
10
|
+
helper PhcdevworksTitleseo::Engine.helpers
|
12
11
|
|
13
|
-
|
12
|
+
end
|
14
13
|
end
|
@@ -4,29 +4,28 @@
|
|
4
4
|
|
5
5
|
<!-- SEO System -->
|
6
6
|
<% phc_seo_title "PHCDevworks Portfolio" %>
|
7
|
-
<% phc_seo_description "Ruby on Rails 6
|
7
|
+
<% phc_seo_description "Ruby on Rails 6 engine allows you to easily manage a portfolio of projects and creative projects. List items individually with URLs to the individual projects and descriptions." %>
|
8
8
|
<!-- SEO System -->
|
9
|
-
|
9
|
+
|
10
10
|
<!-- SEO and Site Description -->
|
11
|
-
|
12
|
-
|
13
|
-
<meta name="
|
14
|
-
|
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 "
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
25
24
|
<!-- CSS Styles -->
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
<!--
|
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_portfolio/application", "data-turbolinks-track": "reload" %>
|
68
|
-
<!-- JavaScript -->
|
69
|
-
|
70
65
|
<!-- JavaScript CKEditor -->
|
71
66
|
<script>ClassicEditor
|
72
67
|
.create( document.querySelector( '.editor' ), {
|
@@ -1,40 +1,47 @@
|
|
1
1
|
module PhcdevworksPortfolio
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
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 User Accounts
|
33
|
+
require "phcdevworks_accounts"
|
34
|
+
require "phcdevworks_core_modules"
|
35
|
+
|
36
|
+
# Engine Namespace
|
37
|
+
isolate_namespace PhcdevworksPortfolio
|
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
|
40
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_portfolio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 10.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: 2020-12-
|
11
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '7.0'
|
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: '
|
152
|
+
version: '7.0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: wicked
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,14 +254,14 @@ dependencies:
|
|
254
254
|
requirements:
|
255
255
|
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
257
|
+
version: '3.0'
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
264
|
+
version: '3.0'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: factory_bot_rails
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -351,15 +351,10 @@ files:
|
|
351
351
|
- README.md
|
352
352
|
- Rakefile
|
353
353
|
- app/assets/config/phcdevworks_portfolio_manifest.js
|
354
|
-
- app/assets/javascripts/phcdevworks_portfolio/application.js
|
355
|
-
- app/assets/javascripts/phcdevworks_portfolio/project/pages.coffee
|
356
|
-
- app/assets/javascripts/phcdevworks_portfolio/project/posts.coffee
|
357
|
-
- app/assets/javascripts/phcdevworks_portfolio/project/types.coffee
|
358
354
|
- app/assets/stylesheets/phcdevworks_portfolio/application.scss
|
359
355
|
- app/assets/stylesheets/phcdevworks_portfolio/project/pages.scss
|
360
356
|
- app/assets/stylesheets/phcdevworks_portfolio/project/posts.scss
|
361
357
|
- app/assets/stylesheets/phcdevworks_portfolio/project/types.scss
|
362
|
-
- app/assets/stylesheets/scaffolds.scss
|
363
358
|
- app/controllers/phcdevworks_portfolio/application_controller.rb
|
364
359
|
- app/controllers/phcdevworks_portfolio/project/pages_controller.rb
|
365
360
|
- app/controllers/phcdevworks_portfolio/project/posts_controller.rb
|
@@ -405,7 +400,11 @@ files:
|
|
405
400
|
homepage: https://phcdevworks.com/
|
406
401
|
licenses:
|
407
402
|
- MIT
|
408
|
-
metadata:
|
403
|
+
metadata:
|
404
|
+
allowed_push_host: https://rubygems.org/
|
405
|
+
homepage_uri: https://phcdevworks.com/
|
406
|
+
source_code_uri: https://github.com/phcdevworks/phcdevworks_portfolio
|
407
|
+
changelog_uri: https://github.com/phcdevworks/phcdevworks_portfolio/releases
|
409
408
|
post_install_message:
|
410
409
|
rdoc_options: []
|
411
410
|
require_paths:
|
File without changes
|
@@ -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; }
|