phcscriptcdnpro 3.3.3 → 3.3.4

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: e107d2e04d829ee8efffafde11f901df1244e4c8
4
- data.tar.gz: 453f2f623b56751342640041fb9a9c7b99a82ee8
3
+ metadata.gz: 15372123492b052bef9f6da5b20be034abf8e974
4
+ data.tar.gz: e23ec33ab062e44ddf90b5556e49a62390589ae2
5
5
  SHA512:
6
- metadata.gz: fe10c2c084cdd42e52dac45a6f1a86cff5cd96c4837665ceab14c539c773a01cb2be670d2505e7e50261c0e57e4327c8b0c8a9592f387cee6dc3bbc6234c1576
7
- data.tar.gz: 43407e779e2cd67587d6e62deed8a004ad7e3b3904307b4871a580e42c309ea2a56c57de541b84f361b26186d248953c673d01c7efa2a200e1ae9322d58848ca
6
+ metadata.gz: 56f587ca174786074f3d64ccc43653cd033b9e4334173f1916d5c33933769286b3f068c23a42728614ae950b74b3af68379166a638471db2cfc45c5fea887cac
7
+ data.tar.gz: ab6f9bb19e1d8aaf4d774b81a03e6f7411653cbe0adfec1871abf3ba3cf52d9e205d77288e07a25165a7908958763205b2771ef5c842a53683ae2914f669ee10
@@ -4,6 +4,7 @@ module Phcscriptcdnpro
4
4
  class Script::AuthorsController < ApplicationController
5
5
 
6
6
  # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_author, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Authors
@@ -4,6 +4,7 @@ module Phcscriptcdnpro
4
4
  class Script::ExtensionsController < ApplicationController
5
5
 
6
6
  # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_extension, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Extension
@@ -3,7 +3,8 @@ require_dependency "phcscriptcdnpro/application_controller"
3
3
  module Phcscriptcdnpro
4
4
  class Script::LicencesController < ApplicationController
5
5
 
6
- #Secrity & Filters
6
+ # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_licence, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Licences
@@ -3,7 +3,8 @@ require_dependency "phcscriptcdnpro/application_controller"
3
3
  module Phcscriptcdnpro
4
4
  class Script::ListingsController < ApplicationController
5
5
 
6
- # Security & Filters
6
+ # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_listing, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Listings
@@ -4,6 +4,7 @@ module Phcscriptcdnpro
4
4
  class Script::UrlsController < ApplicationController
5
5
 
6
6
  # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_url, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Authors
@@ -4,6 +4,7 @@ module Phcscriptcdnpro
4
4
  class Script::VersionsController < ApplicationController
5
5
 
6
6
  # Filters & Security
7
+ before_action :require_user
7
8
  before_action :set_script_version, only: [:show, :edit, :update, :destroy]
8
9
 
9
10
  # INDEX - Script Versions
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "3.3.3"
2
+ VERSION = "3.3.4"
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: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts