active_scaffold_batch 3.5.0 → 3.5.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: e32cd2f2a255541e078e22730f232b92e185802ad7d641313fe3b272354ddf53
4
- data.tar.gz: d42cdc9ddf6f6d5a461e3cf2b7abec64502aa839776d7302807a7a6b869ed0e3
3
+ metadata.gz: 5e267f6b7d07d753878be37829e54cfaaa406fa599d201f3a1de62f9cbe021ea
4
+ data.tar.gz: afaaf3ec17181f829cf44823810925ed05442bb16fbd81cd59a28efcee620cb5
5
5
  SHA512:
6
- metadata.gz: 1ab9e72e959c13dd367896fe9f00e48f17ae227739b94746391dfa4a9e4b1738983947dd8c6c2add37c90eddad814e470591fd2d30c76f201f3e408e0f15dc95
7
- data.tar.gz: 2d555a17a6e1bd929a2f6343cf49651db2a04672ab7e85fea85250d81b2c7acbad5dc6c673a0c7d5bc1cab7a8deea84cb0662558ea5c69eff67880e46d2bdceb
6
+ metadata.gz: 90339d953b420292b95bbd9ebfe98c50d86d7efc5c8867150c677a08993cbad81b61225204dde9762792188083c2ec740faaea6120ab26434352e174410d7997
7
+ data.tar.gz: 30ea04fb6b93a207fec12846c9ec7f3a83dce1a2dc070678f668f9c3cfb24fadb05af239d66e2965d05448f8197bd2dafc26a52712c7b19e2fd72ab70aced1b1
@@ -1,21 +1,21 @@
1
1
  module ActiveScaffoldBatch
2
2
  class Engine < ::Rails::Engine
3
- initializer("initialize_active_scaffold_batch", :after => "initialize_active_scaffold") do
4
- initializer 'active_scaffold_export.routes' do
5
- ActiveSupport.on_load :active_scaffold_routing do
6
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_edit] = :get
7
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_update] = :post
8
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_new] = :get
9
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_create] = :post
10
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_add] = :get
11
- #not working because routing picks show route instead
12
- #self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_destroy] = :get
13
- #you may define a route for your controller before resource routes
14
- #match 'players/batch_destroy' => 'players#batch_destroy', :via => [:get]
15
- self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_destroy] = :delete
16
- end
3
+ initializer 'active_scaffold_batch.routes' do
4
+ ActiveSupport.on_load :active_scaffold_routing do
5
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_edit] = :get
6
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_update] = :post
7
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_new] = :get
8
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_create] = :post
9
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_add] = :get
10
+ #not working because routing picks show route instead
11
+ #self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_destroy] = :get
12
+ #you may define a route for your controller before resource routes
13
+ #match 'players/batch_destroy' => 'players#batch_destroy', :via => [:get]
14
+ self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:batch_destroy] = :delete
17
15
  end
16
+ end
18
17
 
18
+ initializer("active_scaffold_batch.view") do
19
19
  ActiveSupport.on_load(:action_view) do
20
20
  begin
21
21
  include ActiveScaffold::Helpers::UpdateColumnHelpers
@@ -2,7 +2,7 @@ module ActiveScaffoldBatch
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_batch
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
  - Sergio Cambra
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-05 00:00:00.000000000 Z
12
+ date: 2024-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_scaffold