phcdevworks_core 2.2.2 → 2.3.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: 73ec3f682497277f92c9da509d7e0a166e98458abd33727da69944fa67359b26
4
- data.tar.gz: a813ae884fc66cbe27b2813fde4ab1823a0dff411e97e93a27891bf8fd302b12
3
+ metadata.gz: fa33c86b1ff77c81caeccdc2246cd0a5f228c612e16a661e191a86e6af4931fb
4
+ data.tar.gz: 48d023c079252a5d57758e22b012a8837ef72b286fcf054867b9a089c22925f3
5
5
  SHA512:
6
- metadata.gz: 2cc605a28f2d5eb31603e7c219286e1d76481fb644573e3039d561581bedf22f211eecad3cfc80e74a040f92815649c9e43b811c0d8c1af0bff3524b11424b37
7
- data.tar.gz: ebb113c3d03317f27bdf4f0f456bd731289131451ef52ec5903311b8b7c229abc9964e8ecc423bf67530e3000cc4160843cdfd3180e85a87e442dc8321d659d6
6
+ metadata.gz: fc8f23f02a4750a0b1ae7b6b03bb9c9221ed67e70ead21ee94c7eb9ae8520c080047c14644d987a6236e0526fd0c6fca38b52d7444e602f4818cdfd542798abc
7
+ data.tar.gz: 991458e5a8bceb2aa4432435f368714e0b296cadbf39b0b7473e160f37482766e5a029841e14660222cbd4cbfdad245cce92d117946831075834948b6bb708be
data/MIT-LICENSE CHANGED
@@ -1,20 +1,20 @@
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.
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,8 +1,8 @@
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
+ 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.2.2'
3
- end
1
+ module PhcdevworksCore
2
+ VERSION = '2.3.0'
3
+ end
@@ -1,6 +1,6 @@
1
- require "phcdevworks_core/version"
2
- require "phcdevworks_core/engine"
3
-
4
- module PhcdevworksCore
5
- # Your code goes here...
6
- 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.2.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: 2021-03-07 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
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '4.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: '4.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: phcthemes_web_theme_pack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.0'
47
+ version: '4.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.0'
54
+ version: '4.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.0.3
108
+ rubygems_version: 3.2.22
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: PHCDevworks - Engine - Core