planet 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/planet.rb +1 -1
  2. data/lib/planet/version.rb +1 -1
  3. metadata +1 -1
data/lib/planet.rb CHANGED
@@ -56,7 +56,7 @@ class Planet
56
56
 
57
57
  feed.entries.each do |entry|
58
58
  @@_posts << @post = Post.new(
59
- title: entry.title,
59
+ title: entry.title.sanitize,
60
60
  content: entry.content.strip.gsub('<img src="', "<img src=\"#{ blog.url }"),
61
61
  date: entry.published,
62
62
  url: blog.url + entry.url,
@@ -2,7 +2,7 @@ module Planet
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 5
5
+ PATCH = 6
6
6
 
7
7
  def self.to_s
8
8
  [MAJOR, MINOR, PATCH].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: