phcscriptcdnpro 5.1.5 → 5.1.6

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: 132f1dd41bd55f02fd11955704a1573d6a7ff3c9
4
- data.tar.gz: 5f2061fbf09edec52f7c89115c785890f9abd5a7
3
+ metadata.gz: 4d87bfc2561d9a3b7eb8cc0fbad7e23dfadfb9bd
4
+ data.tar.gz: d2315891f7ca50d44f931942d5b4406860e2aa90
5
5
  SHA512:
6
- metadata.gz: e335d8bb58c9f1931e06f7ae99d237f068bbc2133224e8b26d6a63dc554ab4daa9320e9abf60116dc9b82b87a4ce28181bde7023d35b08a6ab89e467adaa3b8d
7
- data.tar.gz: 671c5c3522d1948cdfc6e82ef3bc2c3581746baf0ac244641899af6c5189c972e042ef45f9540bc0e6d1f8faa136462f73e921eb47a6a53a1ee509f0591866c9
6
+ metadata.gz: 273fcdc856c892cfbef65f313e0a3ce1043e12910ce68a9998b83dfcb76e2f0dcde3bcaa04ac833a1d8ac089d3096e2803231b95f046a3bbc8434bcfa437ccdc
7
+ data.tar.gz: 2ef8db004ad6dd666802df0500a7e11902e1cef1c67496042a9807511d9cda3f51308318029739d83d329c187e9f99adeabf0af34f0d73e0188568029b54c61f
@@ -7,7 +7,7 @@ module Phcscriptcdnpro
7
7
  has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
8
8
 
9
9
  # Attach to Author
10
- belongs_to :authors, class_name: 'Phcscriptcdnpro::Script::Author'
10
+ belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author'
11
11
 
12
12
  # Attach to Version
13
13
  belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'
@@ -54,20 +54,20 @@
54
54
  <li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %>">
55
55
  <a href=""><i class="fa fa-code"></i> <span class="nav-label">Script Listings</span> <span class="fa arrow"></span></a>
56
56
  <ul class="nav nav-second-level collapse">
57
- <li class=""><%= link_to "All Listings", phcscriptcdnpro.script_listings_path %></li>
57
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %> "><%= link_to "All Listings", phcscriptcdnpro.script_listings_path %></li>
58
58
  <li class=""><%= link_to "Add New Listing", phcscriptcdnpro.new_script_listing_path %></li>
59
59
  </ul>
60
60
  </li>
61
- <li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %> <%= is_active_controller('phcscriptcdnpro/script/authors') %> <%= is_active_controller('phcscriptcdnpro/script/licences') %> <%= is_active_controller('phcscriptcdnpro/script/extensions') %> <%= is_active_controller('phcscriptcdnpro/script/versions') %>">
61
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %> <%= is_active_controller('phcscriptcdnpro/script/licences') %> <%= is_active_controller('phcscriptcdnpro/script/extensions') %> <%= is_active_controller('phcscriptcdnpro/script/versions') %>">
62
62
  <a href=""><i class="fa fa-code"></i> <span class="nav-label">Script CDN Modules</span> <span class="fa arrow"></span></a>
63
63
  <ul class="nav nav-second-level collapse">
64
- <li class=""><%= link_to "All Authors", phcscriptcdnpro.script_authors_path %></li>
64
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %>"><%= link_to "All Authors", phcscriptcdnpro.script_authors_path %></li>
65
65
  <li class=""><%= link_to "Add New Author", phcscriptcdnpro.new_script_author_path %></li>
66
- <li class=""><%= link_to "All Licences", phcscriptcdnpro.script_licences_path %></li>
66
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/licences') %>"><%= link_to "All Licences", phcscriptcdnpro.script_licences_path %></li>
67
67
  <li class=""><%= link_to "Add New Licence", phcscriptcdnpro.new_script_licence_path %></li>
68
- <li class=""><%= link_to "All Licences", phcscriptcdnpro.script_extensions_path %></li>
69
- <li class=""><%= link_to "Add New Licence", phcscriptcdnpro.new_script_extension_path %></li>
70
- <li class=""><%= link_to "All Script Versions", phcscriptcdnpro.script_versions_path %></li>
68
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/extensions') %>"><%= link_to "All Extensions", phcscriptcdnpro.script_extensions_path %></li>
69
+ <li class=""><%= link_to "Add New Extension", phcscriptcdnpro.new_script_extension_path %></li>
70
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/versions') %> "><%= link_to "All Script Versions", phcscriptcdnpro.script_versions_path %></li>
71
71
  <li class=""><%= link_to "Add New Version", phcscriptcdnpro.new_script_version_path %></li>
72
72
  </ul>
73
73
  </li>
@@ -50,6 +50,7 @@
50
50
  <%= f.label :scriptstatus, "Script Status" %>
51
51
  <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control form-control"}) %>
52
52
  </div>
53
+
53
54
  <div class="form-group field_with_error">
54
55
  <%= f.submit class: "btn btn-primary" %>
55
56
  </div>
@@ -10,7 +10,6 @@ class CreatePhcscriptcdnproScriptListings < ActiveRecord::Migration[5.0]
10
10
  t.string :scripttwitter
11
11
  t.string :scriptgithub
12
12
 
13
-
14
13
  t.date :scriptinitialrelease
15
14
  t.date :scriptlastestrelease
16
15
  t.date :scriptbetarelease
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.1.5"
2
+ VERSION = "5.1.6"
3
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: 5.1.5
4
+ version: 5.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails