para 0.12.4 → 0.12.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bac06958cd2f4e9d4d35a59338f77934fcb812341d56778e2284f8165a18b978
|
4
|
+
data.tar.gz: '085f64e0d60c60e5562219db39a1fdc90d37eaa3e549918bed9a80814ac3acca'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f32e3e3bd4c33a87ca98f900a0d46d03cc005737eb9131dd3395cb7247e0e926d45ceeefb2c8215f87eda98c19f77dd3e59b841d84dd544e250010fb8422f8f
|
7
|
+
data.tar.gz: 748a7875b0783387d1ebb8fbcb545827431e908aedd5381580a6aeed0703acf7354ef9aec4d03899110574e6cdd9071555519d86b441d0b812047bb6c56063af
|
@@ -38,6 +38,11 @@ Para.config do |config|
|
|
38
38
|
#
|
39
39
|
# config.uncollapse_inset_nested_fields = false
|
40
40
|
|
41
|
+
# Set this to false if you want to define the :file and :image simple form inputs in the
|
42
|
+
# app, to customize them.
|
43
|
+
#
|
44
|
+
# config.load_file_inputs = false
|
45
|
+
|
41
46
|
# Set if the Para::Breadcrumb::Controller module should be included into the
|
42
47
|
# app, allowing easy breadcrumbs management in the app.
|
43
48
|
#
|
data/lib/para/config.rb
CHANGED
@@ -49,6 +49,12 @@ module Para
|
|
49
49
|
mattr_accessor :uncollapse_inset_nested_fields
|
50
50
|
@@uncollapse_inset_nested_fields = true
|
51
51
|
|
52
|
+
# Allow setting `load_file_inputs` to false to disable loading of simple form file
|
53
|
+
# inputs from SimpleFormExtension::Inputs module, allowing to use custom file inputs
|
54
|
+
# from the app.
|
55
|
+
mattr_accessor :load_file_inputs
|
56
|
+
@@load_file_inputs = true
|
57
|
+
|
52
58
|
# Allows changing default cache store used by Para to store jobs through
|
53
59
|
# the ActiveJob::Status gem
|
54
60
|
#
|
data/lib/para/version.rb
CHANGED
@@ -8,9 +8,12 @@ module SimpleFormExtension
|
|
8
8
|
autoload :CollectionCheckBoxesInput
|
9
9
|
autoload :CollectionRadioButtonsInput
|
10
10
|
autoload :ColorInput
|
11
|
-
autoload :FileInput
|
12
|
-
autoload :ImageInput
|
13
11
|
autoload :SelectizeInput
|
14
12
|
autoload :SliderInput
|
13
|
+
|
14
|
+
if Para.config.load_file_inputs
|
15
|
+
autoload :FileInput
|
16
|
+
autoload :ImageInput
|
17
|
+
end
|
15
18
|
end
|
16
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: para
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentin Ballestrino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_decorator
|
@@ -792,7 +792,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
792
792
|
- !ruby/object:Gem::Version
|
793
793
|
version: '0'
|
794
794
|
requirements: []
|
795
|
-
rubygems_version: 3.5.
|
795
|
+
rubygems_version: 3.5.16
|
796
796
|
signing_key:
|
797
797
|
specification_version: 4
|
798
798
|
summary: Rails admin engine
|