phcscriptcdnpro 1.4.4 → 1.5.0

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: 1953263639e969b8c3f8b1fdb8cb5364382a1d3d
4
- data.tar.gz: c4cd0c54d9d67e5974b5b55b33ce7df979a61c28
3
+ metadata.gz: 5c95ace6564e94ac3ba00186624a727e7a957a7f
4
+ data.tar.gz: dd3e37fed014f7416e81f487e65a2ea367d6bdcb
5
5
  SHA512:
6
- metadata.gz: 7d7cca3dc48d67c93226cdebc6395cf2b8de085c935f90934a4763a460fe31490361877043b2e88f0df8a64a11f98c04944312d5d2e1d86957f547c2c99ac962
7
- data.tar.gz: d83459de91b58d35ff274e7682962a86b5eb788feb2f5e685947841e1709110c6769a4c112fb0c2b0fa7607f8e149b4205df1c523da28141728a0e5dae6c11af
6
+ metadata.gz: 9c0e43c4765acc9107d382a3a396cd988e96b94665ca21c5c1b4cfa42eb531a7ed32e8b90a62a7b1a9474adf0a2ae30156b3cfa48c01a076f7c827416a9ad170
7
+ data.tar.gz: 35dce55638240062d0452e7752ae2431b7b3969499e56ffebb3b052bfc1bf17bb1bb9edeaeb8a63671d1bde0bf46427047b12ba1bf283a4770fd87e9ecb451b3
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Scripts" %>
3
- <% phc_title_tagline "New Script for CDN" %>
2
+ <% phc_title "Script - Author" %>
3
+ <% phc_title_tagline "Update Author Information" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Author", phcscriptcdnpro.scriptcdn_scripts_author_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Author", scriptcdn_mains_author_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Version" %>
3
- <% phc_title_tagline "New Script Version" %>
2
+ <% phc_title "Script - Author" %>
3
+ <% phc_title_tagline "New Script Author" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_script_scripturls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", scriptcdn_main_aauthors_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -23,8 +23,8 @@
23
23
  <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
24
24
  </div>
25
25
  <div class="actions">
26
- <%= link_to new_scriptcdn_scriptversion_scripturl_path, class: "btn blue-chambray" do %>
27
- <i class="fa fa-plus"></i> Add a New Script Url
26
+ <%= link_to new_scriptcdn_main_author_path, class: "btn blue-chambray" do %>
27
+ <i class="fa fa-plus"></i> Add a New Script Author
28
28
  <% end %>
29
29
  </div>
30
30
  </div>
@@ -54,4 +54,4 @@
54
54
  </div>
55
55
 
56
56
  </div>
57
- </div>
57
+ </div>
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Scripts" %>
3
- <% phc_title_tagline "New Script for CDN" %>
2
+ <% phc_title "Script - Author" %>
3
+ <% phc_title_tagline "Add a Script Author" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Author", phcscriptcdnpro.scriptcdn_scripts_author_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Author", scriptcdn_mains_author_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Listing" %>
2
+ <% phc_title "Script CDN Listing" %>
3
3
  <% phc_title_tagline "Update Script Information" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Scripts Main", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script" %>
2
+ <% phc_title "Script CDN Listing" %>
3
3
  <% phc_title_tagline "Script CDN Index" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listing", scriptcdn_script_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Listing", scriptcdn_main_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -48,9 +48,9 @@
48
48
  <td>
49
49
  <div class="btn-group" role="group" aria-label="Script">
50
50
  <% if current_user %>
51
- <%= link_to 'Show', scriptcdn_script, class: "btn blue-chambray" %>
52
- <%= link_to 'Edit', edit_scriptcdn_script_path(scriptcdn_script), class: "btn blue-chambray" %>
53
- <%= link_to 'Destroy', scriptcdn_script, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
51
+ <%= link_to 'Show', scriptcdn_main, class: "btn blue-chambray" %>
52
+ <%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main), class: "btn blue-chambray" %>
53
+ <%= link_to 'Destroy', scriptcdn_main, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
54
54
  <% end %>
55
55
  </div>
56
56
  </td>
@@ -1,12 +1,12 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Listing" %>
3
- <% phc_title_tagline "Add New Script" %>
2
+ <% phc_title "Script CDN Listing" %>
3
+ <% phc_title_tagline "Add a New Script" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Scripts Main", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script URL List", phcscriptcdnpro.scriptcdn_script_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_script_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -23,7 +23,7 @@
23
23
  <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
24
24
  </div>
25
25
  <div class="actions">
26
- <%= link_to new_scriptcdn_main_path, class: "btn blue-chambray" do %>
26
+ <%= link_to new_scriptcdn_main_url_path, class: "btn blue-chambray" do %>
27
27
  <i class="fa fa-plus"></i> Add a New Script
28
28
  <% end %>
29
29
  </div>
@@ -42,9 +42,6 @@
42
42
  <% @scriptcdn_urls.each do |scriptcdn_url| %>
43
43
  <tr>
44
44
  <td><%= scriptcdn_url.scripturl %></td>
45
- <td><%= link_to 'Show', scriptcdn_url %></td>
46
- <td><%= link_to 'Edit', edit_scriptcdn_url_path(scriptcdn_url) %></td>
47
- <td><%= link_to 'Destroy', scriptcdn_url, method: :delete, data: { confirm: 'Are you sure?' } %></td>
48
45
  </tr>
49
46
  <% end %>
50
47
  </tbody>
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script URL List", phcscriptcdnpro.scriptcdn_script_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_scriptversions_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -43,7 +43,7 @@
43
43
  <tr>
44
44
  <td><%= scriptcdn_version.scrptversion %></td>
45
45
  <td>
46
- <%= link_to 'Edit', edit_scriptcdn_version_path(scriptcdn_scriptversion), class: "btn blue-chambray" %>
46
+ <%= link_to 'Edit', edit_scriptcdn_version_path(scriptcdn_version), class: "btn blue-chambray" %>
47
47
  <%= link_to 'Destroy', scriptcdn_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
48
48
  </td>
49
49
  </tr>
data/config/routes.rb CHANGED
@@ -1,14 +1,5 @@
1
1
  Phcscriptcdnpro::Engine.routes.draw do
2
2
 
3
- namespace :scriptcdn do
4
- resources :versions
5
- end
6
- namespace :scriptcdn do
7
- resources :mains
8
- end
9
- namespace :scriptcdn do
10
- resources :urls
11
- end
12
3
  # CDN Frontend
13
4
  get 'frontend/cdnpages/list', :path => "script-cdn"
14
5
 
@@ -16,13 +7,13 @@ Phcscriptcdnpro::Engine.routes.draw do
16
7
  namespace :scriptcdn do
17
8
 
18
9
  # Main Script Module
19
- resources :scripts do
10
+ resources :mains do
20
11
  resources :authors
21
- resources :scripturls
12
+ resources :urls
22
13
  end
23
14
 
24
15
  # Script Versions
25
- resources :scriptversions
16
+ resources :versions
26
17
 
27
18
  end
28
19
 
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.4.4"
2
+ VERSION = "1.5.0"
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: 1.4.4
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts