active_scaffold_export 3.8.0 → 3.8.2

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
2
  SHA256:
3
- metadata.gz: b710509185a1efb5c735e70ac427495e39798ba165dd9dd392f4dc6696511fdb
4
- data.tar.gz: 25fe42fc33045159ab7cd6f47eef137e44ecf8703829fae6b263fcd2abebab8e
3
+ metadata.gz: 2032f601f2b24c92f74206f77a2bea941fb4393bd1222f5279abaa3b934696b2
4
+ data.tar.gz: fbade8c18c3dc2c3bca4ec594e6d77445468ac01368a7d170324d3a3efa0a555
5
5
  SHA512:
6
- metadata.gz: 446846da6e6032788f4f637d277e6a682afa71b1d1cbc3661ca5c55fbce5cd3dcdaf6161aace8f54b18cf8b8676547951a407aa146316836a062216b8517e361
7
- data.tar.gz: 2bf4efd5ee989034947641d012e8ceedb97ff2c41cc466c925b9f23728635c4f9f9823002e961d412ce3577bad94e7d3eef319d9165c512fca92712d1592d83a
6
+ metadata.gz: abbb6f97276df4ea8cdfa82230b8aa3c298561e9d231e4fb2ccf2bea643ff376be243d366428d1aab9d9391918be913e6b47fe4ffa95ef4e68da388b6b16011d
7
+ data.tar.gz: d844e06ed11f8f44d51f959380dbd2da935abebac67f7195ecf9e67fd63aacf4f14c7e1e7267b922e804de62ca1babd05b01143cff416465de93317edaec595c
@@ -90,9 +90,12 @@ module ActiveScaffold::Config
90
90
  # default file format to export, it can be changed in the form if show_form is enabled
91
91
  attr_accessor :default_file_format
92
92
 
93
- attr_writer :default_deselected_columns
93
+ def default_deselected_columns=(val)
94
+ @default_deselected_columns = ActiveScaffold::DataStructures::Set.new(*val)
95
+ end
96
+
94
97
  def default_deselected_columns
95
- self.default_deselected_columns = [] if @default_deselected_columns.nil?
98
+ self.default_deselected_columns = ActiveScaffold::DataStructures::Set.new if @default_deselected_columns.nil?
96
99
  @default_deselected_columns
97
100
  end
98
101
 
@@ -1,5 +1,8 @@
1
1
  module ActiveScaffoldExport
2
2
  module Column
3
- attr_accessor :export_options
3
+ extend ActiveSupport::Concern
4
+ included do
5
+ attr_accessor :export_options
6
+ end
4
7
  end
5
8
  end
@@ -15,6 +15,9 @@ module ActiveScaffoldExport
15
15
 
16
16
  initializer 'active_scaffold_export.extensions' do
17
17
  ActiveScaffold::DataStructures::Column.send :include, ActiveScaffoldExport::Column
18
+ if defined? ActiveScaffold::DataStructures::ProxyColumn
19
+ ActiveScaffold::DataStructures::ProxyColumn.send :include, ActiveScaffoldExport::Column
20
+ end
18
21
  end
19
22
  end
20
23
  end
@@ -2,7 +2,7 @@ module ActiveScaffoldExport
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 8
5
- PATCH = 0
5
+ PATCH = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.0
4
+ version: 3.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Hochstein
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-07-22 00:00:00.000000000 Z
13
+ date: 2024-11-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_scaffold