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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46a46c523e7e696c6be3ce05792d1c18f93a60f356cda827f8191ceb80006bd0
4
- data.tar.gz: 969539ad6c139fb154343514e45e2b840bda610df0fe6068a98963a83137914b
3
+ metadata.gz: fd67b1055dc856cd27004d4132e2526c3276cfc2eeb704b31823e2077c37d074
4
+ data.tar.gz: 43b6ca6abb564bf4032ed73eb6cfad9e48da52f1433cca0282f2ab50dfbff776
5
5
  SHA512:
6
- metadata.gz: 76dfd86dfd2d8ea9271eb4e2b5f0cc3716ab34b0cc173f9c5a236b4178efe313dd3aa2ef6eacc70e5ff03867129d3920d2f1a345cbaf05dfb6e591953a5d46a9
7
- data.tar.gz: 34e2273abde8893ecfe7e8f40dd362e2d337ccfa1e0786eef377f9f8e42d868dad498df9a30f56f2b5c75a2aa39bc8195ae171b8f1a8335576f97a241c586802
6
+ metadata.gz: efd4102738adde359f9379e95d85f945d0b1e000b2c4c57bf2c8bee4f290c417541f0f484ac2e8497e4325a4bee09d4dbeb350e7b68fc85b4b2a01f211c22a29
7
+ data.tar.gz: 7120e71911d97882cee59bd0c751c55f511c0a45de79937eadcc3b341db40bfb9f6f857393ca20f24d24c2dbb4c18f32a58a07d595fffb2579a3d569573aead7
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.4.3"
3
+ VERSION = "1.4.5"
4
4
  end
5
5
  end
@@ -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.3
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-14 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard