phcscriptcdnpro 5.10.1 → 5.10.3

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
  SHA1:
3
- metadata.gz: 1142de4785b2c13428130070c4d0aaf38158c828
4
- data.tar.gz: 57464eeccc8d367c3345b782e828a7c8960a09ca
3
+ metadata.gz: 4d73a3fa69e87b9acb58a563a9dccfed9110a7a9
4
+ data.tar.gz: 509e4a487938376525bcf0f87f1533472dd1cd3d
5
5
  SHA512:
6
- metadata.gz: 7303bfbe64de0844fa6fc0629648e4a128f69fc3dfc9af8a04ad4686e8e2743491ceefa9b99616cca22252e87d49c9d30204008fd3bdeab2a1e880f640a4da1b
7
- data.tar.gz: c41b0ed13152c1b2bf3150d7c6d0645fc90a91900dc910fbba7160da986cbf64436a4ae47cd5255c176a28dcefc3661ec22062e47e2789c128d60ca4c5d92e94
6
+ metadata.gz: 55e859035b7d68bf07b4dd9cdaf58d1070457aefc2c429c9fa70642a26dc87f14690e989d0531bd9b30bb33bdb77f6b173d314566fc6fac4f178ef7884291a6b
7
+ data.tar.gz: 1da309c6be80c241cb34c319b96eb09d8f792ebc8b9fe07b52b38f809fe1aea0a4de7988afb713d8377678a5e34d8338767bc5b0af82c1c600dcd30b6c35b5ae
@@ -1,22 +1,28 @@
1
1
  module Phcscriptcdnpro
2
2
  class ApplicationController < ActionController::Base
3
-
4
- # Load Helpers for PHCPress Widgets
5
- before_action :phcpress_recent_posts
6
-
3
+
7
4
  # Security Filters
8
5
  protect_from_forgery with: :exception
9
6
 
7
+ # Papertrail Whodunnit Username
8
+ def user_for_paper_trail
9
+ # Default is: current_user rescue nil
10
+ current_user ? current_user.username : 'Public user'
11
+ end
12
+
10
13
  # Grab Member Information
11
- def get_member_profile_info
14
+ def get_member_profile_info
12
15
  @members_profile_info = Member::Profile.find(params[:profile_id])
13
16
  end
14
17
 
15
- # AuthRocket User Helpers
18
+ def membership_info
19
+ AuthRocket::Membership.all(user_id: current_user.id).first
20
+ end
21
+
22
+ #Authentication
16
23
  def require_user
17
24
  unless current_user
18
- params.permit!
19
- session[:last_url] = request.get? ? url_for(params) : url_for
25
+ session[:last_url] = request.get? ? url_for(params.dup.permit!.except(:domain, :host, :port, :protocol, :subdomain)) : url_for
20
26
  redirect_to new_login_url
21
27
  end
22
28
  end
@@ -28,24 +34,14 @@ module Phcscriptcdnpro
28
34
 
29
35
  def new_login_url
30
36
  ENV['AUTHROCKET_LOGIN_URL']
37
+ # $ar_login_url
31
38
  end
32
39
  helper_method :new_login_url
33
40
 
34
- def membership_info
35
- AuthRocket::Membership.all(user_id: current_user.id).first
36
- end
37
-
38
41
  # Load Helpers
39
42
  helper Phctitleseo::Engine.helpers
40
43
  helper Phcnotifi::Engine.helpers
41
44
  helper Phcaccountspro::Engine.helpers
42
-
43
- # PHCPress Widget Helpers
44
- def phcpress_recent_posts
45
- @recent_posts = Phcpresspro::Articles::Post.all
46
- end
47
-
45
+
48
46
  end
49
47
  end
50
-
51
-
@@ -4,5 +4,5 @@
4
4
  <% end %>
5
5
  </div>
6
6
  <div>
7
- &copy; 2012-<%= Time.now.year %> - v5.8.4 - RELEASED - FEB-13-<%= Date.today.year %>
7
+ &copy; 2012-<%= Time.now.year %> - v5.10.1 - RELEASED - FEB-21-<%= Date.today.year %>
8
8
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.10.1"
2
+ VERSION = "5.10.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.10.1
4
+ version: 5.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -90,34 +90,40 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '8.10'
93
+ version: '9.0'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 9.0.1
94
97
  type: :runtime
95
98
  prerelease: false
96
99
  version_requirements: !ruby/object:Gem::Requirement
97
100
  requirements:
98
101
  - - "~>"
99
102
  - !ruby/object:Gem::Version
100
- version: '8.10'
103
+ version: '9.0'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 9.0.1
101
107
  - !ruby/object:Gem::Dependency
102
108
  name: phcadmin2
103
109
  requirement: !ruby/object:Gem::Requirement
104
110
  requirements:
105
111
  - - "~>"
106
112
  - !ruby/object:Gem::Version
107
- version: '3.7'
113
+ version: '4.0'
108
114
  - - ">="
109
115
  - !ruby/object:Gem::Version
110
- version: 3.7.1
116
+ version: 4.0.1
111
117
  type: :runtime
112
118
  prerelease: false
113
119
  version_requirements: !ruby/object:Gem::Requirement
114
120
  requirements:
115
121
  - - "~>"
116
122
  - !ruby/object:Gem::Version
117
- version: '3.7'
123
+ version: '4.0'
118
124
  - - ">="
119
125
  - !ruby/object:Gem::Version
120
- version: 3.7.1
126
+ version: 4.0.1
121
127
  - !ruby/object:Gem::Dependency
122
128
  name: phctitleseo
123
129
  requirement: !ruby/object:Gem::Requirement
@@ -125,6 +131,9 @@ dependencies:
125
131
  - - "~>"
126
132
  - !ruby/object:Gem::Version
127
133
  version: '4.2'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 4.2.1
128
137
  type: :runtime
129
138
  prerelease: false
130
139
  version_requirements: !ruby/object:Gem::Requirement
@@ -132,6 +141,9 @@ dependencies:
132
141
  - - "~>"
133
142
  - !ruby/object:Gem::Version
134
143
  version: '4.2'
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: 4.2.1
135
147
  - !ruby/object:Gem::Dependency
136
148
  name: phcnotifi
137
149
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +151,9 @@ dependencies:
139
151
  - - "~>"
140
152
  - !ruby/object:Gem::Version
141
153
  version: '3.8'
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: 3.8.1
142
157
  type: :runtime
143
158
  prerelease: false
144
159
  version_requirements: !ruby/object:Gem::Requirement
@@ -146,6 +161,9 @@ dependencies:
146
161
  - - "~>"
147
162
  - !ruby/object:Gem::Version
148
163
  version: '3.8'
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 3.8.1
149
167
  - !ruby/object:Gem::Dependency
150
168
  name: phcaccountspro
151
169
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +173,7 @@ dependencies:
155
173
  version: '3.7'
156
174
  - - ">="
157
175
  - !ruby/object:Gem::Version
158
- version: 3.7.1
176
+ version: 3.7.2
159
177
  type: :runtime
160
178
  prerelease: false
161
179
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,7 +183,7 @@ dependencies:
165
183
  version: '3.7'
166
184
  - - ">="
167
185
  - !ruby/object:Gem::Version
168
- version: 3.7.1
186
+ version: 3.7.2
169
187
  - !ruby/object:Gem::Dependency
170
188
  name: phcpresspro
171
189
  requirement: !ruby/object:Gem::Requirement
@@ -173,6 +191,9 @@ dependencies:
173
191
  - - "~>"
174
192
  - !ruby/object:Gem::Version
175
193
  version: '7.0'
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 7.0.1
176
197
  type: :runtime
177
198
  prerelease: false
178
199
  version_requirements: !ruby/object:Gem::Requirement
@@ -180,6 +201,9 @@ dependencies:
180
201
  - - "~>"
181
202
  - !ruby/object:Gem::Version
182
203
  version: '7.0'
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: 7.0.1
183
207
  - !ruby/object:Gem::Dependency
184
208
  name: jquery-rails
185
209
  requirement: !ruby/object:Gem::Requirement
@@ -383,33 +407,25 @@ dependencies:
383
407
  - !ruby/object:Gem::Version
384
408
  version: '2.3'
385
409
  - !ruby/object:Gem::Dependency
386
- name: summernote-rails
410
+ name: tinymce-rails
387
411
  requirement: !ruby/object:Gem::Requirement
388
412
  requirements:
389
413
  - - "~>"
390
414
  - !ruby/object:Gem::Version
391
- version: 0.8.2.0
392
- type: :runtime
393
- prerelease: false
394
- version_requirements: !ruby/object:Gem::Requirement
395
- requirements:
396
- - - "~>"
397
- - !ruby/object:Gem::Version
398
- version: 0.8.2.0
399
- - !ruby/object:Gem::Dependency
400
- name: codemirror-rails
401
- requirement: !ruby/object:Gem::Requirement
402
- requirements:
403
- - - "~>"
415
+ version: '4.5'
416
+ - - ">="
404
417
  - !ruby/object:Gem::Version
405
- version: '5.16'
418
+ version: 4.5.3
406
419
  type: :runtime
407
420
  prerelease: false
408
421
  version_requirements: !ruby/object:Gem::Requirement
409
422
  requirements:
410
423
  - - "~>"
411
424
  - !ruby/object:Gem::Version
412
- version: '5.16'
425
+ version: '4.5'
426
+ - - ">="
427
+ - !ruby/object:Gem::Version
428
+ version: 4.5.3
413
429
  - !ruby/object:Gem::Dependency
414
430
  name: carrierwave
415
431
  requirement: !ruby/object:Gem::Requirement
@@ -430,14 +446,20 @@ dependencies:
430
446
  requirements:
431
447
  - - "~>"
432
448
  - !ruby/object:Gem::Version
433
- version: '1.4'
449
+ version: '1.5'
450
+ - - ">="
451
+ - !ruby/object:Gem::Version
452
+ version: 1.5.2
434
453
  type: :runtime
435
454
  prerelease: false
436
455
  version_requirements: !ruby/object:Gem::Requirement
437
456
  requirements:
438
457
  - - "~>"
439
458
  - !ruby/object:Gem::Version
440
- version: '1.4'
459
+ version: '1.5'
460
+ - - ">="
461
+ - !ruby/object:Gem::Version
462
+ version: 1.5.2
441
463
  - !ruby/object:Gem::Dependency
442
464
  name: rspec-rails
443
465
  requirement: !ruby/object:Gem::Requirement
@@ -598,14 +620,20 @@ dependencies:
598
620
  requirements:
599
621
  - - "~>"
600
622
  - !ruby/object:Gem::Version
601
- version: '3.1'
623
+ version: '3.2'
624
+ - - ">="
625
+ - !ruby/object:Gem::Version
626
+ version: 3.2.1
602
627
  type: :development
603
628
  prerelease: false
604
629
  version_requirements: !ruby/object:Gem::Requirement
605
630
  requirements:
606
631
  - - "~>"
607
632
  - !ruby/object:Gem::Version
608
- version: '3.1'
633
+ version: '3.2'
634
+ - - ">="
635
+ - !ruby/object:Gem::Version
636
+ version: 3.2.1
609
637
  description: PHCScriptCDN(Pro) rails script management engine for website script CDN
610
638
  listings.
611
639
  email: