bullet_train-super_scaffolding 1.4.4 → 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: 35d733fe6c57d884afd7c2118e902f93bd309a4d332fad6d4f0796e3704243a2
4
- data.tar.gz: 8b989d187e213a9e3572e00f238a51f4d053b81bf6f9b0796ab8d33c687821e7
3
+ metadata.gz: fd67b1055dc856cd27004d4132e2526c3276cfc2eeb704b31823e2077c37d074
4
+ data.tar.gz: 43b6ca6abb564bf4032ed73eb6cfad9e48da52f1433cca0282f2ab50dfbff776
5
5
  SHA512:
6
- metadata.gz: 39f13b63cfea069357a331f70890a84357497fb39aa92ade136ddcb8df8ecd1d8f8f313f5266860bb867aedb33bfb605c485089ed8ffe6c711df22f75bb88227
7
- data.tar.gz: e5c0569881b54985fe49b1debffaf9bb0849a74dcab47ab08c8433b4011e5f22f8db77c34ba6c22e99318bae4d4fa73fa8e32d47685524a40131bb80f4bd252e
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.4"
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.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-19 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