bullet_train-super_scaffolding 1.4.3 → 1.4.5
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: fd67b1055dc856cd27004d4132e2526c3276cfc2eeb704b31823e2077c37d074
|
4
|
+
data.tar.gz: 43b6ca6abb564bf4032ed73eb6cfad9e48da52f1433cca0282f2ab50dfbff776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efd4102738adde359f9379e95d85f945d0b1e000b2c4c57bf2c8bee4f290c417541f0f484ac2e8497e4325a4bee09d4dbeb350e7b68fc85b4b2a01f211c22a29
|
7
|
+
data.tar.gz: 7120e71911d97882cee59bd0c751c55f511c0a45de79937eadcc3b341db40bfb9f6f857393ca20f24d24c2dbb4c18f32a58a07d595fffb2579a3d569573aead7
|
@@ -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.5
|
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
|