bullet_train-themes 1.3.18 → 1.3.20

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: 042a8b18ffbadb3c1d3e095a2724ab1a083ded342ba0d886e5328246e2d37b32
4
- data.tar.gz: babb9a06febb7a43e3032723a4b424c230e5c6c897c9adca799f21688de333d2
3
+ metadata.gz: df62d05ea4270c455724189f86b69fb286a6ee671c612fbbc5e4385940e725d5
4
+ data.tar.gz: 81d039bc4fe52fc9de005c1a6b95b1aaca61582544b50c5019dfbd47b7cbb76f
5
5
  SHA512:
6
- metadata.gz: 7ded18f58dee40f00c77d84f9fe3073a1a96424805c5f5a20665022798cfd789e488e586d399a892c50f3ed17b312b1b0bcc718446e8b34a5d78736e3da462bc
7
- data.tar.gz: 95b0c319576cfe9af4aeca18a4c71227bdf310acc1eb4a6615b1de5f54e775ead9a81e848232a440edcb63fc52c6755f156dd5a9cea9ca42da3c17c73f74e1d4
6
+ metadata.gz: 14689f6ffb89a3fbeb7e6ef5292d0eeab1ef0d28e8e680e66ca8086861e72246c04dcbb01c800bf494ddac631443201c02298fac7db092b490c758b7e0f0bb81
7
+ data.tar.gz: 9569206883d668989e2ac0e344c130c86f874031204cfecf9dfa91136f9e1a4eeebcaf0b3e3cf6c7b39ab6564cb3061b6329e264dd484c160ae707a29d83be67
@@ -22,7 +22,7 @@ else
22
22
  end
23
23
 
24
24
  wrapper_options = { data: { controller: stimulus_controller }}
25
- wrapper_options[:data]["#{stimulus_controller}-enable-search-value"] = true if other_options[:search]
25
+ wrapper_options[:data]["#{stimulus_controller}-enable-search-value"] = true if (other_options[:search] || other_options[:accepts_new])
26
26
  wrapper_options[:data]["#{stimulus_controller}-accepts-new-value"] = true if other_options[:accepts_new]
27
27
  wrapper_options[:data]["#{stimulus_controller}-search-url-value"] = choices_url if choices_url.present?
28
28
  wrapper_options[:data]["#{stimulus_controller}-select2-options-value"] = select2_options.to_json if select2_options.present?
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.3.18"
3
+ VERSION = "1.3.20"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.18
4
+ version: 1.3.20
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-08-28 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard