phcscriptcdnpro 10.0.0 → 10.0.1

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: dae02fae61a9d4895ea430bc2af880640872ccb3
4
- data.tar.gz: 12ca39de1981307126778a85e57b8ad90db06bb0
3
+ metadata.gz: 2401c4e4d47b4d07737a370267878e60d5ef70f5
4
+ data.tar.gz: 9e1a8ff9a77cc8dc8263de1e9337e2a4ae37db2f
5
5
  SHA512:
6
- metadata.gz: 65ef4c1b3c500e2c2ee6df64ab1aaefbe7d474baabd09e9bf4094c5a721b3c9171074de1b825a761b7f8cf3ca95c7f355fd581265287b4ae618c9664414d5504
7
- data.tar.gz: 06f99d861fdf96fe4b561bfd345ebdfcbf6f74e897c7613c8611a5e0a958863cbce1564b4c49648019b8201b914cabff503e4abfcbfca590ca8de0071a8c871c
6
+ metadata.gz: 77121637c74a94e686d156701537a9090b7b66660458e988d5a6949a86f90bfa3e6993957a5156f70b1da177a00dc18fdbfa6a5e576b97064a5c5f509ce2513a
7
+ data.tar.gz: 42aabb7e36e8d0428d2fbfaab5c14fd9acf33cf1f2c09f733aa1137eb6085c9da27c0f65fa49863bfc027e222510bd6122214e588540c081f14a0408d92e1265
@@ -18,33 +18,9 @@ module Phcscriptcdnpro
18
18
  @members_profile_info = Member::Profile.find(params[:profile_id])
19
19
  end
20
20
 
21
- def membership_info
22
- AuthRocket::Membership.all(user_id: current_user.id).first
23
- end
24
-
25
- #Authentication
26
- def require_user
27
- unless current_user
28
- session[:last_url] = request.get? ? url_for(params.dup.permit!.except(:domain, :host, :port, :protocol, :subdomain)) : url_for
29
- redirect_to new_login_url
30
- end
31
- end
32
-
33
- def current_user
34
- @_current_user ||= AuthRocket::Session.from_token(session[:ar_token]).try(:user)
35
- end
36
- helper_method :current_user
37
-
38
- def new_login_url
39
- ENV['AUTHROCKET_LOGIN_URL']
40
- # $ar_login_url
41
- end
42
- helper_method :new_login_url
43
-
44
21
  # Load Helpers
45
22
  helper Phctitleseo::Engine.helpers
46
23
  helper Phcnotifi::Engine.helpers
47
- helper Phcaccountspro::Engine.helpers
48
24
 
49
25
  private
50
26
 
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptListings < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptListings < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_listings do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptAuthors < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptAuthors < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_authors do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptExtensions < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptExtensions < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_extensions do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptLicences < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptLicences < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_licences do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptUrls < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptUrls < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_urls do |t|
@@ -1,4 +1,4 @@
1
- class CreatePhcscriptcdnproScriptVersions < ActiveRecord::Migration[5.0]
1
+ class CreatePhcscriptcdnproScriptVersions < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
 
4
4
  create_table :phcscriptcdnpro_script_versions do |t|
@@ -1,4 +1,4 @@
1
- class CreateFriendlyIdSlugs < ActiveRecord::Migration
1
+ class CreateFriendlyIdSlugs < ActiveRecord::Migration[5.1]
2
2
 
3
3
  def change
4
4
  create_table :friendly_id_slugs do |t|
@@ -3,7 +3,6 @@ module Phcscriptcdnpro
3
3
 
4
4
  # Main Dependencies
5
5
  require 'paper_trail'
6
- require 'phcaccountspro'
7
6
  require 'phcpresspro'
8
7
 
9
8
  # UI & Frontend Dependencies
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "10.0.0"
2
+ VERSION = "10.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0
4
+ version: 10.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '11.0'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 11.0.1
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - "~>"
73
76
  - !ruby/object:Gem::Version
74
77
  version: '11.0'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 11.0.1
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: jquery-rails
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -535,6 +541,9 @@ dependencies:
535
541
  - - "~>"
536
542
  - !ruby/object:Gem::Version
537
543
  version: '1.6'
544
+ - - ">="
545
+ - !ruby/object:Gem::Version
546
+ version: 1.6.1
538
547
  type: :development
539
548
  prerelease: false
540
549
  version_requirements: !ruby/object:Gem::Requirement
@@ -542,6 +551,9 @@ dependencies:
542
551
  - - "~>"
543
552
  - !ruby/object:Gem::Version
544
553
  version: '1.6'
554
+ - - ">="
555
+ - !ruby/object:Gem::Version
556
+ version: 1.6.1
545
557
  - !ruby/object:Gem::Dependency
546
558
  name: faker
547
559
  requirement: !ruby/object:Gem::Requirement