phcpresspro 14.1.0 → 15.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: 01fac135980158c69605283ac6406d7e5b99c0e1
4
- data.tar.gz: 7b5ab31cb47e11deddb835d5ebfc60e59d8efd15
3
+ metadata.gz: 1d20b68f9ac1ce1ceda38697e59c6967c2620d9d
4
+ data.tar.gz: 05ed463ea924416e366a35b406fa246d3f763e94
5
5
  SHA512:
6
- metadata.gz: 586d14b4fc278c3b23a0c48b102476fbe703069f69f2562521d2208d37d74eca99518cd51a6676158483b90e66e9f3cd514fbfdfd3184fcafe6bf671e076bea0
7
- data.tar.gz: 4ed5dffb4fd429db072f6933d2f5c5eb18e04e0d5e0b249c46de8aa0eb8d733276b5af8499b10a00e18bc8a9e196e4332f79cc6eac7703ca01ea199d80667c69
6
+ metadata.gz: fdc009f2480a1ecd15e88f165c87e6d60b22b3a64f4516e3c4ec2205235efc2bbc00652012878c5d9ad2315b8e80738fd9182754441f3d8b20bc5c78909b2d16
7
+ data.tar.gz: 104f337e754a29ef41ec1b2adb2259fa61cd1cc26466244c1b3f37c5d6c0017f65269d764065d38a88a15ca86a38fd1c9b049175150e4c6dc0d843d2b9092868
@@ -45,7 +45,7 @@ module Phcpresspro
45
45
 
46
46
  # PHCPress Widget Helpers
47
47
  def phcpress_recent_posts
48
- @recent_posts = Phcpresspro::Articles::Post.all
48
+ @recent_posts = Phcpresspro::Article::Post.all
49
49
  end
50
50
 
51
51
  end
@@ -1,19 +1,19 @@
1
1
  require_dependency "phcpresspro/application_controller"
2
2
 
3
3
  module Phcpresspro
4
- class Frontend::ArticlesController < ApplicationController
4
+ class Frontend::ArticleController < ApplicationController
5
5
 
6
6
  # Security & Filters
7
7
  layout '/layouts/phcpresspro/frontend.html.erb'
8
8
 
9
9
  # Article Index
10
10
  def index
11
- @articles_index = Articles::Post.where(pststatus: "published")
11
+ @articles_index = Article::Post.where(pststatus: "published")
12
12
  end
13
13
 
14
14
  # Single Article Post
15
15
  def show
16
- @articles_single = Articles::Post.where(pststatus: "published").friendly.find(params[:id])
16
+ @articles_single = Article::Post.where(pststatus: "published").friendly.find(params[:id])
17
17
  end
18
18
 
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Phcpresspro
2
- module Articles
2
+ module Article
3
3
  def self.table_name_prefix
4
4
  'phcpresspro_articles_'
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "14.1.0"
2
+ VERSION = "15.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.0
4
+ version: 15.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -525,7 +525,7 @@ dependencies:
525
525
  version: '2.14'
526
526
  - - ">="
527
527
  - !ruby/object:Gem::Version
528
- version: 2.14.1
528
+ version: 2.14.2
529
529
  type: :development
530
530
  prerelease: false
531
531
  version_requirements: !ruby/object:Gem::Requirement
@@ -535,7 +535,7 @@ dependencies:
535
535
  version: '2.14'
536
536
  - - ">="
537
537
  - !ruby/object:Gem::Version
538
- version: 2.14.1
538
+ version: 2.14.2
539
539
  - !ruby/object:Gem::Dependency
540
540
  name: nokogiri
541
541
  requirement: !ruby/object:Gem::Requirement
@@ -696,7 +696,7 @@ files:
696
696
  - app/controllers/phcpresspro/api/v1/posts_controller.rb
697
697
  - app/controllers/phcpresspro/application_controller.rb
698
698
  - app/controllers/phcpresspro/article/posts_controller.rb
699
- - app/controllers/phcpresspro/frontend/articles_controller.rb
699
+ - app/controllers/phcpresspro/frontend/article_controller.rb
700
700
  - app/controllers/phcpresspro/modules/categories_controller.rb
701
701
  - app/controllers/phcpresspro/modules/connections_controller.rb
702
702
  - app/helpers/phcpresspro/application_helper.rb
@@ -705,8 +705,8 @@ files:
705
705
  - app/models/phcpresspro/api/v1/category.rb
706
706
  - app/models/phcpresspro/api/v1/post.rb
707
707
  - app/models/phcpresspro/application_record.rb
708
+ - app/models/phcpresspro/article.rb
708
709
  - app/models/phcpresspro/article/post.rb
709
- - app/models/phcpresspro/articles.rb
710
710
  - app/models/phcpresspro/category_versions.rb
711
711
  - app/models/phcpresspro/connection_versions.rb
712
712
  - app/models/phcpresspro/frontend.rb
@@ -729,8 +729,8 @@ files:
729
729
  - app/views/phcpresspro/articles/posts/index.html.erb
730
730
  - app/views/phcpresspro/articles/posts/new.html.erb
731
731
  - app/views/phcpresspro/articles/posts/show.html.erb
732
- - app/views/phcpresspro/frontend/articles/index.html.erb
733
- - app/views/phcpresspro/frontend/articles/show.html.erb
732
+ - app/views/phcpresspro/frontend/article/index.html.erb
733
+ - app/views/phcpresspro/frontend/article/show.html.erb
734
734
  - app/views/phcpresspro/modules/categories/_form.html.erb
735
735
  - app/views/phcpresspro/modules/categories/edit.html.erb
736
736
  - app/views/phcpresspro/modules/categories/index.html.erb