iatelier 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: ed28dbef7ef701012377ac3667d29462566f8cd5e584848623838f02179a8a7a
4
- data.tar.gz: 10a1bb0842d7674b34f19f48b1b236b4bbd5adba4dd957e230065f61b4a30f3b
3
+ metadata.gz: ef11774e93cc025d29decaaedba45986d004be469934d60057f3f063bec3958c
4
+ data.tar.gz: 0f6369bfee5d09084dfb0a49db2c17bd34ef21053ae609fe4a993794bc38853c
5
5
  SHA512:
6
- metadata.gz: b385c4b8220993a73f65a4d8d4c8a7a400bdf213d53493ff361d3d9c0411ee12345b1ddfb30abad3985992781cadeb869fa9e7c4b448378aa77f9db143cbb748
7
- data.tar.gz: 5d2db6aa4275540ce4cbf610142e0aa665d855c3959ff31315d9bb2d70bc8c4a648cd01df1493d6871df6bfa8d5c251a976dc7d25758a4a3c1340dba4d184596
6
+ metadata.gz: bb3d0d71d911f5735a11e1f2a281a3f28fea9796d6d538e6c71b0bf0f5b86e22e6643627c7d8864c8cff1695ee3f4a704086ed5c6f2bd9789f86666f34ae9c0f
7
+ data.tar.gz: 1224abfc23f59ebd076f1fa55714ad991d43e9ea385b47f2699174ba9cf04db795c6814c71dcd162484ac5a140b8764bbb53c577b8df4f97659d4911d21cac98
@@ -24,7 +24,7 @@ class Book < ActiveRecord::Base
24
24
 
25
25
  accepts_nested_attributes_for :title, :slug, :subtitle, :description, :thumbnail, :timestamp
26
26
  validates_associated :slug
27
-
27
+
28
28
  attr_accessor :namespace
29
29
 
30
30
  def kind
@@ -65,7 +65,7 @@ class Book < ActiveRecord::Base
65
65
 
66
66
  def content
67
67
  markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, autolink: true, tables: true)
68
- return markdown.render(content_raw.to_s)
68
+ return markdown.render(content_raw.to_s.force_encoding(Encoding::UTF_8))
69
69
  end
70
70
 
71
71
  def sync_keywords params
@@ -1,3 +1,3 @@
1
1
  module Iatelier
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iatelier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Captain Husayn Pinguin