brightcontent-core 2.0.13 → 2.0.14

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.13)
4
+ brightcontent-core (2.0.14)
5
5
  bcrypt-ruby
6
6
  bootstrap-wysihtml5-rails
7
7
  has_scope
@@ -25,6 +25,7 @@ module Brightcontent
25
25
  def default_fields
26
26
  resource_class.brightcontent_columns - %w{id created_at updated_at password_digest}
27
27
  end
28
+ helper_method :default_fields
28
29
 
29
30
  end
30
31
  end
@@ -1,6 +1,6 @@
1
1
  <%= CSV.generate do |csv| %>
2
- <% csv << list_fields %>
2
+ <% csv << default_fields %>
3
3
  <% collection.each do |item| %>
4
- <% csv << list_fields.map { |field| item.send(field) } %>
4
+ <% csv << default_fields.map { |field| item.send(field) } %>
5
5
  <% end %>
6
6
  <% end %>
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.13
4
+ version: 2.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -347,7 +347,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
347
  version: '0'
348
348
  segments:
349
349
  - 0
350
- hash: -752739652003694485
350
+ hash: 4302801181700407658
351
351
  required_rubygems_version: !ruby/object:Gem::Requirement
352
352
  none: false
353
353
  requirements:
@@ -356,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
356
  version: '0'
357
357
  segments:
358
358
  - 0
359
- hash: -752739652003694485
359
+ hash: 4302801181700407658
360
360
  requirements: []
361
361
  rubyforge_project:
362
362
  rubygems_version: 1.8.24