bullet_train-super_scaffolding 1.4.4 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- data/lib/scaffolding/attribute.rb +5 -0
- data/lib/scaffolding.rb +3 -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: 48f78ced9fba2f05df1a4ccb7f9adc5a99aa8076491d082f786470951ff2eaa8
|
4
|
+
data.tar.gz: b919b0c90fccb614c098cac055bb83a607c6c4bbfee80f03ddb2f450c44afa5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd63f49277c3054676d64ce4e3d48a020b0a616466661c724a7876ebbe7cad05567f2d66e74e3f44d2d2b87ac548bec5df82856905da7a192e0db0be35178211
|
7
|
+
data.tar.gz: e38e2db97e8c3c1c8522d8add545806bddbe055dce680f2c4b2e78f459910d6c65fb24ccdd5478289deea4c6b75f0bc943a3773001485f7d7928248d512bf518
|
@@ -138,6 +138,11 @@ class Scaffolding::Attribute
|
|
138
138
|
"option#{"s" if is_multiple?}"
|
139
139
|
end
|
140
140
|
when "cloudinary_image"
|
141
|
+
# TODO: We're preserving cloudinary_image here for backwards compatibility.
|
142
|
+
# Remove it in a future major release.
|
143
|
+
options[:height] = 200
|
144
|
+
"image"
|
145
|
+
when "image"
|
141
146
|
options[:height] = 200
|
142
147
|
"image"
|
143
148
|
when "phone_field"
|
data/lib/scaffolding.rb
CHANGED
@@ -9,6 +9,8 @@ module Scaffolding
|
|
9
9
|
[
|
10
10
|
"boolean",
|
11
11
|
"buttons",
|
12
|
+
# TODO: We're leaving cloudinary_image here for now for backwards compatibility.
|
13
|
+
# We should remove it in a future major update.
|
12
14
|
"cloudinary_image",
|
13
15
|
"color_picker",
|
14
16
|
"date_and_time_field",
|
@@ -16,6 +18,7 @@ module Scaffolding
|
|
16
18
|
"email_field",
|
17
19
|
"emoji_field",
|
18
20
|
"file_field",
|
21
|
+
"image",
|
19
22
|
"number_field",
|
20
23
|
"options",
|
21
24
|
"password_field",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-super_scaffolding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|