active_scaffold_export 3.11.0 → 3.11.1

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: 2d5312e7623d39bea07a170c97a09ded3d0b8e4098be2f0a6a5f25a89a0e8504
4
- data.tar.gz: 0a97a570324341b12eba83242da5f13bd98b93c0d84bae2c5bb07616fc981ce1
3
+ metadata.gz: 79618eaca45b5eb8b3d9cd135b50e8b06e5fee7790a81fbaaa43a4cae1b7f2dd
4
+ data.tar.gz: 77fc4fa78545ed55feeae82e229eb807008faaf2086d538779ed6e53b372efe9
5
5
  SHA512:
6
- metadata.gz: 07610bac0c7d18ff5ce0875cc4c0eac12e65a8283f49bc3842ac39bfc397de99d932279bbe331f3114896bf9e6f675cd241f9d0788ce914e46c18a938ebaf1ff
7
- data.tar.gz: 53d34e052c132b57229c27daff2af74f3ba8dcb1a522097fff9dc63c681b12372baaf155fadf65e3b483cf039a26f3a679324a34d7fa723fda5dcee70e8c8cc7
6
+ metadata.gz: f01f9d182418c6b262082c692bd069d89126fc37de60487261b85b5bae074ef99d82476e17f80a4126056e848f266eb51fa1bc8f4b09d96a3880c7b408bfb0ef
7
+ data.tar.gz: 2a36267df4bc7b9f2ec8e3e7bc14dc27d36c7effdfccfc8ab29563637c9ff3a4d7135e31c8859be18e1fb3f4ba6dd0780cdd7f24b526e83aecab381f1f777801
@@ -1,5 +1,5 @@
1
1
  .active-scaffold-header div.actions a.show_export {
2
- background-image: url(<%= asset_path 'export.png' %>);
2
+ background-image: url('active_scaffold/export.png');
3
3
  background-position: 1px 50%;
4
4
  background-repeat: no-repeat;
5
5
  padding-left: 19px;
@@ -1,4 +1,4 @@
1
- <h3><%=as_(:columns_for_export)%></h3>
1
+ <h5><%=as_(:columns_for_export)%></h5>
2
2
  <%# TODO: use JS asset instead of inline JS %>
3
3
  <%= link_to as_(:select_all), '#', onclick: 'jQuery(".columnCheckbox").prop("checked", true); return false', class: 'active-scaffold-footer' %>
4
4
  |
@@ -15,7 +15,7 @@
15
15
  &nbsp;
16
16
  </div>
17
17
  <div class="separator"></div>
18
- <h3><%=as_(:options)%></h3>
18
+ <h5><%=as_(:options)%></h5>
19
19
  <div class="options checkbox-list">
20
20
  <% export_options.each do |row_optionss| %>
21
21
  <% row_optionss.each do |(option, label)| %>
@@ -163,7 +163,7 @@ module ActiveScaffold::Actions
163
163
  # The default name of the downloaded file.
164
164
  # You may override the method to specify your own file name generation.
165
165
  def export_file_name
166
- filename = self.controller_name.clone
166
+ filename = self.controller_name.dup
167
167
 
168
168
  if params[:format] && active_scaffold_config.export.formats.map(&:to_s).include?(params[:format])
169
169
  filename << ".#{params[:format]}"
@@ -2,7 +2,7 @@ module ActiveScaffoldExport
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 11
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -1,6 +1,3 @@
1
- ACTIVE_SCAFFOLD_EXPORT_GEM = true
2
- ActiveScaffold rescue throw "should have included ActiveScaffold plug in first. Please make sure that this plug-in comes alphabetically after the ActiveScaffold plug-in"
3
-
4
1
  require 'active_scaffold_export/engine'
5
2
  require 'active_scaffold_export/version'
6
3
 
@@ -26,3 +23,4 @@ module ActiveScaffold
26
23
  end
27
24
 
28
25
  ActionView::Base.send(:include, ActiveScaffold::Helpers::ExportHelpers)
26
+ ActiveScaffold.stylesheets << 'active_scaffold_export'
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.11.0
4
+ version: 3.11.1
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: 2025-09-23 00:00:00.000000000 Z
13
+ date: 2026-03-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_scaffold
@@ -36,8 +36,8 @@ extra_rdoc_files:
36
36
  files:
37
37
  - LICENSE.txt
38
38
  - README.md
39
- - app/assets/images/export.png
40
- - app/assets/stylesheets/active_scaffold_export.css.erb
39
+ - app/assets/images/active_scaffold/export.png
40
+ - app/assets/stylesheets/active_scaffold_export.css
41
41
  - app/assets/stylesheets/export-stylesheet-ie.css
42
42
  - app/views/active_scaffold_overrides/_export.csv.erb
43
43
  - app/views/active_scaffold_overrides/_export_form_body.html.erb