active_scaffold_config_list 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a41bc3b2745e37795c8e88b0b9a4df1e06cb0002
4
- data.tar.gz: a66a131e82ae3de248d96ec953f38699d63f3669
2
+ SHA256:
3
+ metadata.gz: 77a4e20ba2d041a1df9e2cf89f2d4c4660ec87940b2288d99790d0c785cd4de8
4
+ data.tar.gz: 11c7e1218281094a9ba19e4c7f6833ec0307c1441342d3f816179d564b5ead3c
5
5
  SHA512:
6
- metadata.gz: 644d52a6dc238a0e64e79fed00c0d96daf1066cf8b1b4f63cb7945c4662d177bcc459cfe7d8355124fa87b1cb899b094918e8fa525adecf7e7c8d841cc63e592
7
- data.tar.gz: cdba76d1446a9da73f5d54cdd61a3abd083886c89a27df90ea089a401d10043723c20b5558e75a5ac2fd10111e6d2ee039a41923c895c83e2977e4a6ff0faf9d
6
+ metadata.gz: 7d79eaa1b36eb9f1ad5dcc189e23e78dbeca62a797137915a7a0d86fa14bd82126b397b49c02561b8915dd8615e8491b8e608107eee0051854bcaeb863eb4281
7
+ data.tar.gz: 5cf49faedf3f9702e2342e48d2550c5b8f6b0edae1d133b00f03b6d4eda8d6b0d83fecba2467b2ed71f3e78d846b5a429a144a76678de30760f8f65a25d8ace5
@@ -5,7 +5,7 @@
5
5
  <%
6
6
  if !config_list_params.nil? && config_list_params.is_a?(Array)
7
7
  config_list = config_list_params
8
- list_columns.concat active_scaffold_config.list.columns.collect_visible.select{|column| config_list.exclude? column.name}
8
+ list_columns.concat active_scaffold_config.list.columns.visible_columns.select{|column| config_list.exclude? column.name}
9
9
  end
10
10
  %>
11
11
  <% list_columns.each do |c| %>
@@ -50,7 +50,7 @@ module ActiveScaffold::Config
50
50
  # provides access to the list of columns specifically meant for the config_list to use
51
51
  columns_accessor :columns do
52
52
  columns.exclude :created_on, :created_at, :updated_on, :updated_at, :as_marked
53
- columns.exclude *@core.columns.collect{|c| c.name if c.association.try(:polymorphic?)}.compact
53
+ columns.exclude *@core.columns.select{|c| c.association.try(:polymorphic?)}.map(&:name)
54
54
  end
55
55
 
56
56
  # the ActionLink for this action
@@ -1,4 +1,4 @@
1
1
  # Need to open the AS module carefully due to Rails 2.3 lazy loading
2
2
  ActiveScaffold::Config::Core.class_eval do
3
- ActionDispatch::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_config_list] = :get
3
+ ActiveScaffold::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_config_list] = :get
4
4
  end
@@ -2,7 +2,7 @@ module ActiveScaffoldConfigList
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_config_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-22 00:00:00.000000000 Z
11
+ date: 2019-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.31
19
+ version: 3.6.0.pre
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.31
26
+ version: 3.6.0.pre
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: active_scaffold_sortable
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.2.2
41
- - !ruby/object:Gem::Dependency
42
- name: rails
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '4.0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '4.0'
55
41
  description: User may reorder and hide/show list columns
56
42
  email: activescaffold@googlegroups.com
57
43
  executables: []
@@ -97,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
83
  version: '0'
98
84
  requirements: []
99
85
  rubyforge_project:
100
- rubygems_version: 2.6.10
86
+ rubygems_version: 2.7.8
101
87
  signing_key:
102
88
  specification_version: 4
103
89
  summary: User specific column configuration for ActiveScaffold