active_scaffold_export 3.5.0 → 3.5.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
2
  SHA256:
3
- metadata.gz: 1016caf84c2b926ee4130076ce502c5a85a429713b3aa60972de0108448ba4bb
4
- data.tar.gz: 9fdc1b88b8b132ecb3ce0aed47c55d59b957e25b83eeceb0ad76859fbd600000
3
+ metadata.gz: 27bb01b27b1106e740763ee7c02e9d3deb1df2afb70a8ecccded8fa87c229496
4
+ data.tar.gz: 37cb223e2a416d8560f5727d03884f29591d8200b7bbde0fbb0147fe5038cab4
5
5
  SHA512:
6
- metadata.gz: 24749e90d1ede408c8ce20e5655f3c3382b75ecab798205f548e3a381f4deda7414385757de2fe3a85360561de6c795acb0689b316536052d5870100ebebddb1
7
- data.tar.gz: 66b565ed253e044606779faed2e05d7f29e567f58c26ffa5111cb01996af9dc3b47802dd907a8eb24b4ec7a39d4454c23eb2653520372a928ca5bb37a0b83184
6
+ metadata.gz: c30862703c29a5703f994b8793eadc49b4a8a6d21f05618679a31bc0f3f7e3a870c1d5fa2f38a72c3c56fd78d3be7ec42029099ad975cae935761accf56c39a0
7
+ data.tar.gz: 00f36259a4cf5876a678638560105991e139e5d289f3e4b9d5e00a65aaa0ebd50a00b41b92e3d19cc4ab8a3aa9b8d086b753aa8a7892137a9e88a9dc79a1e7a2
@@ -14,7 +14,4 @@ ActiveScaffold::Config::Core.class_eval do
14
14
  :export_force_quotes, :export_default_full_download,
15
15
  :export_default_delimiter, :export_default_skip_header,
16
16
  :export_default_file_format, :export_xlsx_avaliable
17
-
18
- ActiveScaffold::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_export] = :get
19
- ActiveScaffold::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:export] = :post
20
17
  end
@@ -1,8 +1,14 @@
1
1
  module ActiveScaffoldExport
2
- #do not use module Rails... cause Rails.logger will fail
3
- # not sure if it is a must though...
4
- #module Rails
5
- class Engine < ::Rails::Engine
2
+ class Engine < ::Rails::Engine
3
+ initializer 'active_scaffold_export.routes' do
4
+ ActiveSupport.on_load :active_scaffold_routing do
5
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_export] = :get
6
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:export] = :post
7
+ end
6
8
  end
7
- #end
9
+
10
+ initializer 'active_scaffold_sortable.extensions' do
11
+ require "active_scaffold_export/config/core.rb"
12
+ end
13
+ end
8
14
  end
@@ -2,7 +2,7 @@ module ActiveScaffoldExport
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 5
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -4,9 +4,6 @@ ActiveScaffold rescue throw "should have included ActiveScaffold plug in first.
4
4
  require 'active_scaffold_export/engine'
5
5
  require 'active_scaffold_export/version'
6
6
 
7
- # Load our overrides
8
- require "active_scaffold_export/config/core.rb"
9
-
10
7
  module ActiveScaffoldExport
11
8
  def self.root
12
9
  File.dirname(__FILE__) + "/.."
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.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Hochstein
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.6.0.pre
21
+ version: 3.7.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 3.6.0.pre
28
+ version: 3.7.1
29
29
  description: Exporting Records with ActiveScaffold
30
30
  email: activescaffold@googlegroups.com
31
31
  executables: []