bullet_train 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04be32762e339cbba1329b9e158b6243042e31ebb756e7c0459d53e564ee997e
4
- data.tar.gz: 4a8a8c5a1aa419374f3ac899745bed33ad6836af0b5a4940eab3f4153a9c7f08
3
+ metadata.gz: 45ac086294fdb4fffcde6e7b385b2466303cd8f5d57f5ad3668867ad0809bbea
4
+ data.tar.gz: 423f3f4b4c0ab2d7187f3db297b7d61a7fb9037757a00b76d687954fa925ef90
5
5
  SHA512:
6
- metadata.gz: 5a81a288d7b4755113e0d51e144651a80faa031d441f4c07af5526f9e219577e11bddb40aff2b0025127f82229e07196c9f821f516eac75b01ff7579cd89aedc
7
- data.tar.gz: 6ef5cf5cee72dad25bc6e96a5c88352329941686c4c18c2e41f7f5d9502f0b72f6e5242fa8d12dcab37cc652c020a34b6ba551baf3dabba9f169b75d9a24c780
6
+ metadata.gz: 011e90e260b008649eae455710b039788c9b4f5b5ef5fa2f5d629f60babc9d14289fe212bdb8fa254f4a6c9cec1f7403e23c838814501adff3a490314320cd08
7
+ data.tar.gz: 5e858238daa941082b52640ebb1c7f2165146624c6ee00aaa820d47e4f7bd356d4bc4fb9018f91f4a9802d95608d330cc9c56190c56eb07621fb1cd94cc8e80e
@@ -25,11 +25,11 @@ en:
25
25
 
26
26
  ## Generate Buttons Programmatically
27
27
 
28
- You can generate the available buttons using a collection of database objects by passing the `options` option like so:
28
+ You can generate the available buttons using a collection of database objects by passing the `button_field_options` option like so:
29
29
 
30
30
  ```erb
31
31
  <%= render 'shared/fields/buttons', form: form, method: :category_id,
32
- options: Category.all.map { |category| [category.id, category.label_string] } %>
32
+ button_field_options: Category.all.map { |category| [category.id, category.label_string] } %>
33
33
  ```
34
34
 
35
35
  ## Allow Multiple Button Selections
@@ -38,7 +38,7 @@ You can allow multiple buttons to be selected using the `multiple` option, like
38
38
 
39
39
  ```erb
40
40
  <%= render 'shared/fields/buttons', form: form, method: :category_ids,
41
- options: Category.all.map { |category| [category.id, category.label_string] }, options: {multiple: true} %>
41
+ button_field_options: Category.all.map { |category| [category.id, category.label_string] }, options: {multiple: true} %>
42
42
  ```
43
43
 
44
44
  ## Dynamically Updating Form Fields
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.7.3"
2
+ VERSION = "1.7.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
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-05-06 00:00:00.000000000 Z
11
+ date: 2024-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard