bullet_train 1.7.3 → 1.7.5

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: 04be32762e339cbba1329b9e158b6243042e31ebb756e7c0459d53e564ee997e
4
- data.tar.gz: 4a8a8c5a1aa419374f3ac899745bed33ad6836af0b5a4940eab3f4153a9c7f08
3
+ metadata.gz: 61ac6dfc22d6d86ee7fd48ff56ddf2e97303407dd2ef6d9ff86388b4978fe623
4
+ data.tar.gz: a3f4d21607257850fb35df26f9fa8213087156a6b9c43666e2c226c88a7c033a
5
5
  SHA512:
6
- metadata.gz: 5a81a288d7b4755113e0d51e144651a80faa031d441f4c07af5526f9e219577e11bddb40aff2b0025127f82229e07196c9f821f516eac75b01ff7579cd89aedc
7
- data.tar.gz: 6ef5cf5cee72dad25bc6e96a5c88352329941686c4c18c2e41f7f5d9502f0b72f6e5242fa8d12dcab37cc652c020a34b6ba551baf3dabba9f169b75d9a24c780
6
+ metadata.gz: 5a5691e07b71a1a0b5bea6b4d12f790cb6d5af271bafb222e6f4c570eedd8cfab7fca871c4ccbc2d748e8d0c58763f351c77716dc1836b1e4d99025dcb2c36ac
7
+ data.tar.gz: 88847c77fdff62fd70f19fbb8dcd3f94c7fc8c9ea1ed06a2e16cc1964dfdd8f3b143be00e29d719221060b3ae1b0b874c83c747d590c0b51c81a3ec645e9e5af
@@ -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
@@ -9,7 +9,7 @@ you merge in version 1.5.0. Doing this should reduce the chances for merge confl
9
9
  To use the helper to modify your tests run this in a console (after updating to v1.4.11):
10
10
 
11
11
  ```
12
- bin/update/system_tests/use_device_test
12
+ bin/updates/system_tests/use_device_test
13
13
  ```
14
14
 
15
15
  Then you should:
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.7.3"
2
+ VERSION = "1.7.5"
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.5
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-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard