siyelo-blogify 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.2.0
@@ -48,6 +48,9 @@ class BlogPost < ActiveRecord::Base
48
48
  posts.each do |p|
49
49
  b = self.new( :title => p['title'],
50
50
  :body => p['body'],
51
+ :author => p['author'],
52
+ :author_pic_url => p['authorpic'],
53
+ :views => p['views'],
51
54
  :url => p['link'],
52
55
  :comment_count => p['commentsCount'].to_i,
53
56
  :posted => p['date'].to_date)
@@ -3,6 +3,9 @@ class BlogifyCreateBlogPosts < ActiveRecord::Migration
3
3
  create_table :blog_posts do |t|
4
4
  t.string :type
5
5
  t.string :title
6
+ t.string :author
7
+ t.string :authorpic
8
+ t.integer :views
6
9
  t.text :body
7
10
  t.integer :comment_count
8
11
  t.string :url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siyelo-blogify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glenn Roberts
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-08 00:00:00 +02:00
12
+ date: 2010-03-16 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency