phcscriptcdnpro 20.8.1 → 21.0.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: 5e869be466093e48c4ee0e57abfde516eb5ba2c6
4
- data.tar.gz: c2acc3035047b4753209d0e83bf130be35407502
3
+ metadata.gz: c98ed37307424b74f59d3be3d266d558ed211078
4
+ data.tar.gz: e7206ba87f3bef66316e05f7ee0f882c61bc148e
5
5
  SHA512:
6
- metadata.gz: bf8131f8e5cea5745b5904fadb9058fbefdc0ce0767e7024771992354d9e601296b2024636e6740eb86b58feb4cb6ebb3724aa66ef77f34df811c6bf349a6dfb
7
- data.tar.gz: 20adc299d304075f6e54c18f73aaaa38df35606f27cebf41d90797f401c120c1c947d2b87b41568543e0f572489d22857fba1ad7493dff8f36f8aa02d7609c64
6
+ metadata.gz: 9da361ae423288c957c49169fb42c3bd9d9a43146f4fa92c6d7a3a0912e9bead83524a0bfee241e744b86a5bcb1784f7a02268d9ef8c4a314d4506a538cf7cbc
7
+ data.tar.gz: 97c0af56e914a882155ed792b47be1af8759284858f9996619d214c8091cedb19c10d328203b3bd2fc1bffe2af2fc82bf84e623d3cc86ffffa922e40e5bbe7b1
@@ -1,12 +1,12 @@
1
1
  module Phcscriptcdnpro
2
2
  class ApplicationController < ActionController::Base
3
3
 
4
+ # Load Helpers for PHCPress Widgets
5
+ before_action :phcpress_recent_posts
6
+
4
7
  # Security Filters
5
8
  protect_from_forgery with: :exception
6
9
 
7
- # Load Helpers for PHCPress Widgets
8
- before_action :phcpress_recent_posts
9
-
10
10
  # Load Helpers
11
11
  helper Phctitleseo::Engine.helpers
12
12
  helper Phcnotifi::Engine.helpers
@@ -43,10 +43,10 @@ module Phcscriptcdnpro
43
43
 
44
44
  private
45
45
 
46
- # PHCPress Widget Helpers
47
- def phcpress_recent_posts
48
- @recent_posts = Phcpresspro::Article::Post.all
49
- end
46
+ # PHCPress Widget Helpers
47
+ def phcpress_recent_posts
48
+ @recent_posts = Phcpresspro::Article::Post.all
49
+ end
50
50
 
51
51
  end
52
52
  end
@@ -24,7 +24,7 @@
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.frontend_listing_path(script_listings_index) %> <small>v. <%= script_listings_index.scriptversion %></small></h2>
27
+ <h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontend_listing_path(script_listings_index) %> <small>v.</small></h2>
28
28
  <ul class="blog-post-info list-inline">
29
29
  <li>
30
30
  <%= link_to "#" do %>
@@ -16,7 +16,7 @@
16
16
  <!-- Script Listing -->
17
17
  <div class="col-md-9 col-sm-9">
18
18
 
19
- <h1 class="blog-post-title"><%= @script_listings_single.scripttitle %> <small>v. <%= @script_listings_single.scriptversion %></small></h1>
19
+ <h1 class="blog-post-title"><%= @script_listings_single.scripttitle %> <small></small></h1>
20
20
  <ul class="blog-post-info list-inline">
21
21
  <li>
22
22
  <%= link_to "#" do %>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "20.8.1"
2
+ VERSION = "21.0.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: 20.8.1
4
+ version: 21.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts