phcscriptcdnpro 8.0.0 → 8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac45306670747d4904e7fe8d9dd5f9d09df90dc7
|
4
|
+
data.tar.gz: d4c194a2f35680a46296a905e668d11a19fa6a09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452714b9024da2ea2b2329479dbbe34bf8a98f9b9d12bfd65400340c556b7e3edc577db2e02d39840e1777eaa3b174f447d38727976f63aef0a780dd2595fd17
|
7
|
+
data.tar.gz: 3fda058266011e1b3b6ade3ce2d52939bfbe3329d04ed9b08adadcbfa10575859ccfa30a815f5526b8f3255f1dc9e7c1c29870c0483b644874917fe8f8d88577
|
@@ -7,31 +7,31 @@ module Phcscriptcdnpro
|
|
7
7
|
before_action :require_user
|
8
8
|
before_action :membership_info
|
9
9
|
before_action :set_script_url, only: [:show, :edit, :update, :destroy]
|
10
|
-
|
10
|
+
|
11
11
|
# INDEX - Script Authors
|
12
12
|
def index
|
13
13
|
script_listing = Script::Listing.find(params[:listing_id])
|
14
14
|
@script_urls = script_listing.urls
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
# DETAILED PROFILE - Script Authors
|
18
18
|
def show
|
19
19
|
script_listing = Script::Listing.find(params[:listing_id])
|
20
20
|
@script_url = script_listing.urls.friendly.find(params[:id])
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
# NEW - Script Athors
|
24
24
|
def new
|
25
25
|
script_listing = Script::Listing.find(params[:listing_id])
|
26
26
|
@script_url = script_listing.urls.build
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
# EDIT - Script Athors
|
30
30
|
def edit
|
31
31
|
script_listing = Script::Listing.find(params[:listing_id])
|
32
32
|
@script_url = script_listing.urls.find(params[:id])
|
33
33
|
end
|
34
|
-
|
34
|
+
|
35
35
|
# POST - Script Athors
|
36
36
|
def create
|
37
37
|
@script_listing = Script::Listing.find(params[:listing_id])
|
@@ -46,7 +46,7 @@ module Phcscriptcdnpro
|
|
46
46
|
render :new
|
47
47
|
end
|
48
48
|
end
|
49
|
-
|
49
|
+
|
50
50
|
# PATCH/PUT - Script Athors
|
51
51
|
def update
|
52
52
|
@script_url.user_id = current_user.id
|
@@ -59,7 +59,7 @@ module Phcscriptcdnpro
|
|
59
59
|
render :edit
|
60
60
|
end
|
61
61
|
end
|
62
|
-
|
62
|
+
|
63
63
|
# DELETE - Script Athors
|
64
64
|
def destroy
|
65
65
|
@script_listing = Script::Listing.find(params[:listing_id])
|
@@ -67,18 +67,18 @@ module Phcscriptcdnpro
|
|
67
67
|
@script_url.destroy
|
68
68
|
redirect_to script_listing_urls_path, notice: 'Author was successfully destroyed.'
|
69
69
|
end
|
70
|
-
|
70
|
+
|
71
71
|
private
|
72
|
-
|
72
|
+
|
73
73
|
# Common Callbacks
|
74
74
|
def set_script_url
|
75
75
|
@script_url = Script::Url.friendly.find(params[:id])
|
76
76
|
end
|
77
|
-
|
77
|
+
|
78
78
|
# Whitelists
|
79
79
|
def script_url_params
|
80
|
-
params.require(:script_url).permit(:scripturl, :scripturlrelease, :scripturlcdnupdate
|
80
|
+
params.require(:script_url).permit(:scripturl, :scripturlrelease, :scripturlcdnupdate, :slug, :user_id, :user_name, :membership_id, :oganization_id, :listing_id, :version_id, :extension_id)
|
81
81
|
end
|
82
|
-
|
82
|
+
|
83
83
|
end
|
84
|
-
end
|
84
|
+
end
|
@@ -1,3 +1,3 @@
|
|
1
1
|
module Phcscriptcdnpro
|
2
|
-
VERSION = "8.0.
|
3
|
-
end
|
2
|
+
VERSION = "8.0.1"
|
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: 8.0.
|
4
|
+
version: 8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|