phcscriptcdnpro 5.3.2 → 5.3.3

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: a6439166a38a305760bb9fc1197c2e94d91593fd
4
- data.tar.gz: 22dbb1393574e0111681fcaa99e8eb04513f5656
3
+ metadata.gz: 4cef4d91150a9c078297270ac8d3600f229e9643
4
+ data.tar.gz: fae295d39101192e496fa81a3f3aadec93b1ef71
5
5
  SHA512:
6
- metadata.gz: 11339e33ef55b0764e0d9ca708c94494860ed54da8fac97ff7d6bb960b464fd0df610c8960a25d01228647d13c195d435850f2f6948765d6a51995c4a99f58cc
7
- data.tar.gz: 0f5fc866d2144e4f1075ae9725a4e2235fec166dd1517b0995c111da2056dabaf849563839ecf2c8a44b9a2f89dc598523c78fb1dcef0af36594a96e7c5aad1e
6
+ metadata.gz: cd95d330dcef6970e9b424882c253bfdf8dc89f0d0d5fa7ca77900bb483f388c9c34be1d8a4e208c8403c2e38d32ff5490708e7e9258220d77a9d0727f1b8eab
7
+ data.tar.gz: d4245d96b1f578c1f7bb24618131ac40f94029fe9aa97310b56143a86c7f54c916ba72322e044ac2ae4de4924e663a147a38bc259ef18e85340ccf02a74bc84c
@@ -1,7 +1,7 @@
1
1
  require_dependency "phcscriptcdnpro/application_controller"
2
2
 
3
3
  module Phcscriptcdnpro
4
- class Frontpage::ScriptlistingsController < ApplicationController
4
+ class Frontend::ListingsController < ApplicationController
5
5
 
6
6
  # Change Layout
7
7
  layout '/layouts/phcscriptcdnpro/frontend.html.erb'
@@ -0,0 +1,7 @@
1
+ module Phcscriptcdnpro
2
+ module Frontend
3
+ def self.table_name_prefix
4
+ 'phcscriptcdnpro_frontend_'
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Phcscriptcdnpro
2
+ class Frontend::Listing < ApplicationRecord
3
+
4
+ end
5
+ end
@@ -1,6 +1,6 @@
1
1
  <!-- Title System -->
2
- <% phc_title "PHCNetworks Script CDN" %>
3
- <% phc_title_tagline "Global Developer Script Delivery Network" %>
2
+ <% phc_title "PHCNetworks Blog" %>
3
+ <% phc_title_tagline "News & Information" %>
4
4
  <!-- Title System -->
5
5
 
6
6
  <!-- Page Header -->
@@ -19,12 +19,12 @@
19
19
  </div>
20
20
  <!-- Left Sidebar -->
21
21
 
22
- <!-- Script List -->
22
+ <!-- Script CDN List -->
23
23
  <div class="col-md-9 col-sm-9">
24
24
 
25
25
  <% @script_listings_index.each do |script_listings_index| %>
26
26
  <div class="blog-post-item">
27
- <h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontpage_scriptlistings_path(script_listings_index) %></h2>
27
+ <h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontend_listing_path(script_listings_index) %></h2>
28
28
  <ul class="blog-post-info list-inline">
29
29
  <li>
30
30
  <%= link_to "#" do %>
@@ -41,10 +41,10 @@
41
41
  <li>
42
42
  <i class="fa fa-folder-open-o"></i>
43
43
  <%= link_to "#" do %>
44
- <span class="font-lato">Scripts</span>
44
+ <span class="font-lato">Design</span>
45
45
  <% end %>
46
46
  <%= link_to "#" do %>
47
- <span class="font-lato">CDN</span>
47
+ <span class="font-lato">Photography</span>
48
48
  <% end %>
49
49
  </li>
50
50
  <li>
@@ -56,7 +56,7 @@
56
56
  <% end %>
57
57
 
58
58
  </div>
59
- <!-- Script List -->
59
+ <!-- Script CDN List -->
60
60
 
61
61
  </div>
62
62
  </div>
data/config/routes.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  Phcscriptcdnpro::Engine.routes.draw do
2
2
 
3
- namespace :frontpage do
4
- resources :scriptlistings
3
+ namespace :frontend do
4
+ resources :listings
5
5
  end
6
6
  namespace :frontend do
7
7
  # Frontend Routes
@@ -0,0 +1,8 @@
1
+ class CreatePhcscriptcdnproFrontendListings < ActiveRecord::Migration[5.0]
2
+ def change
3
+ create_table :phcscriptcdnpro_frontend_listings do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.3.2"
2
+ VERSION = "5.3.3"
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.3.2
4
+ version: 5.3.3
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-03 00:00:00.000000000 Z
11
+ date: 2017-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -627,7 +627,7 @@ files:
627
627
  - app/assets/javascripts/phcscriptcdnpro/application.js
628
628
  - app/assets/stylesheets/phcscriptcdnpro/application.scss
629
629
  - app/controllers/phcscriptcdnpro/application_controller.rb
630
- - app/controllers/phcscriptcdnpro/frontpage/scriptlistings_controller.rb
630
+ - app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
631
631
  - app/controllers/phcscriptcdnpro/script/authors_controller.rb
632
632
  - app/controllers/phcscriptcdnpro/script/extensions_controller.rb
633
633
  - app/controllers/phcscriptcdnpro/script/licences_controller.rb
@@ -638,7 +638,8 @@ files:
638
638
  - app/jobs/phcscriptcdnpro/application_job.rb
639
639
  - app/mailers/phcscriptcdnpro/application_mailer.rb
640
640
  - app/models/phcscriptcdnpro/application_record.rb
641
- - app/models/phcscriptcdnpro/frontpage/scriptlisting.rb
641
+ - app/models/phcscriptcdnpro/frontend.rb
642
+ - app/models/phcscriptcdnpro/frontend/listing.rb
642
643
  - app/models/phcscriptcdnpro/script.rb
643
644
  - app/models/phcscriptcdnpro/script/author.rb
644
645
  - app/models/phcscriptcdnpro/script/extension.rb
@@ -652,8 +653,8 @@ files:
652
653
  - app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb
653
654
  - app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_right_sidebar.html.erb
654
655
  - app/views/layouts/phcscriptcdnpro/frontend.html.erb
655
- - app/views/phcscriptcdnpro/frontpage/scriptlistings/index.html.erb
656
- - app/views/phcscriptcdnpro/frontpage/scriptlistings/show.html.erb
656
+ - app/views/phcscriptcdnpro/frontend/listings/index.html.erb
657
+ - app/views/phcscriptcdnpro/frontend/listings/show.html.erb
657
658
  - app/views/phcscriptcdnpro/script/authors/_form.html.erb
658
659
  - app/views/phcscriptcdnpro/script/authors/edit.html.erb
659
660
  - app/views/phcscriptcdnpro/script/authors/index.html.erb
@@ -691,6 +692,7 @@ files:
691
692
  - db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb
692
693
  - db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb
693
694
  - db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb
695
+ - db/migrate/20170203225757_create_phcscriptcdnpro_frontend_listings.rb
694
696
  - lib/phcscriptcdnpro.rb
695
697
  - lib/phcscriptcdnpro/engine.rb
696
698
  - lib/phcscriptcdnpro/version.rb
@@ -1,5 +0,0 @@
1
- module Phcscriptcdnpro
2
- class Frontpage::Scriptlisting < ApplicationRecord
3
-
4
- end
5
- end