bullet_train-themes-tailwind_css 1.6.36 → 1.6.37

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: bf787a151aa9487cb044f9a0454fafe0510cfd558e0c66986a87f73c34eafc0d
4
- data.tar.gz: 932f2220977984cfea1adf28d31c2669cba22a8babe614419290d52ee21c8b46
3
+ metadata.gz: ce9530d71a8361c6bb456c4beaa6642cc46a07e1648bdd1c1e1e3faab4b3fd11
4
+ data.tar.gz: 77d4a161e7b7881856d7c25edacbc78dfa8e584e3a3b3b5d9496353b810a63b2
5
5
  SHA512:
6
- metadata.gz: fac122d302fb75bb470148983358771afa3f196eb871a535520283ab65ff624d26ed4316a593431902400398fdc0df154cb78938bc88d20ce653f56032aa995d
7
- data.tar.gz: cc8d66a8b2a193688a1f715c61875779d78b7a97303bdad2ff5397393c6e68c0c33449b2672ff3f783116f994d05c5c3783e853ee24f82e785be0a8ca0733a74
6
+ metadata.gz: 451de0ae19122a55f1e4f3c58c03cfb0c54bd95a430f170cdf6fac3ffac00e3c0e72d4794bbed9930c3b398b3b64b5e0421e724e7abdb2d2fa9946600f8eb1f2
7
+ data.tar.gz: ffbe849948b162119d434f3e71da9447d42801dbd03542f09cc79bc9a8847fb56a3005104aace60b91e71c3a8221de71d047bde4577ab6980c03e69107ce2492
@@ -18,7 +18,7 @@ options[:placeholder] ||= labels.placeholder if labels.placeholder
18
18
  other_options ||= {}
19
19
  other_options[:help] = [other_options[:help], labels.help].compact.join(" ")
20
20
 
21
- errors = [method, method.to_s.gsub(/_id$/, '').to_sym].uniq.map { |attribute| form.object.errors.full_messages_for(attribute) }.flatten
21
+ errors = [method, method.to_s.delete_suffix("_id").to_sym].uniq.map { |attribute| form.object.errors.full_messages_for(attribute) }.flatten
22
22
  has_errors = errors.any? || partial.error? || other_options[:error].present?
23
23
 
24
24
  options[:class] = "#{options[:class]} block w-full rounded-md shadow-sm font-light"
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.6.36"
4
+ VERSION = "1.6.37"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-tailwind_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.36
4
+ version: 1.6.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard