bullet_train-themes-tailwind_css 1.6.36 → 1.6.38

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: c00371972891832462f3b34b69cfec0ecf77b804b772f45fd217c5fc570a5f99
4
+ data.tar.gz: a141fc86508ba07ef6fed1676889fe18c4476726913a68eb968d1ac51456a516
5
5
  SHA512:
6
- metadata.gz: fac122d302fb75bb470148983358771afa3f196eb871a535520283ab65ff624d26ed4316a593431902400398fdc0df154cb78938bc88d20ce653f56032aa995d
7
- data.tar.gz: cc8d66a8b2a193688a1f715c61875779d78b7a97303bdad2ff5397393c6e68c0c33449b2672ff3f783116f994d05c5c3783e853ee24f82e785be0a8ca0733a74
6
+ metadata.gz: d9480f0d951ab55023304a2c3d5ab3e1e990020ed7bdee36439b71b3801834ef772f2ca9cd292c69e8fe955acc4d3b97427b4bffe69a4bbf243be93e0b58fa33
7
+ data.tar.gz: 95d3b07ce1a0251eb976bb2f08025bc2f444658558556b9ce1fc9a86719e5416d68d6ef6c7ccaf96516cb46f0293c3eecec9f5097ae28157f560217eb734fb52
@@ -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.38"
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.38
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-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard