active_scaffold_config_list 3.4.3 → 3.5.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 425dcf579e72f50a069e41bbe31fc51483534b91a4593e79ebca24c1689eb6c3
4
- data.tar.gz: 0d4e02f7938858336d1dbe9a2ae52bfd967208b0c0e7b927da2417ce06ec006c
3
+ metadata.gz: a83952873751f4e7149b4e05e87d2e10cd6d36d6554578e50839d590f89233be
4
+ data.tar.gz: 6aa24c34a3a32f89238d70974bf509e21c8db01fbb54e66a25d22ceff0b5e0bc
5
5
  SHA512:
6
- metadata.gz: 92419e38580b30de49184eacf6186aefc711f70a6f3deba9d72932cc00e6383895d4d1c7ceaf23069fad5dae178816a0dac7edf370db45791a224d03ab02a16a
7
- data.tar.gz: b7926f8dcce2803a37074d7d98e89f0363a07c7352a28bc416ee55c091f8ce050a7082cd50b207209bc77b40f368a933eca006d454188197a3c54b447dc1c6d9
6
+ metadata.gz: 7dba2ca3fe3875206b92b44c9f18bf3e7f1b0ba1cc08eb49e7cf1441eba9763aed4307b8cbfa68ac4fb9ace1d05efa1352d434500c55ea6642ed95f64c236c0f
7
+ data.tar.gz: b92ffd411117506b501bf1133b3777e6ce93307f1b5bee06d5de9dbc2e938dc3bfae821e941e09ce8450688a9eacb0633c08ea832a025d6e508b7776afbb853d
@@ -127,7 +127,11 @@ module ActiveScaffold::Actions
127
127
  else
128
128
  config_list_session_storage['config_list']
129
129
  end unless defined? @config_list_params
130
- @config_list_params || active_scaffold_config.config_list.default_columns
130
+ @config_list_params || config_list_default_columns
131
+ end
132
+
133
+ def config_list_default_columns
134
+ active_scaffold_config.config_list.default_columns
131
135
  end
132
136
 
133
137
  def config_list_sorting
@@ -1,8 +1,8 @@
1
1
  module ActiveScaffoldConfigList
2
2
  class Engine < ::Rails::Engine
3
- initializer("initialize_active_scaffold_config_list", :after => "initialize_active_scaffold") do
4
- ActiveSupport.on_load(:action_controller) do
5
- require "active_scaffold_config_list/config/core.rb"
3
+ initializer 'active_scaffold_config_list.routes' do
4
+ ActiveSupport.on_load :active_scaffold_routing do
5
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_config_list] = :get
6
6
  end
7
7
  end
8
8
  end
@@ -1,8 +1,8 @@
1
1
  module ActiveScaffoldConfigList
2
2
  module Version
3
3
  MAJOR = 3
4
- MINOR = 4
5
- PATCH = 3
4
+ MINOR = 5
5
+ PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -1,9 +1,6 @@
1
1
  require 'active_scaffold_config_list/engine'
2
2
  require 'active_scaffold_config_list/version'
3
3
 
4
- module ActiveScaffoldConfigList
5
- end
6
-
7
4
  module ActiveScaffold
8
5
  module Actions
9
6
  ActiveScaffold.autoload_subdir('actions', self, File.dirname(__FILE__))
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.3
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-14 00:00:00.000000000 Z
11
+ date: 2024-04-05 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.6.0.pre
19
+ version: 3.7.1
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.6.0.pre
26
+ version: 3.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: active_scaffold_sortable
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -60,14 +60,13 @@ files:
60
60
  - lib/active_scaffold/actions/config_list.rb
61
61
  - lib/active_scaffold/config/config_list.rb
62
62
  - lib/active_scaffold_config_list.rb
63
- - lib/active_scaffold_config_list/config/core.rb
64
63
  - lib/active_scaffold_config_list/engine.rb
65
64
  - lib/active_scaffold_config_list/version.rb
66
65
  homepage: http://activescaffold.com
67
66
  licenses:
68
67
  - MIT
69
68
  metadata: {}
70
- post_install_message:
69
+ post_install_message:
71
70
  rdoc_options: []
72
71
  require_paths:
73
72
  - lib
@@ -82,9 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
84
83
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 2.7.9
87
- signing_key:
84
+ rubygems_version: 3.2.3
85
+ signing_key:
88
86
  specification_version: 4
89
87
  summary: User specific column configuration for ActiveScaffold
90
88
  test_files: []
@@ -1,4 +0,0 @@
1
- # Need to open the AS module carefully due to Rails 2.3 lazy loading
2
- ActiveScaffold::Config::Core.class_eval do
3
- ActiveScaffold::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_config_list] = :get
4
- end