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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35d733fe6c57d884afd7c2118e902f93bd309a4d332fad6d4f0796e3704243a2
4
- data.tar.gz: 8b989d187e213a9e3572e00f238a51f4d053b81bf6f9b0796ab8d33c687821e7
3
+ metadata.gz: 48f78ced9fba2f05df1a4ccb7f9adc5a99aa8076491d082f786470951ff2eaa8
4
+ data.tar.gz: b919b0c90fccb614c098cac055bb83a607c6c4bbfee80f03ddb2f450c44afa5c
5
5
  SHA512:
6
- metadata.gz: 39f13b63cfea069357a331f70890a84357497fb39aa92ade136ddcb8df8ecd1d8f8f313f5266860bb867aedb33bfb605c485089ed8ffe6c711df22f75bb88227
7
- data.tar.gz: e5c0569881b54985fe49b1debffaf9bb0849a74dcab47ab08c8433b4011e5f22f8db77c34ba6c22e99318bae4d4fa73fa8e32d47685524a40131bb80f4bd252e
6
+ metadata.gz: cd63f49277c3054676d64ce4e3d48a020b0a616466661c724a7876ebbe7cad05567f2d66e74e3f44d2d2b87ac548bec5df82856905da7a192e0db0be35178211
7
+ data.tar.gz: e38e2db97e8c3c1c8522d8add545806bddbe055dce680f2c4b2e78f459910d6c65fb24ccdd5478289deea4c6b75f0bc943a3773001485f7d7928248d512bf518
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.4.4"
3
+ VERSION = "1.4.6"
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.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-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