phcpresspro 21.0.0 → 21.1.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: 9eaee0dfbf91a73623c60a1518ee2899b5e9fbf8
4
- data.tar.gz: 608a3275da3c6747e4245a7b9f8f9075d5a854c1
3
+ metadata.gz: 63d41dba274288f2fbe98be6020cf31daeb24ef8
4
+ data.tar.gz: a92ce3921a4c5f22cfcc4863d87da5c0d09a2b17
5
5
  SHA512:
6
- metadata.gz: 49447e5ce28b1527151f1dee304136de397f9f11db120aad90b490f8dc70b45058451b2d353a8ae603fe58e732cdeabb62b76a261398e5fcd0df449315455553
7
- data.tar.gz: d4aa8ee449211e7926f4fd11180d0000d1cc447d51996d08f2246eab6ef1002e0161bab45a4f4cfe6d1dca00336432495c51640ed8a3440b70d180356da2a4f1
6
+ metadata.gz: 0137ed169140c495b2279f0326fdb534e3e594499d74b038886d4b2160c7c341aca56e32c651a875c292c8f2171598af79797412da9628ff6169fff90d440b3a
7
+ data.tar.gz: f908682dd09257a15ab5ab6bd8bb9237daa3c72334c8751112f899c35037e8827120e93bb9e3834f412ccc958a68941db0122646902e1530091579dcd5b5797e
@@ -8,12 +8,12 @@ module Phcpresspro
8
8
 
9
9
  # Article Category API
10
10
  def index
11
- @phcpresspro_frontend_article_index = Phcpressproindexapi.get_phcpresspro_index_api
11
+ @article_posts = Article::Post.order('psttitle ASC')
12
12
  end
13
13
 
14
14
  # Article Show
15
15
  def show
16
- @phcpresspro_frontend_article_show = Article::Post.find(params[:id])
16
+ @article_post = Article::Post.find(params[:id])
17
17
  end
18
18
 
19
19
  end
@@ -12,11 +12,11 @@ module Phcpresspro
12
12
  attr_accessor :id, :psttitle, :psttext, :pststatus, :pstimage
13
13
 
14
14
  def initialize(response)
15
- @phc_press_id = response['phcpresspro_article_post']['id']
16
- @phc_press_psttitle = response['phcpresspro_article_post']['psttitle']
17
- @phc_press_psttext = response['phcpresspro_article_post']['psttext']
18
- @phc_press_pststatus = response['phcpresspro_article_post']['pststatus']
19
- @phc_press_pstimage = response['phcpresspro_article_post']['pstimage']
15
+ @phc_press_pro_id = response['phcpresspro_article_post']['id']
16
+ @phc_press_pro_psttitle = response['phcpresspro_article_post']['psttitle']
17
+ @phc_press_pro_psttext = response['phcpresspro_article_post']['psttext']
18
+ @phc_press_pro_pststatus = response['phcpresspro_article_post']['pststatus']
19
+ @phc_press_pro_pstimage = response['phcpresspro_article_post']['pstimage']
20
20
  end
21
21
 
22
22
  def self.get_phcpresspro_index_api
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "21.0.0"
2
+ VERSION = "21.1.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: 21.0.0
4
+ version: 21.1.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-09-28 00:00:00.000000000 Z
11
+ date: 2017-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paper_trail
@@ -764,7 +764,7 @@ files:
764
764
  - db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
765
765
  - db/migrate/20170517064427_create_phcpresspro_category_versions.rb
766
766
  - lib/phcpresspro.rb
767
- - lib/phcpresspro/apis/phcpresspro.rb
767
+ - lib/phcpresspro/apis/phcpressproapi.rb
768
768
  - lib/phcpresspro/engine.rb
769
769
  - lib/phcpresspro/version.rb
770
770
  - lib/tasks/phcpresspro_tasks.rake