corn_starch 1.8.23 → 1.8.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c53e0cae3e2454ae6bbe227d0166c5d17a8bed3
4
- data.tar.gz: e1ec042442c9ded5d1da8064d587e3fb47d1d628
3
+ metadata.gz: d29a9b645d00d81741370ec705ddabf39b9ee958
4
+ data.tar.gz: 1bd3a9f73328ed4cc2c4f5dcd77a0088d25bdba3
5
5
  SHA512:
6
- metadata.gz: 4a85535b8a19691226c0b71c07258f9d08f8dc911985015650951d7a504bcba9ecff96bed7ecf840c135b0cc1a0e2418e3e43d262f3124fe9bf4d8ed618fd295
7
- data.tar.gz: db8065f39ae058bfad2beb309250e7f0bc15a7df0003c31fb94cf385c3b6b42fcc45f00c6d84628b11c3ddb29407b0342bd531a6af074f9832578f6d87440a2c
6
+ metadata.gz: 7d9fe8207d1ada20963bc038ed31146870cb83a98b9ad10e6916a4e232e777b6fa5eb3d901fc8cebd16c999d183a7d58aef82c0c930cb60788635327f4d14d72
7
+ data.tar.gz: 645724d7cac570adc1c2129a320b662713fae417cfb9c5eb68c401c6dadbc4ca0fc9e2f97902f019f31477e12ea67cb806a5b9cb967bc72d78c2afe9fea52724
@@ -240,7 +240,7 @@ module CornStarch
240
240
  ename = entity ? entity.display_name : ''
241
241
 
242
242
  # Acquire Errors
243
- errors = entity.try(:errors).try(:collect) { |e| "\n - #{e}" }.try :join
243
+ errors = entity.try(:errors).try(:full_messages).try(:collect) { |e| "\n - #{e}" }.try :join
244
244
 
245
245
  # Switch on Action
246
246
  case action
@@ -5,6 +5,6 @@
5
5
  ✖
6
6
  <% end %>
7
7
  <strong><%= msg.symbolize_keys[:head] %></strong>
8
- <p><%= msg.symbolize_keys[:body].gsub /\n/, '<br />' %></p>
8
+ <p><%= msg.symbolize_keys[:body].gsub(/\n/, '<br />').html_safe %></p>
9
9
  <% end %>
10
10
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.8.23'
2
+ VERSION = '1.8.24'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.23
4
+ version: 1.8.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse