phcdevworks_core 2.1.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85c16ecc8588830bb6af2932bc83ef848454ea3dc81a597713f2f200753b3ed2
4
- data.tar.gz: 2e88d9e3d39dac404235c1197e111f7184a1dc3ef66398dcb100e166619733dd
3
+ metadata.gz: fa33c86b1ff77c81caeccdc2246cd0a5f228c612e16a661e191a86e6af4931fb
4
+ data.tar.gz: 48d023c079252a5d57758e22b012a8837ef72b286fcf054867b9a089c22925f3
5
5
  SHA512:
6
- metadata.gz: 194536c21df06b16a7da7a81b91ad690a3f3a8fe63cc4eb895d3d96d340cacdfbdd9bff83d47eee4563e82edf93cd990691c1f1910b1f251506f9bbdbc6e3a03
7
- data.tar.gz: a869cbec53ccb45f890e5d41377f1e81d4dba1ee70d409041b3be1cdafa035f61897197e46787ee152c3559f49e170f9fd85dec63c9f2d58d3b74f094a02adde
6
+ metadata.gz: fc8f23f02a4750a0b1ae7b6b03bb9c9221ed67e70ead21ee94c7eb9ae8520c080047c14644d987a6236e0526fd0c6fca38b52d7444e602f4818cdfd542798abc
7
+ data.tar.gz: 991458e5a8bceb2aa4432435f368714e0b296cadbf39b0b7473e160f37482766e5a029841e14660222cbd4cbfdad245cce92d117946831075834948b6bb708be
data/MIT-LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- Copyright 2010-2020 BradPotts - PHCDevworks
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright 2021 BradPotts
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -0,0 +1 @@
1
+ [![Gem Version](https://badge.fury.io/rb/phcdevworks_core.svg)](https://badge.fury.io/rb/phcdevworks_core)
data/Rakefile CHANGED
@@ -1,32 +1,8 @@
1
- begin
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 = 'PhcdevworksCore'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.md')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
15
- end
16
-
17
- APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
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
1
+ require "bundler/setup"
2
+
3
+ APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
5
+
6
+ load "rails/tasks/statistics.rake"
7
+
8
+ require "bundler/gem_tasks"
@@ -1,4 +1,4 @@
1
- module PhcdevworksCore
2
- module ApplicationHelper
3
- end
4
- end
1
+ module PhcdevworksCore
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -1,39 +1,39 @@
1
- module PhcdevworksCore
2
- module PhcdevworksPluginsHelper
3
-
4
- # PHCDevworks - Accounts - Add Admin Only Filter
5
- def phcdevworks_accounts_admin_only
6
- unless current_user && current_user.admin?
7
- redirect_to main_app.root_path, :flash => { :error => "Sorry Access Denied. Adminisistration Access Required!" }
8
- end
9
- end
10
-
11
- # PHCDevworks - Accounts - Who Dunnit
12
- def user_for_paper_trail
13
- current_user ? current_user.username : 'Public user'
14
- end
15
-
16
- # PHCDevworks - Members - Grab Member Information
17
- def phcmembers_get_member_profile_info
18
- @members_profile_info = Phcdevworksmembers::Member::Profile.find(params[:profile_id])
19
- end
20
-
21
- # PHCDevworks - RealEstate - All Listings
22
- def phcdevworks_real_listings_all
23
- @perty_real_listings__all = Phcdevworksrealestate::Property::Listing.all
24
- end
25
-
26
- # PHCDevworks - RealEstate - Resolve Layouts
27
- def resolve_property_listing_layouts
28
- case action_name
29
- when "new", "create"
30
- "application"
31
- when "index"
32
- "phcdevworks_real_estate/property_list"
33
- else
34
- "application"
35
- end
36
- end
37
-
38
- end
39
- end
1
+ module PhcdevworksCore
2
+ module PhcdevworksPluginsHelper
3
+
4
+ # PHCDevworks - Accounts - Add Admin Only Filter
5
+ def phcdevworks_accounts_admin_only
6
+ unless current_user && current_user.admin?
7
+ redirect_to main_app.root_path, :flash => { :error => "Sorry Access Denied. Adminisistration Access Required!" }
8
+ end
9
+ end
10
+
11
+ # PHCDevworks - Accounts - Who Dunnit
12
+ def user_for_paper_trail
13
+ current_user ? current_user.username : 'Public user'
14
+ end
15
+
16
+ # PHCDevworks - Members - Grab Member Information
17
+ def phcmembers_get_member_profile_info
18
+ @members_profile_info = Phcdevworksmembers::Member::Profile.find(params[:profile_id])
19
+ end
20
+
21
+ # PHCDevworks - RealEstate - All Listings
22
+ def phcdevworks_real_listings_all
23
+ @perty_real_listings__all = Phcdevworksrealestate::Property::Listing.all
24
+ end
25
+
26
+ # PHCDevworks - RealEstate - Resolve Layouts
27
+ def resolve_property_listing_layouts
28
+ case action_name
29
+ when "new", "create"
30
+ "application"
31
+ when "index"
32
+ "phcdevworks_real_estate/property_list"
33
+ else
34
+ "application"
35
+ end
36
+ end
37
+
38
+ end
39
+ end
@@ -1,12 +1,12 @@
1
- module PhcdevworksCore
2
- class Engine < ::Rails::Engine
3
-
4
- # Theme Dependencies
5
- require "phcthemes_admin_panel_pack"
6
- require "phcthemes_web_theme_pack"
7
-
8
- # Plugin Namespace
9
- isolate_namespace PhcdevworksCore
10
-
11
- end
12
- end
1
+ module PhcdevworksCore
2
+ class Engine < ::Rails::Engine
3
+
4
+ # Theme Dependencies
5
+ require "phcthemes_admin_panel_pack"
6
+ require "phcthemes_web_theme_pack"
7
+
8
+ # Plugin Namespace
9
+ isolate_namespace PhcdevworksCore
10
+
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
- module PhcdevworksCore
2
- VERSION = "2.1.2"
3
- end
1
+ module PhcdevworksCore
2
+ VERSION = '2.3.0'
3
+ end
@@ -1,5 +1,6 @@
1
- require "phcdevworks_core/engine"
2
-
3
- module PhcdevworksCore
4
- # Your code goes here...
5
- end
1
+ require "phcdevworks_core/version"
2
+ require "phcdevworks_core/engine"
3
+
4
+ module PhcdevworksCore
5
+ # Your code goes here...
6
+ end
@@ -1,4 +1,4 @@
1
- # desc "Explaining what the task does"
2
- # task :phcdevworks_core do
3
- # # Task goes here
4
- # end
1
+ # desc "Explaining what the task does"
2
+ # task :phcdevworks_core do
3
+ # # Task goes here
4
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.3.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-22 00:00:00.000000000 Z
11
+ date: 2021-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,48 +16,42 @@ 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: phcthemes_admin_panel_pack
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '3.1'
33
+ version: '4.1'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '3.1'
40
+ version: '4.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: phcthemes_web_theme_pack
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '3.1'
47
+ version: '4.1'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '3.1'
54
+ version: '4.1'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: sqlite3
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +68,7 @@ dependencies:
74
68
  version: '1.4'
75
69
  description: Rails 6 core engine and helper files for PHCDevworks plugins.
76
70
  email:
77
- - info@phcdevworks.com
71
+ - imfo@phcdevworks.com
78
72
  executables: []
79
73
  extensions: []
80
74
  extra_rdoc_files: []
@@ -82,15 +76,8 @@ files:
82
76
  - MIT-LICENSE
83
77
  - README.md
84
78
  - Rakefile
85
- - app/assets/config/phcdevworks_core_manifest.js
86
- - app/assets/stylesheets/phcdevworks_core/application.css
87
- - app/controllers/phcdevworks_core/application_controller.rb
88
79
  - app/helpers/phcdevworks_core/application_helper.rb
89
80
  - app/helpers/phcdevworks_core/phcdevworks_plugins_helper.rb
90
- - app/jobs/phcdevworks_core/application_job.rb
91
- - app/mailers/phcdevworks_core/application_mailer.rb
92
- - app/models/phcdevworks_core/application_record.rb
93
- - app/views/layouts/phcdevworks_core/application.html.erb
94
81
  - lib/phcdevworks_core.rb
95
82
  - lib/phcdevworks_core/engine.rb
96
83
  - lib/phcdevworks_core/version.rb
@@ -98,7 +85,11 @@ files:
98
85
  homepage: https://phcdevworks.com/
99
86
  licenses:
100
87
  - MIT
101
- metadata: {}
88
+ metadata:
89
+ allowed_push_host: https://rubygems.org/
90
+ homepage_uri: https://phcdevworks.com/
91
+ source_code_uri: https://github.com/phcdevworks/phcdevworks_core
92
+ changelog_uri: https://github.com/phcdevworks/phcdevworks_core/releases
102
93
  post_install_message:
103
94
  rdoc_options: []
104
95
  require_paths:
@@ -114,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
105
  - !ruby/object:Gem::Version
115
106
  version: '0'
116
107
  requirements: []
117
- rubygems_version: 3.0.3
108
+ rubygems_version: 3.2.22
118
109
  signing_key:
119
110
  specification_version: 4
120
111
  summary: PHCDevworks - Engine - Core
@@ -1 +0,0 @@
1
- //= link_directory ../stylesheets/phcdevworks_core .css
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,5 +0,0 @@
1
- module PhcdevworksCore
2
- class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- module PhcdevworksCore
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module PhcdevworksCore
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module PhcdevworksCore
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Phcdevworks core</title>
5
- <%= csrf_meta_tags %>
6
- <%= csp_meta_tag %>
7
-
8
- <%= stylesheet_link_tag "phcdevworks_core/application", media: "all" %>
9
- </head>
10
- <body>
11
-
12
- <%= yield %>
13
-
14
- </body>
15
- </html>