cortex-plugins-core 0.10.1 → 0.10.2

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.
@@ -1,6 +1,8 @@
1
1
  module Plugins
2
2
  module Core
3
3
  class UserCell < Plugins::Core::Cell
4
+ include Devise::Controllers::Helpers
5
+
4
6
  def dropdown
5
7
  render
6
8
  end
@@ -8,7 +10,7 @@ module Plugins
8
10
  private
9
11
 
10
12
  def value
11
- data&.[]('user_id') || @options[:default_value]
13
+ data&.[]('user_id') || @options[:default_value] || current_user.id
12
14
  end
13
15
 
14
16
  def render_select
@@ -1,7 +1,7 @@
1
1
  module Cortex
2
2
  module Plugins
3
3
  module Core
4
- VERSION = '0.10.1'
4
+ VERSION = '0.10.2'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-plugins-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CareerBuilder Employer Site & Content Products
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -110,6 +110,7 @@ files:
110
110
  - app/assets/javascripts/cortex-plugins-core/application.js
111
111
  - app/assets/javascripts/cortex-plugins-core/cells/content_item.js
112
112
  - app/assets/javascripts/cortex-plugins-core/cells/text.js
113
+ - app/assets/webpack/webpack-bundle.js
113
114
  - app/cells/plugins/core/asset/association.haml
114
115
  - app/cells/plugins/core/asset/input.haml
115
116
  - app/cells/plugins/core/asset_cell.rb
@@ -176,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
177
  version: '0'
177
178
  requirements: []
178
179
  rubyforge_project:
179
- rubygems_version: 2.5.1
180
+ rubygems_version: 2.6.8
180
181
  signing_key:
181
182
  specification_version: 4
182
183
  summary: The combined set of Core FieldTypes for the Cortex CMS platform