active_scaffold 3.7.1 → 3.7.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: d7debc9ce2befd3f2d71287600caa1d45a0667064315e6666564feaf4cc7dd9e
4
- data.tar.gz: 47315a56e65cad1164aba74b672aaeba53d404c2e82106a7765f51fd2f059d34
3
+ metadata.gz: f1c01273f43a7214112a02b40bb586bba990baa0960e75977bd74263ef53d707
4
+ data.tar.gz: aa8a443eb2b4f64d368ebce26f1fa53667608dc9185fc2ef76ed365a11ee9224
5
5
  SHA512:
6
- metadata.gz: fbf8863ff656077485d071eebef80706b91d34c474f9f08f4edd1a1e98448eeb24b5ef4df36e8c06e5edb72da60b1ccf9e32e3e73972dcc6466d3fe653bea22c
7
- data.tar.gz: 1cd3b5d872b7f62be2a7eebfbb8b974ac8fa4cd2ff30ced0cbb37352f6e6a4990f6a616a527d4b41b1af47f8851ce959d81259796ceed061c994eeb20218b93c
6
+ metadata.gz: 187a8c7a33e53747b87035c156776b5d0a4318eb2937fd40e80e73fc4571ea0a4c7d514c8d7f6bbafd361311b55f1588470017465dae1ed534221767b04f328e
7
+ data.tar.gz: 50b05425009f23b58e53d2984aebe9e7e6b16909638ae48d20ae866137a99e5b83579783f30c40084cb9aadc176dc9f1dbb966b3de516298165ce926def47e60
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ = 3.7.2
2
+ - Fix routes
3
+
4
+ = 3.7.1
1
5
  - Nullable boolean columns default to use :boolean form_ui instead of :checkbox
2
6
  - Display the value set in options[:include_blank] for boolean columns when value is nil, to match the label in the form
3
7
  - Support :select_multiple in search_ui, and :draggable in form_ui and search_ui, as shorthands
@@ -4,15 +4,18 @@ module ActiveScaffold
4
4
  ActiveSupport.on_load :action_controller do
5
5
  require 'active_scaffold/extensions/action_controller_rescueing'
6
6
  require 'active_scaffold/extensions/action_controller_rendering'
7
- require 'active_scaffold/extensions/routing_mapper'
8
7
  include ActiveScaffold::Core
9
8
  include ActiveScaffold::RespondsToParent
10
9
  include ActiveScaffold::Helpers::ControllerHelpers
11
10
  include ActiveScaffold::ActiveRecordPermissions::ModelUserAccess::Controller
12
- ActiveScaffold::Bridges.prepare_all
13
11
  end
14
12
  end
15
13
 
14
+ config.after_initialize do
15
+ require 'active_scaffold/extensions/routing_mapper'
16
+ ActiveScaffold::Bridges.prepare_all
17
+ end
18
+
16
19
  initializer 'active_scaffold.action_view' do
17
20
  ActiveSupport.on_load :action_view do
18
21
  require 'active_scaffold/extensions/action_view_rendering'
@@ -2,7 +2,7 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 7
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -11,6 +11,7 @@ module ActiveScaffold
11
11
  autoload :OrmChecks, 'active_scaffold/orm_checks'
12
12
  autoload :Registry, 'active_scaffold/registry'
13
13
  autoload :RespondsToParent, 'active_scaffold/responds_to_parent'
14
+ autoload :Routing, 'active_scaffold/extensions/routing_mapper'
14
15
  autoload :Tableless, 'active_scaffold/tableless'
15
16
  autoload :Version, 'active_scaffold/version'
16
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Many, see README
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails