tzispa_helpers 0.1.6 → 0.1.7

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: 59e3ae3ed4d6a0bfcb61eb4889a28d9e5860fa12
4
- data.tar.gz: 8084288b0d207595fb6f29a5a8eaddf0faef0c9e
3
+ metadata.gz: 32211499a790019a60889b90bbca7806179aee31
4
+ data.tar.gz: a82a4c432cf25627717cf2b82ab02079cdee4ba5
5
5
  SHA512:
6
- metadata.gz: 2e289fe238d46591a6510818d1391735fc5b4d4e77bedd6e09ccd414a560d90691ef300444be26366fa8f716bd1b5f5252488ad0220750db2b2737ce96bf233e
7
- data.tar.gz: 0d0ff069448e3fded14e70cc835ec6cf7016550473474fbda50236a58b7ab1de3e8b39cf90e9f585fa34df1e64e2c7baefa90bbf812c0da7781b77cac467f1f9
6
+ metadata.gz: a84211773676e7c739192daee01b7ed8f5a89ed14d2b8c7b0dbfa3427d1a07c3342a299d5f9a1c40799c2726fde724da144b2d9f585f67c08ba8e72cf90a8af9
7
+ data.tar.gz: 8b82804b2c1f1423af02f278d82dc065422efce51d11248ce5fdeca997b45217a59bd8288b7e24c15545594d7813aa4d735924616e958235b64e552ff2b97257
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  Tzispa Helpers
2
2
 
3
+ ## v0.1.7
4
+ - Fix error in mime_formatter text/x-markdown when text is nil
5
+
3
6
  ## v0.1.6
4
7
  - Add raise exception for debug in send_smtp_mail
5
8
 
@@ -154,7 +154,7 @@ module Tzispa
154
154
  def mime_formatter(text, mime)
155
155
  case mime
156
156
  when 'text/x-markdown'
157
- Redcarpet::Markdown.new(Redcarpet::Render::HTML.new).render text
157
+ Redcarpet::Markdown.new(Redcarpet::Render::HTML.new).render(text) if text
158
158
  else
159
159
  text
160
160
  end
@@ -3,7 +3,7 @@
3
3
  module Tzispa
4
4
  module Helpers
5
5
 
6
- VERSION = '0.1.6'
6
+ VERSION = '0.1.7'
7
7
  NAME = 'Tzispa Helpers'
8
8
  GEM_NAME = 'tzispa_helpers'
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tzispa_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Antonio Piñero