phcscriptcdn 4.3.6 → 4.3.7

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: 9d53475439cccf7e4f3a89c961b2980d35d17ae7
4
- data.tar.gz: 60ae614c32ec8ddd230a1462d1fe27e693955571
3
+ metadata.gz: 04b8e0b91772d5a32d686ae78e213369a6f7a4ba
4
+ data.tar.gz: e96444eda70a55ba6bb7782bced0ea3da1b1dadf
5
5
  SHA512:
6
- metadata.gz: 8f61951c3140c4539ed6bc6eee147c7587c114541e7b7185bc3ad0cb90b8a3cd4f8b64d866d125d9d9f04e59fedfaf6f8e8fa5cb901b97496ff401427273e7cd
7
- data.tar.gz: 3bcae08971b2f6287028a7d47a0640b1abb8dcdc6fe2e3331fb5ceeabb69389151beafa176cc4d481030dfda2e51dd7fb509ff784dca2c83652e26cc8747899e
6
+ metadata.gz: 4ea276833acf1bba6dce872e901c0fddc7d645a3236858a76018ce458b3cbf4c45174474536931c611c69dc2dada2a7f8de245785b3d0cc7db67361c629e689b
7
+ data.tar.gz: b98088e976ba93a9e98ee23ecd19a48274fd015b269bff5d3472275e85e206908ad5d50271d8c75da9c9cff3630bd598b5af019323e1af0b4ef974cd7a7597f8
@@ -1,2 +1,2 @@
1
1
  //= link_directory ../javascripts/phcscriptcdn .js
2
- //= link_directory ../stylesheets/phcscriptcdn .scss
2
+ //= link_directory ../stylesheets/phcscriptcdn .scss
@@ -1,2 +1,2 @@
1
1
  // Load PHCAdmin3 Javascript
2
- //= require phc_admins_main_three
2
+ //= require phc_admins_main_three
@@ -1,2 +1,2 @@
1
1
  // Load PHCAdmin3 Styles
2
- @import "phc_admins_style_three";
2
+ @import "phc_admins_style_three";
@@ -9,4 +9,4 @@ module Phcscriptcdn
9
9
  helper Phcnotifi::Engine.helpers
10
10
 
11
11
  end
12
- end
12
+ end
@@ -63,4 +63,3 @@ module Phcscriptcdn
63
63
 
64
64
  end
65
65
  end
66
-
@@ -63,5 +63,3 @@ module Phcscriptcdn
63
63
 
64
64
  end
65
65
  end
66
-
67
-
@@ -62,4 +62,4 @@ module Phcscriptcdn
62
62
  end
63
63
 
64
64
  end
65
- end
65
+ end
@@ -62,4 +62,4 @@ module Phcscriptcdn
62
62
  end
63
63
 
64
64
  end
65
- end
65
+ end
@@ -1,5 +1,4 @@
1
1
  module Phcscriptcdn
2
2
  class ApplicationJob < ActiveJob::Base
3
-
4
3
  end
5
- end
4
+ end
@@ -1,7 +1,5 @@
1
1
  module Phcscriptcdn
2
-
3
2
  class ApplicationRecord < ActiveRecord::Base
4
3
  self.abstract_class = true
5
4
  end
6
-
7
- end
5
+ end
@@ -1,9 +1,7 @@
1
1
  module Phcscriptcdn
2
2
  module Script
3
-
4
3
  def self.table_name_prefix
5
4
  'phcscriptcdn_script_'
6
5
  end
7
6
  end
8
-
9
- end
7
+ end
@@ -1,10 +1,10 @@
1
1
  module Phcscriptcdn
2
- class Script::Author < ApplicationRecord
2
+ class Script::Author < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # Listing (None Nested)
7
- has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
6
+ # Listing (None Nested)
7
+ has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
8
8
 
9
- end
10
- end
9
+ end
10
+ end
@@ -1,11 +1,11 @@
1
1
  module Phcscriptcdn
2
- class Script::Extension < ApplicationRecord
2
+ class Script::Extension < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # URLs & Extensions (None Nested)
7
- has_many :listings, class_name: 'Phcscriptcdn::Script::Listing', :through => :urls
8
- has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
6
+ # URLs & Extensions (None Nested)
7
+ has_many :listings, class_name: 'Phcscriptcdn::Script::Listing', :through => :urls
8
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
9
9
 
10
- end
11
- end
10
+ end
11
+ end
@@ -1,10 +1,10 @@
1
1
  module Phcscriptcdn
2
2
  class Script::Licence < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # Listing (None Nested)
7
- has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
6
+ # Listing (None Nested)
7
+ has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
8
8
 
9
9
  end
10
- end
10
+ end
@@ -1,19 +1,19 @@
1
1
  module Phcscriptcdn
2
- class Script::Listing < ApplicationRecord
2
+ class Script::Listing < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # Attach to URL (Nested)
7
- has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
6
+ # Attach to URL (Nested)
7
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
8
8
 
9
- # Attach to Author (None Nested)
10
- belongs_to :author, class_name: 'Phcscriptcdn::Script::Author'
9
+ # Attach to Author (None Nested)
10
+ belongs_to :author, class_name: 'Phcscriptcdn::Script::Author'
11
11
 
12
- # Attach to Version (None Nested)
13
- belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
12
+ # Attach to Version (None Nested)
13
+ belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
14
14
 
15
- # Attach to Licence (None Nested)
16
- belongs_to :licence, class_name: 'Phcscriptcdn::Script::Licence'
15
+ # Attach to Licence (None Nested)
16
+ belongs_to :licence, class_name: 'Phcscriptcdn::Script::Licence'
17
17
 
18
- end
19
- end
18
+ end
19
+ end
@@ -1,16 +1,16 @@
1
1
  module Phcscriptcdn
2
- class Script::Url < ApplicationRecord
2
+ class Script::Url < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # Attach to Listings (Nested)
7
- belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing'
6
+ # Attach to Listings (Nested)
7
+ belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing'
8
8
 
9
- # Attach to Version (None Nested)
10
- belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
9
+ # Attach to Version (None Nested)
10
+ belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
11
11
 
12
- # Attach to Extension (None Nested)
13
- belongs_to :extension, class_name: 'Phcscriptcdn::Script::Extension'
12
+ # Attach to Extension (None Nested)
13
+ belongs_to :extension, class_name: 'Phcscriptcdn::Script::Extension'
14
14
 
15
- end
16
- end
15
+ end
16
+ end
@@ -1,13 +1,13 @@
1
1
  module Phcscriptcdn
2
- class Script::Version < ApplicationRecord
2
+ class Script::Version < ApplicationRecord
3
3
 
4
- # Relationships
4
+ # Relationships
5
5
 
6
- # Attach to Listing (None Nested)
7
- has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
6
+ # Attach to Listing (None Nested)
7
+ has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
8
8
 
9
- # Attach to URL (None Nested)
10
- has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
9
+ # Attach to URL (None Nested)
10
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
11
11
 
12
- end
13
- end
12
+ end
13
+ end
@@ -1,4 +1,4 @@
1
1
  <div class="pull-right hidden-xs">
2
- <b>Version</b> 4.3.6 - MAR-14-<%= Date.today.year %>
2
+ <b>Version</b> 4.3.7 - MAR-14-<%= Date.today.year %>
3
3
  </div>
4
4
  <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
data/config/routes.rb CHANGED
@@ -1,23 +1,22 @@
1
1
  Phcscriptcdn::Engine.routes.draw do
2
2
 
3
- # CDN Frontend
3
+ # Frontend Routes
4
4
  namespace :frontend do
5
- # Frontend Routes
6
- resources :cdnpages
5
+ resources :listings
7
6
  end
8
-
7
+
9
8
  # Script CDN Listing System
10
9
  namespace :script do
11
10
  # Main Script Module
12
- resources :listings, class_name: 'Phcscriptcdn::Script::Listing' do
13
- resources :urls, class_name: 'Phcscriptcdn::Script::Url'
14
- resources :authors, class_name: 'Phcscriptcdn::Script::Author'
11
+ resources :listings, class_name: 'Phcscriptcdnpro::Script::Listing' do
12
+ resources :urls, class_name: 'Phcscriptcdnpro::Script::Url'
15
13
  end
16
- resources :extensions, class_name: 'Phcscriptcdn::Script::Extension'
17
- resources :versions, class_name: 'Phcscriptcdn::Script::Version'
18
- resources :licences, class_name: 'Phcscriptcdn::Script::Licence'
14
+ resources :authors, class_name: 'Phcscriptcdnpro::Script::Author'
15
+ resources :extensions, class_name: 'Phcscriptcdnpro::Script::Extension'
16
+ resources :versions, class_name: 'Phcscriptcdnpro::Script::Version'
17
+ resources :licences, class_name: 'Phcscriptcdnpro::Script::Licence'
19
18
  end
20
-
19
+
21
20
  # Application API
22
21
  namespace :api, :path => "", :constraints => {:subdomain => "api"} do
23
22
  namespace :v1 do
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdn
2
- VERSION = "4.3.6"
2
+ VERSION = "4.3.7"
3
3
  end
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.3.6
4
+ version: 4.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts