phcscriptcdnpro 5.7.0 → 5.7.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: 4c48dd5875d38d29b40bebb9ecc699df028fc133
4
- data.tar.gz: d5740dbece548b12d03d79519c4136bde8f88d4e
3
+ metadata.gz: dfb3dc32738e98f723393e88dceebcf15d69bc96
4
+ data.tar.gz: 8ea7a2ab74098029941d8ceb441ca49bcefd790a
5
5
  SHA512:
6
- metadata.gz: f224a9ea01696e42a48e2cccac1e16d63171de459a41c5d0fa88664441e5d4eac693b2d90716dc8617a14b5615c13dc7a2378a1ab30623fa478b524c6e33ea97
7
- data.tar.gz: 43278a565b2597d95e94e0b3515edd80fb7e49002f2e7e92b0fd8e5dfd4d361cc7a0cd026a154ced5d7126bf76f0de26bd9097db227f6538d4ebf5486cbc3f31
6
+ metadata.gz: 3618dd4077912fd6e12a59b579a0f6d8f9b29f23067d2526a9258e6233cd7b2dcbe837a1759a9f538a3e93d44f9adb19276fc3f95d5d4afd281f6543206e1094
7
+ data.tar.gz: 9d786015ac23bd21b1fd2612d0c6fb9b907e62c981d1e66fa65b0780cc6585d58bc2755a6d16f5e8986faceca543dd4db5ba9366fc599db6fb7839ec14fb81d0
@@ -3,7 +3,8 @@ module Phcscriptcdnpro
3
3
 
4
4
  # Relationships
5
5
 
6
- # URL (None Nested)
6
+ # URLs & Extensions (None Nested)
7
+ has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing', :through => :urls
7
8
  has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
8
9
 
9
10
  end
@@ -25,7 +25,7 @@
25
25
  </li>
26
26
  <li>
27
27
  <i class="fa fa-folder-open-o"></i>
28
- <% @script_listings_single.extensions.each do |script_listing_urls| %>
28
+ <% @script_listings_single.urls.extensions.each do |script_listing_urls| %>
29
29
  <%= link_to "#" do %>
30
30
  <span class="font-lato"><%= script_listing_urls.scriptextensionname %></span>
31
31
  <% end %>
@@ -41,18 +41,18 @@
41
41
  <div><%= @script_listings_single.scriptdescription.html_safe %></div>
42
42
 
43
43
  <div class="row">
44
- <div class="col-md-9 col-sm-9">
44
+ <div class="col-md-8 col-sm-8">
45
45
  <!-- Script Urls -->
46
46
  <% @script_listings_single.urls.each do |script_listing_urls| %>
47
47
  <div class="input-group">
48
- <input id="cdn_copy_trgt" type="text" class="form-control" valueu="<%= script_listing_urls.scripturl %>">
48
+ <input id="cdn_copy_trgt" type="text" class="form-control" value="<%= script_listing_urls.scripturl %>">
49
49
  <span class="input-group-addon"><i class="fa fa-clipboard"></i></span>
50
50
  </div>
51
51
 
52
52
  <% end %>
53
53
  <!-- Script Urls -->
54
54
  </div>
55
- <div class="col-md-3 col-sm-3">
55
+ <div class="col-md-4 col-sm-4">
56
56
  </div>
57
57
  </div>
58
58
 
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.7.0"
2
+ VERSION = "5.7.1"
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: 5.7.0
4
+ version: 5.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts