phcscriptcdnpro 11.2.1 → 11.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +5 -5
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +5 -5
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +5 -5
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +5 -5
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +4 -4
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +5 -5
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f139a0469ad76837e07d90ba16f9649db59dfa5
|
4
|
+
data.tar.gz: f6468d09e2f71b6f86fc0d21c05829e12e64f3a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 537c43824e640631569bc95da4f3766ff781aa0d7552d40db11bef4937ae0399ced2c71b65ff152cc14337f3ba70584d71fbb316843af04b819390979afdcee0
|
7
|
+
data.tar.gz: 46aae03f699e76ac6b0986458cbeb00f257c1dae77817e19e589ba1da96bb73aebdca2c25a9254902c9ee083e24b770264ebe6bddd9bb709c6308858c1dbfbcf
|
@@ -11,7 +11,7 @@ module Phcscriptcdnpro
|
|
11
11
|
|
12
12
|
# INDEX - Script Author
|
13
13
|
def index
|
14
|
-
@script_authors = Script::Author.where(oganization_id:
|
14
|
+
@script_authors = Script::Author.where(oganization_id: authrocket_membership_info.org_id)
|
15
15
|
end
|
16
16
|
|
17
17
|
# DETAILS - Script Author
|
@@ -34,8 +34,8 @@ module Phcscriptcdnpro
|
|
34
34
|
@script_author = Script::Author.new(script_author_params)
|
35
35
|
@script_author.user_id = current_user.id
|
36
36
|
@script_author.user_name = current_user.username
|
37
|
-
@script_author.membership_id =
|
38
|
-
@script_author.oganization_id =
|
37
|
+
@script_author.membership_id = authrocket_membership_info.id
|
38
|
+
@script_author.oganization_id = authrocket_membership_info.org_id
|
39
39
|
if @script_author.save
|
40
40
|
redirect_to script_authors_url, notice: 'Author was successfully created.'
|
41
41
|
else
|
@@ -47,8 +47,8 @@ module Phcscriptcdnpro
|
|
47
47
|
def update
|
48
48
|
@script_author.user_id = current_user.id
|
49
49
|
@script_author.user_name = current_user.username
|
50
|
-
@script_author.membership_id =
|
51
|
-
@script_author.oganization_id =
|
50
|
+
@script_author.membership_id = authrocket_membership_info.id
|
51
|
+
@script_author.oganization_id = authrocket_membership_info.org_id
|
52
52
|
if @script_author.update(script_author_params)
|
53
53
|
redirect_to script_authors_url, notice: 'Author was successfully updated.'
|
54
54
|
else
|
@@ -11,7 +11,7 @@ module Phcscriptcdnpro
|
|
11
11
|
|
12
12
|
# INDEX - Script Extension
|
13
13
|
def index
|
14
|
-
@script_extensions = Script::Extension.where(oganization_id:
|
14
|
+
@script_extensions = Script::Extension.where(oganization_id: authrocket_membership_info.org_id)
|
15
15
|
end
|
16
16
|
|
17
17
|
# DETAILS - Script Extension
|
@@ -34,8 +34,8 @@ module Phcscriptcdnpro
|
|
34
34
|
@script_extension = Script::Extension.new(script_extension_params)
|
35
35
|
@script_extension.user_id = current_user.id
|
36
36
|
@script_extension.user_name = current_user.username
|
37
|
-
@script_extension.membership_id =
|
38
|
-
@script_extension.oganization_id =
|
37
|
+
@script_extension.membership_id = authrocket_membership_info.id
|
38
|
+
@script_extension.oganization_id = authrocket_membership_info.org_id
|
39
39
|
if @script_extension.save
|
40
40
|
redirect_to script_extensions_url, notice: 'Extension was successfully created.'
|
41
41
|
else
|
@@ -47,8 +47,8 @@ module Phcscriptcdnpro
|
|
47
47
|
def update
|
48
48
|
@script_extension.user_id = current_user.id
|
49
49
|
@script_extension.user_name = current_user.username
|
50
|
-
@script_extension.membership_id =
|
51
|
-
@script_extension.oganization_id =
|
50
|
+
@script_extension.membership_id = authrocket_membership_info.id
|
51
|
+
@script_extension.oganization_id = authrocket_membership_info.org_id
|
52
52
|
if @script_extension.update(script_extension_params)
|
53
53
|
redirect_to script_extensions_url, notice: 'Extension was successfully updated.'
|
54
54
|
else
|
@@ -11,7 +11,7 @@ module Phcscriptcdnpro
|
|
11
11
|
|
12
12
|
# INDEX - Script Licences
|
13
13
|
def index
|
14
|
-
@script_licences = Script::Licence.where(oganization_id:
|
14
|
+
@script_licences = Script::Licence.where(oganization_id: authrocket_membership_info.org_id)
|
15
15
|
end
|
16
16
|
|
17
17
|
# DETAILS - Script Licences
|
@@ -34,8 +34,8 @@ module Phcscriptcdnpro
|
|
34
34
|
@script_licence = Script::Licence.new(script_licence_params)
|
35
35
|
@script_licence.user_id = current_user.id
|
36
36
|
@script_licence.user_name = current_user.username
|
37
|
-
@script_licence.membership_id =
|
38
|
-
@script_licence.oganization_id =
|
37
|
+
@script_licence.membership_id = authrocket_membership_info.id
|
38
|
+
@script_licence.oganization_id = authrocket_membership_info.org_id
|
39
39
|
if @script_licence.save
|
40
40
|
redirect_to script_licences_url, notice: 'Licence was successfully created.'
|
41
41
|
else
|
@@ -47,8 +47,8 @@ module Phcscriptcdnpro
|
|
47
47
|
def update
|
48
48
|
@script_licence.user_id = current_user.id
|
49
49
|
@script_licence.user_name = current_user.username
|
50
|
-
@script_licence.membership_id =
|
51
|
-
@script_licence.oganization_id =
|
50
|
+
@script_licence.membership_id = authrocket_membership_info.id
|
51
|
+
@script_licence.oganization_id = authrocket_membership_info.org_id
|
52
52
|
if @script_licence.update(script_licence_params)
|
53
53
|
redirect_to script_licences_url, notice: 'Licence was successfully updated.'
|
54
54
|
else
|
@@ -11,7 +11,7 @@ module Phcscriptcdnpro
|
|
11
11
|
|
12
12
|
# INDEX - Script Listings
|
13
13
|
def index
|
14
|
-
@script_listings = Script::Listing.where(oganization_id:
|
14
|
+
@script_listings = Script::Listing.where(oganization_id: authrocket_membership_info.org_id)
|
15
15
|
end
|
16
16
|
|
17
17
|
# DETAILS - Script Listings
|
@@ -34,8 +34,8 @@ module Phcscriptcdnpro
|
|
34
34
|
@script_listing = Script::Listing.new(script_listing_params)
|
35
35
|
@script_listing.user_id = current_user.id
|
36
36
|
@script_listing.user_name = current_user.username
|
37
|
-
@script_listing.membership_id =
|
38
|
-
@script_listing.oganization_id =
|
37
|
+
@script_listing.membership_id = authrocket_membership_info.id
|
38
|
+
@script_listing.oganization_id = authrocket_membership_info.org_id
|
39
39
|
if @script_listing.save
|
40
40
|
redirect_to script_listings_path, notice: 'Listing was successfully created.'
|
41
41
|
else
|
@@ -47,8 +47,8 @@ module Phcscriptcdnpro
|
|
47
47
|
def update
|
48
48
|
@script_listing.user_id = current_user.id
|
49
49
|
@script_listing.user_name = current_user.username
|
50
|
-
@script_listing.membership_id =
|
51
|
-
@script_listing.oganization_id =
|
50
|
+
@script_listing.membership_id = authrocket_membership_info.id
|
51
|
+
@script_listing.oganization_id = authrocket_membership_info.org_id
|
52
52
|
if @script_listing.update(script_listing_params)
|
53
53
|
redirect_to script_listings_path, notice: 'Listing was successfully updated.'
|
54
54
|
else
|
@@ -39,8 +39,8 @@ module Phcscriptcdnpro
|
|
39
39
|
@script_url = @script_listing.urls.create(script_url_params)
|
40
40
|
@script_url.user_id = current_user.id
|
41
41
|
@script_url.user_name = current_user.username
|
42
|
-
@script_url.membership_id =
|
43
|
-
@script_url.oganization_id =
|
42
|
+
@script_url.membership_id = authrocket_membership_info.id
|
43
|
+
@script_url.oganization_id = authrocket_membership_info.org_id
|
44
44
|
if @script_url.save
|
45
45
|
redirect_to script_listing_urls_path, notice: 'Author was successfully created.'
|
46
46
|
else
|
@@ -52,8 +52,8 @@ module Phcscriptcdnpro
|
|
52
52
|
def update
|
53
53
|
@script_url.user_id = current_user.id
|
54
54
|
@script_url.user_name = current_user.username
|
55
|
-
@script_url.membership_id =
|
56
|
-
@script_url.oganization_id =
|
55
|
+
@script_url.membership_id = authrocket_membership_info.id
|
56
|
+
@script_url.oganization_id = authrocket_membership_info.org_id
|
57
57
|
if @script_url.update(script_url_params)
|
58
58
|
redirect_to script_listing_urls_path, notice: 'Author was successfully updated.'
|
59
59
|
else
|
@@ -11,7 +11,7 @@ module Phcscriptcdnpro
|
|
11
11
|
|
12
12
|
# INDEX - Script Versions
|
13
13
|
def index
|
14
|
-
@script_versions = Script::Version.where(oganization_id:
|
14
|
+
@script_versions = Script::Version.where(oganization_id: authrocket_membership_info.org_id)
|
15
15
|
end
|
16
16
|
|
17
17
|
# DETAILS - Script Versions
|
@@ -34,8 +34,8 @@ module Phcscriptcdnpro
|
|
34
34
|
@script_version = Script::Version.new(script_version_params)
|
35
35
|
@script_version.user_id = current_user.id
|
36
36
|
@script_version.user_name = current_user.username
|
37
|
-
@script_version.membership_id =
|
38
|
-
@script_version.oganization_id =
|
37
|
+
@script_version.membership_id = authrocket_membership_info.id
|
38
|
+
@script_version.oganization_id = authrocket_membership_info.org_id
|
39
39
|
if @script_version.save
|
40
40
|
redirect_to script_versions_url, notice: 'Version was successfully created.'
|
41
41
|
else
|
@@ -47,8 +47,8 @@ module Phcscriptcdnpro
|
|
47
47
|
def update
|
48
48
|
@script_version.user_id = current_user.id
|
49
49
|
@script_version.user_name = current_user.username
|
50
|
-
@script_version.membership_id =
|
51
|
-
@script_version.oganization_id =
|
50
|
+
@script_version.membership_id = authrocket_membership_info.id
|
51
|
+
@script_version.oganization_id = authrocket_membership_info.org_id
|
52
52
|
if @script_version.update(script_version_params)
|
53
53
|
redirect_to script_versions_url, notice: 'Version was successfully updated.'
|
54
54
|
else
|
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: 11.
|
4
|
+
version: 11.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
@@ -90,20 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '12.
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 12.2.1
|
93
|
+
version: '12.3'
|
97
94
|
type: :runtime
|
98
95
|
prerelease: false
|
99
96
|
version_requirements: !ruby/object:Gem::Requirement
|
100
97
|
requirements:
|
101
98
|
- - "~>"
|
102
99
|
- !ruby/object:Gem::Version
|
103
|
-
version: '12.
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 12.2.1
|
100
|
+
version: '12.3'
|
107
101
|
- !ruby/object:Gem::Dependency
|
108
102
|
name: jquery-rails
|
109
103
|
requirement: !ruby/object:Gem::Requirement
|