active_scaffold_export 3.4.0 → 3.5.0

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: e9f7f034474f62c9c156d57118a1cf6c36b8f704d3e3d39b9df7ca352c238d4a
4
- data.tar.gz: f1d0c02ad1a4e503a00bc55459771a6853597cc99b5e1c869b22a11fc8539f43
3
+ metadata.gz: 1016caf84c2b926ee4130076ce502c5a85a429713b3aa60972de0108448ba4bb
4
+ data.tar.gz: 9fdc1b88b8b132ecb3ce0aed47c55d59b957e25b83eeceb0ad76859fbd600000
5
5
  SHA512:
6
- metadata.gz: 428f1456d4c2c96d756bc1bc9007de918233d6fb5104e4915a329a64a9e09e434db5c0e29babec790ba7facc4539d928c02d890e48dc1416fe96a8315a9baccd
7
- data.tar.gz: a4cd29b6d36228116cb2064592b8323a26aea1689fb27d6119432775b1f611474138adadfd1f27c2d147f44c69e8c4b16ba8855aa47e39cd1eac3c9306bceeae
6
+ metadata.gz: 24749e90d1ede408c8ce20e5655f3c3382b75ecab798205f548e3a381f4deda7414385757de2fe3a85360561de6c795acb0689b316536052d5870100ebebddb1
7
+ data.tar.gz: 66b565ed253e044606779faed2e05d7f29e567f58c26ffa5111cb01996af9dc3b47802dd907a8eb24b4ec7a39d4454c23eb2653520372a928ca5bb37a0b83184
@@ -8,8 +8,7 @@
8
8
  :headers => @export_columns.collect { |column| format_export_column_header_name(column) }
9
9
  }
10
10
 
11
- csv_lib = Object.const_defined?('CSV') ? CSV : FasterCSV
12
- data = csv_lib.generate(fcsv_options) do |csv|
11
+ data = CSV.generate(**fcsv_options) do |csv|
13
12
  csv << fcsv_options[:headers] unless params[:skip_header] == 'true'
14
13
  @records.each do |record|
15
14
  csv << @export_columns.collect { |column|
@@ -1,7 +1,7 @@
1
1
  module ActiveScaffoldExport
2
2
  module Version
3
3
  MAJOR = 3
4
- MINOR = 4
4
+ MINOR = 5
5
5
  PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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.4.0
4
+ version: 3.5.0
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: 2020-12-11 00:00:00.000000000 Z
13
+ date: 2024-04-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_scaffold
@@ -62,15 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '0'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 2.7.9
72
+ rubygems_version: 3.2.3
74
73
  signing_key:
75
74
  specification_version: 4
76
75
  summary: Ability to export records to CSV/XLSX with ActiveScaffold