phcdevworks_core_modules 6.5.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -28
- data/Rakefile +4 -18
- data/app/assets/config/phcdevworks_core_modules_manifest.js +0 -1
- data/app/assets/stylesheets/phcdevworks_core_modules/application.scss +0 -2
- data/lib/phcdevworks_core_modules.rb +2 -1
- data/lib/phcdevworks_core_modules/engine.rb +43 -43
- data/lib/phcdevworks_core_modules/version.rb +1 -1
- metadata +9 -10
- data/app/assets/javascripts/phcdevworks_core_modules/application.js +0 -2
- data/app/assets/javascripts/phcdevworks_core_modules/marketing/optimizations.coffee +0 -3
- data/app/assets/javascripts/phcdevworks_core_modules/post/categories.coffee +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -65
- data/config/spring.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30ac8d6358fcbf47857965ccc3e0ea06b080ddbfb8d9564fc2a9a1d865cdc662
|
4
|
+
data.tar.gz: bc75a4c488d765dc5bbbb0a99ffbf6cc45049ff20b6dbd373d8486bdf3ea12db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b15dfa9d785ff498415af72a1471b6711c73fba6162ff8a4cb9f76a65b381b446093cfa96f128068d676c5a21a8d3a332610dbb5767426993365a2472c8a5f4
|
7
|
+
data.tar.gz: 73022c91595a8dfee511900c94d4d2b8f61fbe9ab6b710056970aa02345bdb386a4d0fb0a199ae81d01fa141bfc7914ca256ee75ba38aa46729d6d6cfa9d99dc
|
data/README.md
CHANGED
@@ -1,28 +0,0 @@
|
|
1
|
-
# PhcdevworksCoreModules
|
2
|
-
Short description and motivation.
|
3
|
-
|
4
|
-
## Usage
|
5
|
-
How to use my plugin.
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
gem 'phcdevworks_core_modules'
|
12
|
-
```
|
13
|
-
|
14
|
-
And then execute:
|
15
|
-
```bash
|
16
|
-
$ bundle
|
17
|
-
```
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
```bash
|
21
|
-
$ gem install phcdevworks_core_modules
|
22
|
-
```
|
23
|
-
|
24
|
-
## Contributing
|
25
|
-
Contribution directions go here.
|
26
|
-
|
27
|
-
## License
|
28
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
@@ -1,22 +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
|
6
|
-
|
7
|
-
require 'rdoc/task'
|
8
|
-
|
9
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'PhcdevworksCoreModules'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.md')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
1
|
+
require "bundler/setup"
|
16
2
|
|
17
3
|
APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
|
18
|
-
load
|
4
|
+
load "rails/tasks/engine.rake"
|
19
5
|
|
20
|
-
load
|
6
|
+
load "rails/tasks/statistics.rake"
|
21
7
|
|
22
|
-
require
|
8
|
+
require "bundler/gem_tasks"
|
@@ -1,46 +1,46 @@
|
|
1
1
|
module PhcdevworksCoreModules
|
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
|
-
# Mailer Dependencies
|
30
|
-
require "mail_form"
|
31
|
-
|
32
|
-
# Load User Accounts
|
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
|
-
end
|
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"
|
44
28
|
|
45
|
-
|
29
|
+
# Mailer Dependencies
|
30
|
+
require "mail_form"
|
31
|
+
|
32
|
+
# Load User Accounts
|
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
|
+
end
|
44
|
+
|
45
|
+
end
|
46
46
|
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:
|
4
|
+
version: 7.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
243
|
+
version: '3.0'
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
250
|
+
version: '3.0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: factory_bot_rails
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,13 +335,9 @@ files:
|
|
335
335
|
- README.md
|
336
336
|
- Rakefile
|
337
337
|
- app/assets/config/phcdevworks_core_modules_manifest.js
|
338
|
-
- app/assets/javascripts/phcdevworks_core_modules/application.js
|
339
|
-
- app/assets/javascripts/phcdevworks_core_modules/marketing/optimizations.coffee
|
340
|
-
- app/assets/javascripts/phcdevworks_core_modules/post/categories.coffee
|
341
338
|
- app/assets/stylesheets/phcdevworks_core_modules/application.scss
|
342
339
|
- app/assets/stylesheets/phcdevworks_core_modules/marketing/optimizations.scss
|
343
340
|
- app/assets/stylesheets/phcdevworks_core_modules/post/categories.scss
|
344
|
-
- app/assets/stylesheets/scaffolds.scss
|
345
341
|
- app/controllers/phcdevworks_core_modules/application_controller.rb
|
346
342
|
- app/controllers/phcdevworks_core_modules/marketing/optimizations_controller.rb
|
347
343
|
- app/controllers/phcdevworks_core_modules/post/categories_controller.rb
|
@@ -373,7 +369,6 @@ files:
|
|
373
369
|
- app/views/phcdevworks_core_modules/post/categories/new.html.erb
|
374
370
|
- app/views/phcdevworks_core_modules/post/categories/show.html.erb
|
375
371
|
- config/routes.rb
|
376
|
-
- config/spring.rb
|
377
372
|
- db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
|
378
373
|
- db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb
|
379
374
|
- db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb
|
@@ -386,7 +381,11 @@ files:
|
|
386
381
|
homepage: https://phcdevworks.com/
|
387
382
|
licenses:
|
388
383
|
- MIT
|
389
|
-
metadata:
|
384
|
+
metadata:
|
385
|
+
allowed_push_host: https://rubygems.org/
|
386
|
+
homepage_uri: https://phcdevworks.com/
|
387
|
+
source_code_uri: https://github.com/phcdevworks/phcdevworks_core_modules
|
388
|
+
changelog_uri: https://github.com/phcdevworks/phcdevworks_core_modules/releases
|
390
389
|
post_install_message:
|
391
390
|
rdoc_options: []
|
392
391
|
require_paths:
|
@@ -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 +0,0 @@
|
|
1
|
-
Spring.application_root = './spec/test_app'
|