brightcontent-core 2.0.0.alpha5 → 2.0.0.alpha6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brightcontent-core (2.0.0.alpha5)
4
+ brightcontent-core (2.0.0.alpha6)
5
5
  bcrypt-ruby
6
6
  bootstrap-wysihtml5-rails
7
7
  inherited_resources
@@ -1,7 +1,7 @@
1
1
  module Brightcontent
2
2
  module BaseHelper
3
3
  def render_list_field(item, field)
4
- render_if_exists("list_field_#{field}", item: item) || item.send(field).truncate(50)
4
+ render_if_exists("list_field_#{field}", item: item) || item.send(field).to_s.truncate(50)
5
5
  end
6
6
 
7
7
  def render_form_field(form, field)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha5
4
+ version: 2.0.0.alpha6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -322,7 +322,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
322
322
  version: '0'
323
323
  segments:
324
324
  - 0
325
- hash: -3061788231904697692
325
+ hash: -1989363523292701823
326
326
  required_rubygems_version: !ruby/object:Gem::Requirement
327
327
  none: false
328
328
  requirements: