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 +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/lib/active_scaffold/engine.rb +5 -2
- data/lib/active_scaffold/version.rb +1 -1
- data/lib/active_scaffold.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1c01273f43a7214112a02b40bb586bba990baa0960e75977bd74263ef53d707
|
4
|
+
data.tar.gz: aa8a443eb2b4f64d368ebce26f1fa53667608dc9185fc2ef76ed365a11ee9224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
data/lib/active_scaffold.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|