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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63d41dba274288f2fbe98be6020cf31daeb24ef8
|
4
|
+
data.tar.gz: a92ce3921a4c5f22cfcc4863d87da5c0d09a2b17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
@
|
11
|
+
@article_posts = Article::Post.order('psttitle ASC')
|
12
12
|
end
|
13
13
|
|
14
14
|
# Article Show
|
15
15
|
def show
|
16
|
-
@
|
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
|
-
@
|
16
|
-
@
|
17
|
-
@
|
18
|
-
@
|
19
|
-
@
|
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
|
data/lib/phcpresspro/version.rb
CHANGED
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.
|
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-
|
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/
|
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
|