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 +1 -1
- data/app/helpers/brightcontent/base_helper.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -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.
|
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: -
|
325
|
+
hash: -1989363523292701823
|
326
326
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
327
327
|
none: false
|
328
328
|
requirements:
|