phcscriptcdn 4.3.10 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/views/layouts/phcscriptcdn/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/phcscriptcdn/script/authors/_form.html.erb +8 -7
- data/app/views/phcscriptcdn/script/authors/edit.html.erb +2 -1
- data/app/views/phcscriptcdn/script/authors/index.html.erb +31 -25
- data/app/views/phcscriptcdn/script/authors/new.html.erb +2 -1
- data/app/views/phcscriptcdn/script/authors/show.html.erb +2 -0
- data/app/views/phcscriptcdn/script/extensions/_form.html.erb +9 -8
- data/app/views/phcscriptcdn/script/extensions/edit.html.erb +2 -1
- data/app/views/phcscriptcdn/script/extensions/index.html.erb +25 -19
- data/app/views/phcscriptcdn/script/extensions/show.html.erb +2 -0
- data/app/views/phcscriptcdn/script/licences/edit.html.erb +2 -1
- data/app/views/phcscriptcdn/script/licences/index.html.erb +34 -26
- data/app/views/phcscriptcdn/script/licences/new.html.erb +2 -1
- data/app/views/phcscriptcdn/script/licences/show.html.erb +2 -0
- data/app/views/phcscriptcdn/script/listings/_form.html.erb +9 -8
- data/app/views/phcscriptcdn/script/listings/edit.html.erb +2 -1
- data/app/views/phcscriptcdn/script/listings/index.html.erb +28 -20
- data/app/views/phcscriptcdn/script/listings/new.html.erb +2 -1
- data/app/views/phcscriptcdn/script/listings/show.html.erb +2 -0
- data/app/views/phcscriptcdn/script/urls/_form.html.erb +8 -7
- data/app/views/phcscriptcdn/script/urls/edit.html.erb +3 -2
- data/app/views/phcscriptcdn/script/urls/index.html.erb +26 -18
- data/app/views/phcscriptcdn/script/urls/new.html.erb +2 -1
- data/app/views/phcscriptcdn/script/urls/show.html.erb +2 -1
- data/app/views/phcscriptcdn/script/versions/_form.html.erb +8 -7
- data/app/views/phcscriptcdn/script/versions/edit.html.erb +2 -1
- data/app/views/phcscriptcdn/script/versions/index.html.erb +22 -14
- data/app/views/phcscriptcdn/script/versions/new.html.erb +2 -1
- data/app/views/phcscriptcdn/script/versions/show.html.erb +2 -0
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +13 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a5b03c59efe6888e7d23e723462896f1589d110
|
4
|
+
data.tar.gz: 58856a0821e74fede991383b1f1c182e268938bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3120ff1fef0d9ca429210d4e7633f83ef456cda226d706604e0f20cbe851d4053bc9e7abefc507491a804e512363ae841f1d49fa59acb7402b15385af9496eea
|
7
|
+
data.tar.gz: 1ff6579b595ad6128cf02d9b3dd7bcbae5a94e9d9135cda12f0072a96511a14371fec48c1ecc0588cee57a3e220f9559ce2a21c4d9dbff8e9bd113438bf8fef9
|
data/README.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/phcscriptcdn.svg)](https://badge.fury.io/rb/phcscriptcdn)
|
5
5
|
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/PHCNetworks/phc-scriptcdn/blob/master/MIT-LICENSE)
|
6
6
|
|
7
|
-
### PHCScriptCDN(
|
8
|
-
PHCScriptCDN(
|
7
|
+
### PHCScriptCDN(5) (Script Listing Engine) Documentation
|
8
|
+
PHCScriptCDN(5) rails script management engine for website script CDN listings.
|
9
9
|
|
10
10
|
* Manage script CDN listings for websites.
|
11
11
|
* Main script title and description.
|
@@ -13,7 +13,7 @@ PHCScriptCDN(4) rails script management engine for website script CDN listings.
|
|
13
13
|
|
14
14
|
#### Step 1 - Add PHCScriptCDN to your gemfile and run command
|
15
15
|
|
16
|
-
gem 'phcscriptcdn', '~>
|
16
|
+
gem 'phcscriptcdn', '~> 5.0'
|
17
17
|
bundle install
|
18
18
|
|
19
19
|
#### Step 2 - Copy PHCScriptCDN Database Tables
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="pull-right hidden-xs">
|
2
|
-
<b>Version</b>
|
2
|
+
<b>Version</b> 5.0.0 - MAR-17-<%= Date.today.year %>
|
3
3
|
</div>
|
4
4
|
<strong>© 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
|
@@ -1,9 +1,10 @@
|
|
1
1
|
<%= form_for(script_author) do |f| %>
|
2
2
|
|
3
|
-
<!--
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_author %>
|
5
|
-
|
6
|
-
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
7
8
|
<div class="form-group field_with_error">
|
8
9
|
<%= f.label :authorfirstname, "Author First Name" %>
|
9
10
|
<%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
|
@@ -24,12 +25,12 @@
|
|
24
25
|
<%= f.label :authortwitter, "Author Twitter Addresss" %>
|
25
26
|
<%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
|
26
27
|
</div>
|
27
|
-
<!-- Form
|
28
|
-
|
29
|
-
<!-- Form
|
28
|
+
<!-- Form Fields -->
|
29
|
+
|
30
|
+
<!-- Form Button -->
|
30
31
|
<div class="actions">
|
31
32
|
<%= f.submit class: "btn btn-primary" %>
|
32
33
|
</div>
|
33
|
-
<!--
|
34
|
+
<!-- Form Button -->
|
34
35
|
|
35
36
|
<% end %>
|
@@ -26,36 +26,42 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
<!-- Table
|
30
|
-
<
|
31
|
-
<
|
32
|
-
<
|
33
|
-
<th>First Name</th>
|
34
|
-
<th>Last Name</th>
|
35
|
-
<th>Website</th>
|
36
|
-
<th>Github</th>
|
37
|
-
<th>Twitter</th>
|
38
|
-
</tr>
|
39
|
-
</thead>
|
40
|
-
<tbody>
|
41
|
-
<% @script_authors.each do |script_author| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
42
33
|
<tr>
|
43
|
-
<
|
44
|
-
<
|
45
|
-
<
|
46
|
-
<
|
47
|
-
<
|
34
|
+
<th>First Name</th>
|
35
|
+
<th>Last Name</th>
|
36
|
+
<th>Website</th>
|
37
|
+
<th>Github</th>
|
38
|
+
<th>Twitter</th>
|
48
39
|
</tr>
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
40
|
+
</thead>
|
41
|
+
<tbody>
|
42
|
+
<% @script_authors.each do |script_author| %>
|
43
|
+
<tr>
|
44
|
+
<td><%= link_to script_author.authorfirstname, script_author %></td>
|
45
|
+
<td><%= link_to script_author.authorlastname, script_author %></td>
|
46
|
+
<td><%= link_to script_author.authorwebsite, script_author %></td>
|
47
|
+
<td><%= link_to script_author.authorgithub, script_author %></td>
|
48
|
+
<td><%= link_to script_author.authortwitter, script_author %></td>
|
49
|
+
</tr>
|
50
|
+
<% end %>
|
51
|
+
</tbody>
|
52
|
+
</table>
|
53
|
+
</div>
|
54
|
+
<!-- Index Table -->
|
55
|
+
|
56
|
+
<!-- Panel Footer -->
|
57
|
+
<div class="box-footer clearfix">
|
58
|
+
<%= link_to 'New Script Author', new_script_author_path, class: "btn btn-primary" %>
|
59
|
+
</div>
|
60
|
+
<!-- Panel Footer -->
|
55
61
|
|
56
62
|
</div>
|
57
63
|
</div>
|
58
64
|
</div>
|
59
65
|
</div>
|
60
66
|
</section>
|
61
|
-
<!-- Main Content -->
|
67
|
+
<!-- Main Content -->
|
@@ -27,10 +27,12 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Show Content -->
|
30
31
|
<div class="btn-group" role="group" aria-label="author_button_group">
|
31
32
|
<%= link_to 'Edit', edit_script_listing_author_path(@script_author), class: "btn btn-primary" %>
|
32
33
|
<%= link_to 'Destroy', script_listing_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
34
|
</div>
|
35
|
+
<!-- Show Content -->
|
34
36
|
|
35
37
|
</div>
|
36
38
|
</div>
|
@@ -1,9 +1,10 @@
|
|
1
1
|
<%= form_for(script_extension) do |f| %>
|
2
2
|
|
3
|
-
<!--
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_extension %>
|
5
|
-
|
6
|
-
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
7
8
|
<div class="form-group field_with_error">
|
8
9
|
<%= f.label :scriptextensionname, "Extension Name" %>
|
9
10
|
<%= f.text_field :scriptextensionname, placeholder: "Extension Name", class: "form-control" %>
|
@@ -16,12 +17,12 @@
|
|
16
17
|
<%= f.label :scriptextension, "Script Extension" %>
|
17
18
|
<%= f.text_field :scriptextension, placeholder: "Script Extension (.js/.css)", class: "form-control" %>
|
18
19
|
</div>
|
19
|
-
<!-- Form
|
20
|
-
|
21
|
-
<!-- Form
|
20
|
+
<!-- Form Fields -->
|
21
|
+
|
22
|
+
<!-- Form Button -->
|
22
23
|
<div class="actions">
|
23
24
|
<%= f.submit class: "btn btn-primary" %>
|
24
25
|
</div>
|
25
|
-
<!--
|
26
|
+
<!-- Form Button -->
|
26
27
|
|
27
|
-
<% end %>
|
28
|
+
<% end %>
|
@@ -26,30 +26,36 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
<!-- Table
|
30
|
-
<
|
31
|
-
<
|
32
|
-
<
|
33
|
-
<th>Script Extension Name</th>
|
34
|
-
<th>Script Extension</th>
|
35
|
-
</tr>
|
36
|
-
</thead>
|
37
|
-
<tbody>
|
38
|
-
<% @script_extensions.each do |script_extension| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
39
33
|
<tr>
|
40
|
-
<
|
41
|
-
<
|
34
|
+
<th>Script Extension Name</th>
|
35
|
+
<th>Script Extension</th>
|
42
36
|
</tr>
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
37
|
+
</thead>
|
38
|
+
<tbody>
|
39
|
+
<% @script_extensions.each do |script_extension| %>
|
40
|
+
<tr>
|
41
|
+
<td><%= link_to script_extension.scriptextensionname, script_extension %></td>
|
42
|
+
<td><%= link_to script_extension.scriptextension, script_extension %></td>
|
43
|
+
</tr>
|
44
|
+
<% end %>
|
45
|
+
</tbody>
|
46
|
+
</table>
|
47
|
+
</div>
|
48
|
+
<!-- Index Table -->
|
49
|
+
|
50
|
+
<!-- Panel Footer -->
|
51
|
+
<div class="box-footer clearfix">
|
52
|
+
<%= link_to 'New Script Extension', new_script_extension_path, class: "btn btn-primary" %>
|
53
|
+
</div>
|
54
|
+
<!-- Panel Footer -->
|
49
55
|
|
50
56
|
</div>
|
51
57
|
</div>
|
52
58
|
</div>
|
53
59
|
</div>
|
54
60
|
</section>
|
55
|
-
<!-- Main Content -->
|
61
|
+
<!-- Main Content -->
|
@@ -27,10 +27,12 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Show Content -->
|
30
31
|
<div class="btn-group" role="group" aria-label="extension_button_group">
|
31
32
|
<%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
|
32
33
|
<%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
34
|
</div>
|
35
|
+
<!-- Show Content -->
|
34
36
|
|
35
37
|
</div>
|
36
38
|
</div>
|
@@ -26,34 +26,42 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
<th>GPLv3 Compatible</th>
|
34
|
-
<th>FSF Approval</th>
|
35
|
-
<th>OSI Approval</th>
|
36
|
-
<th>CopyFree Approval</th>
|
37
|
-
<th>Debian Approval</th>
|
38
|
-
<th>Fedora Approval</th>
|
39
|
-
</tr>
|
40
|
-
</thead>
|
41
|
-
<tbody>
|
42
|
-
<% @script_licences.each do |script_licence| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
43
33
|
<tr>
|
44
|
-
<
|
45
|
-
<
|
46
|
-
<
|
47
|
-
<
|
48
|
-
<
|
49
|
-
<
|
50
|
-
<
|
34
|
+
<th>Licence Name</th>
|
35
|
+
<th>GPLv3 Compatible</th>
|
36
|
+
<th>FSF Approval</th>
|
37
|
+
<th>OSI Approval</th>
|
38
|
+
<th>CopyFree Approval</th>
|
39
|
+
<th>Debian Approval</th>
|
40
|
+
<th>Fedora Approval</th>
|
51
41
|
</tr>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
42
|
+
</thead>
|
43
|
+
<tbody>
|
44
|
+
<% @script_licences.each do |script_licence| %>
|
45
|
+
<tr>
|
46
|
+
<td><%= link_to script_licence.lcncname, script_licence %></td>
|
47
|
+
<td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
|
48
|
+
<td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
|
49
|
+
<td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
|
50
|
+
<td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
|
51
|
+
<td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
|
52
|
+
<td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
|
53
|
+
</tr>
|
54
|
+
<% end %>
|
55
|
+
</tbody>
|
56
|
+
</table>
|
57
|
+
</div>
|
58
|
+
<!-- Index Table -->
|
59
|
+
|
60
|
+
<!-- Panel Footer -->
|
61
|
+
<div class="box-footer clearfix">
|
62
|
+
<%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %>
|
63
|
+
</div>
|
64
|
+
<!-- Panel Footer -->
|
57
65
|
|
58
66
|
</div>
|
59
67
|
</div>
|
@@ -27,10 +27,12 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Show Content -->
|
30
31
|
<div class="btn-group" role="group" aria-label="licence_button_group">
|
31
32
|
<%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
|
32
33
|
<%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
34
|
</div>
|
35
|
+
<!-- Show Content -->
|
34
36
|
|
35
37
|
</div>
|
36
38
|
</div>
|
@@ -1,9 +1,10 @@
|
|
1
1
|
<%= form_for(script_listing) do |f| %>
|
2
2
|
|
3
|
-
<!--
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_listing %>
|
5
|
-
|
6
|
-
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
7
8
|
<div class="form-group field_with_error">
|
8
9
|
<%= f.label :scripttitle, "Script Title" %>
|
9
10
|
<%= f.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
|
@@ -56,12 +57,12 @@
|
|
56
57
|
<%= f.label :scriptstatus, "Script Status" %>
|
57
58
|
<%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
|
58
59
|
</div>
|
59
|
-
<!-- Form
|
60
|
-
|
61
|
-
<!-- Form
|
62
|
-
<div class="
|
60
|
+
<!-- Form Fields -->
|
61
|
+
|
62
|
+
<!-- Form Button -->
|
63
|
+
<div class="actions">
|
63
64
|
<%= f.submit class: "btn btn-primary" %>
|
64
65
|
</div>
|
65
|
-
<!--
|
66
|
+
<!-- Form Button -->
|
66
67
|
|
67
68
|
<% end %>
|
@@ -26,28 +26,36 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
<th>Release Date</th>
|
34
|
-
<th>Latest Release Date</th>
|
35
|
-
<th>Beta Release Date</th>
|
36
|
-
</tr>
|
37
|
-
</thead>
|
38
|
-
<tbody>
|
39
|
-
<% @script_listings.each do |script_listing| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
40
33
|
<tr>
|
41
|
-
<
|
42
|
-
<
|
43
|
-
<
|
44
|
-
<
|
34
|
+
<th>Title</th>
|
35
|
+
<th>Release Date</th>
|
36
|
+
<th>Latest Release Date</th>
|
37
|
+
<th>Beta Release Date</th>
|
45
38
|
</tr>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
39
|
+
</thead>
|
40
|
+
<tbody>
|
41
|
+
<% @script_listings.each do |script_listing| %>
|
42
|
+
<tr>
|
43
|
+
<td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
|
44
|
+
<td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
|
45
|
+
<td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td>
|
46
|
+
<td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td>
|
47
|
+
</tr>
|
48
|
+
<% end %>
|
49
|
+
</tbody>
|
50
|
+
</table>
|
51
|
+
</div>
|
52
|
+
<!-- Index Table -->
|
53
|
+
|
54
|
+
<!-- Panel Footer -->
|
55
|
+
<div class="box-footer clearfix">
|
56
|
+
<%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %>
|
57
|
+
</div>
|
58
|
+
<!-- Panel Footer -->
|
51
59
|
|
52
60
|
</div>
|
53
61
|
</div>
|
@@ -1,9 +1,10 @@
|
|
1
1
|
<%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
|
2
2
|
|
3
|
-
<!--
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_url %>
|
5
|
-
|
6
|
-
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
7
8
|
<div class="form-group field_with_error">
|
8
9
|
<%= f.label :scripturl, "Script URL" %>
|
9
10
|
<%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
|
@@ -24,12 +25,12 @@
|
|
24
25
|
<label>Script Extensions</label>
|
25
26
|
<%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
|
26
27
|
</div>
|
27
|
-
<!-- Form
|
28
|
-
|
29
|
-
<!-- Form
|
28
|
+
<!-- Form Fields -->
|
29
|
+
|
30
|
+
<!-- Form Button -->
|
30
31
|
<div class="actions">
|
31
32
|
<%= f.submit class: "btn btn-primary" %>
|
32
33
|
</div>
|
33
|
-
<!--
|
34
|
+
<!-- Form Button -->
|
34
35
|
|
35
36
|
<% end %>
|
@@ -27,12 +27,13 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
-
<!-- Form
|
30
|
+
<!-- Page Form (Edit) -->
|
31
31
|
<%= render 'form', { form_url: script_listing_url_path } %>
|
32
|
+
<!-- Page Form (Edit) -->
|
32
33
|
|
33
34
|
</div>
|
34
35
|
</div>
|
35
36
|
</div>
|
36
37
|
</div>
|
37
38
|
</section>
|
38
|
-
<!-- Main Content -->
|
39
|
+
<!-- Main Content -->
|
@@ -26,26 +26,34 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
<th>Release Date</th>
|
34
|
-
<th>CDN Update Date</th>
|
35
|
-
</tr>
|
36
|
-
</thead>
|
37
|
-
<tbody>
|
38
|
-
<% @script_urls.each do |script_url| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
39
33
|
<tr>
|
40
|
-
<
|
41
|
-
<
|
42
|
-
<
|
34
|
+
<th>Script URL</th>
|
35
|
+
<th>Release Date</th>
|
36
|
+
<th>CDN Update Date</th>
|
43
37
|
</tr>
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
38
|
+
</thead>
|
39
|
+
<tbody>
|
40
|
+
<% @script_urls.each do |script_url| %>
|
41
|
+
<tr>
|
42
|
+
<td><%= link_to script_url.scripturl, script_listing_url_path(script_url.listing, script_url) %></td>
|
43
|
+
<td><%= link_to script_url.scripturlrelease, script_listing_url_path(script_url.listing, script_url) %></td>
|
44
|
+
<td><%= link_to script_url.scripturlcdnupdate, script_listing_url_path(script_url.listing, script_url) %></td>
|
45
|
+
</tr>
|
46
|
+
<% end %>
|
47
|
+
</tbody>
|
48
|
+
</table>
|
49
|
+
</div>
|
50
|
+
<!-- Index Table -->
|
51
|
+
|
52
|
+
<!-- Panel Footer -->
|
53
|
+
<div class="box-footer clearfix">
|
54
|
+
<%= link_to 'New Script Url', new_script_listing_url_path, class: "btn btn-primary" %>
|
55
|
+
</div>
|
56
|
+
<!-- Panel Footer -->
|
49
57
|
|
50
58
|
</div>
|
51
59
|
</div>
|
@@ -27,10 +27,11 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Show Content -->
|
30
31
|
<div class="btn-group" role="group" aria-label="url_button_group">
|
31
32
|
<%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
|
32
33
|
<%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
|
-
|
34
|
+
<!-- Show Content -->
|
34
35
|
|
35
36
|
</div>
|
36
37
|
</div>
|
@@ -1,19 +1,20 @@
|
|
1
1
|
<%= form_for(script_version) do |f| %>
|
2
2
|
|
3
|
-
<!--
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_version %>
|
5
|
-
|
6
|
-
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
7
8
|
<div class="form-group field_with_error">
|
8
9
|
<%= f.label :scriptversion, "Version Number" %>
|
9
10
|
<%= f.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %>
|
10
11
|
</div>
|
11
|
-
<!-- Form
|
12
|
-
|
13
|
-
<!-- Form
|
12
|
+
<!-- Form Fields -->
|
13
|
+
|
14
|
+
<!-- Form Button -->
|
14
15
|
<div class="actions">
|
15
16
|
<%= f.submit class: "btn btn-primary" %>
|
16
17
|
</div>
|
17
|
-
<!--
|
18
|
+
<!-- Form Button -->
|
18
19
|
|
19
20
|
<% end %>
|
@@ -26,22 +26,30 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
</tr>
|
34
|
-
</thead>
|
35
|
-
<tbody>
|
36
|
-
<% @script_versions.each do |script_version| %>
|
29
|
+
<!-- Index Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-bordered table-striped table-hover">
|
32
|
+
<thead>
|
37
33
|
<tr>
|
38
|
-
<
|
34
|
+
<th>Script Version</th>
|
39
35
|
</tr>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
36
|
+
</thead>
|
37
|
+
<tbody>
|
38
|
+
<% @script_versions.each do |script_version| %>
|
39
|
+
<tr>
|
40
|
+
<td><%= link_to script_version.scriptversion, script_version %></td>
|
41
|
+
</tr>
|
42
|
+
<% end %>
|
43
|
+
</tbody>
|
44
|
+
</table>
|
45
|
+
</div>
|
46
|
+
<!-- Index Table -->
|
47
|
+
|
48
|
+
<!-- Panel Footer -->
|
49
|
+
<div class="box-footer clearfix">
|
50
|
+
<%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %>
|
51
|
+
</div>
|
52
|
+
<!-- Panel Footer -->
|
45
53
|
|
46
54
|
</div>
|
47
55
|
</div>
|
@@ -27,10 +27,12 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Show Content -->
|
30
31
|
<div class="btn-group" role="group" aria-label="version_button_group">
|
31
32
|
<%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
|
32
33
|
<%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
34
|
</div>
|
35
|
+
<!-- Show Content -->
|
34
36
|
|
35
37
|
</div>
|
36
38
|
</div>
|
data/lib/phcscriptcdn/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.20.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.20.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: paper_trail
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,60 +70,42 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 1.7.2
|
73
|
+
version: '2.0'
|
77
74
|
type: :runtime
|
78
75
|
prerelease: false
|
79
76
|
version_requirements: !ruby/object:Gem::Requirement
|
80
77
|
requirements:
|
81
78
|
- - "~>"
|
82
79
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 1.7.2
|
80
|
+
version: '2.0'
|
87
81
|
- !ruby/object:Gem::Dependency
|
88
82
|
name: phctitleseo
|
89
83
|
requirement: !ruby/object:Gem::Requirement
|
90
84
|
requirements:
|
91
85
|
- - "~>"
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 4.3.1
|
87
|
+
version: '5.0'
|
97
88
|
type: :runtime
|
98
89
|
prerelease: false
|
99
90
|
version_requirements: !ruby/object:Gem::Requirement
|
100
91
|
requirements:
|
101
92
|
- - "~>"
|
102
93
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 4.3.1
|
94
|
+
version: '5.0'
|
107
95
|
- !ruby/object:Gem::Dependency
|
108
96
|
name: phcnotifi
|
109
97
|
requirement: !ruby/object:Gem::Requirement
|
110
98
|
requirements:
|
111
99
|
- - "~>"
|
112
100
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 3.9.1
|
101
|
+
version: '4.0'
|
117
102
|
type: :runtime
|
118
103
|
prerelease: false
|
119
104
|
version_requirements: !ruby/object:Gem::Requirement
|
120
105
|
requirements:
|
121
106
|
- - "~>"
|
122
107
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: 3.9.1
|
108
|
+
version: '4.0'
|
127
109
|
- !ruby/object:Gem::Dependency
|
128
110
|
name: jquery-rails
|
129
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,7 +249,7 @@ dependencies:
|
|
267
249
|
version: '2.18'
|
268
250
|
- - ">="
|
269
251
|
- !ruby/object:Gem::Version
|
270
|
-
version: 2.18.
|
252
|
+
version: 2.18.3
|
271
253
|
type: :runtime
|
272
254
|
prerelease: false
|
273
255
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -277,7 +259,7 @@ dependencies:
|
|
277
259
|
version: '2.18'
|
278
260
|
- - ">="
|
279
261
|
- !ruby/object:Gem::Version
|
280
|
-
version: 2.18.
|
262
|
+
version: 2.18.3
|
281
263
|
- !ruby/object:Gem::Dependency
|
282
264
|
name: rabl
|
283
265
|
requirement: !ruby/object:Gem::Requirement
|
@@ -542,7 +524,7 @@ dependencies:
|
|
542
524
|
- - "~>"
|
543
525
|
- !ruby/object:Gem::Version
|
544
526
|
version: '3.3'
|
545
|
-
description: PHCScriptCDN(
|
527
|
+
description: PHCScriptCDN(5) rails script management engine for website script CDN
|
546
528
|
listings.
|
547
529
|
email:
|
548
530
|
- info@phcnetworks.net
|
@@ -643,5 +625,5 @@ rubyforge_project:
|
|
643
625
|
rubygems_version: 2.6.8
|
644
626
|
signing_key:
|
645
627
|
specification_version: 4
|
646
|
-
summary: PHCScriptCDN(
|
628
|
+
summary: PHCScriptCDN(5) - Rails Script CDN Engine
|
647
629
|
test_files: []
|