bullet_train-themes-tailwind_css 1.6.35 → 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: 95b9120f1621848d69ce98917e18a568aa448400e2205cc199d009bfe56448cf
4
- data.tar.gz: 9c758ac9cd24c1d74207b3461413aeea74bf517b12768f593d2a75896b0e227b
3
+ metadata.gz: ce9530d71a8361c6bb456c4beaa6642cc46a07e1648bdd1c1e1e3faab4b3fd11
4
+ data.tar.gz: 77d4a161e7b7881856d7c25edacbc78dfa8e584e3a3b3b5d9496353b810a63b2
5
5
  SHA512:
6
- metadata.gz: e841ae96a037cbef546d89cad2ac7505c0ff5ad355082e64d8b841f78ebba2cb9a2134ba50fa3c40520584d75a12c3b1c5ed1ae1808abab380098d493ed43327
7
- data.tar.gz: dd22af363d586fb761368d78f0c093c74c044db5a4cddcd8acd654f0235d7a6b96fe628f33da88bf73f098fa48070862194c5c9e414fed2aa42d4eaa6cf18b73
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.35"
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.35
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-01 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