phcdevworks_core 0.2.0 → 0.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: 91446b3c034dc7210af08c5ba72d86b904ecc81cac18db7356511c581524243f
4
- data.tar.gz: 2aaed754741423c046cf36129b89a857d08977d28406c3fed4527ec0c29cfece
3
+ metadata.gz: ce92e90e473f0afb58ea3a972db3e4d90d2d93e12020d7a85a658c6b63f1eef4
4
+ data.tar.gz: 010c33754f522dba8382689875ab3a5c69c453ffa9536ac0158c514d3ce69255
5
5
  SHA512:
6
- metadata.gz: f17a413cb1f84d61366f72b3d50e32a25ad591e0da1d9db880a33fde4d95a27ddb2530fa08510145439fa7a415d568ffe3562e5454dd22e01b80df17e9659ae0
7
- data.tar.gz: 27a786ce858a9eb0cce31a046944fe37fa7d43d1b944521b45f2965a0bbcb83d5c2de967ce0ba124affe7b7e26995fb9cd4b2ca087ae0367e5ce3e58b5560ccb
6
+ metadata.gz: eb0c1e6d63660addfe455b2709871c3de860d96330402f994850e1a52f16e52d93ed5054adc1ddf2bd6b0c60302e25bade23b900bc674d682b7b034cc74af949
7
+ data.tar.gz: c35643f7686252a9dae120e566a1926c69c6623442b2cb702f50206526d50c6299fcbc6b412c6bb7ecd6b7e1f465e7e72e1c948d6d37a6b3ec374eefa19ed076
@@ -1,39 +1,39 @@
1
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
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
15
10
 
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
11
+ # PHCDevworks - Accounts - Who Dunnit
12
+ def user_for_paper_trail
13
+ current_user ? current_user.username : 'Public user'
14
+ end
20
15
 
21
- # PHCDevworks - RealEstate - All Listings
22
- def phcdevworks_real_listings_all
23
- @perty_real_listings__all = Phcdevworksrealestate::Property::Listing.all
24
- end
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
25
20
 
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
21
+ # PHCDevworks - RealEstate - All Listings
22
+ def phcdevworks_real_listings_all
23
+ @perty_real_listings__all = Phcdevworksrealestate::Property::Listing.all
24
+ end
37
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
38
36
  end
37
+
38
+ end
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksCore
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  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: 0.2.0
4
+ version: 0.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: 2019-07-30 00:00:00.000000000 Z
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.28.0
33
+ version: 0.29.0
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: 0.28.0
40
+ version: 0.29.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: phcthemes_web_theme_pack
43
43
  requirement: !ruby/object:Gem::Requirement