bullet_train 1.7.8 → 1.7.9

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: 2e2f257e003e2c1aececd14a9a40521734678641579311c1d1c44465dcf144de
4
- data.tar.gz: 694d1c387e0c5a1fc003727fb0b5793e5cd5bcfee0279b051f7fd1668d6c7bdc
3
+ metadata.gz: 990e8e2152fe4336a91a7476964b9635633b97608dc436de2c52322e8707a75a
4
+ data.tar.gz: 751e11af8ba96d42d806dab7ec2a0a735645af19adf0f6e22bdd702d2dcaa689
5
5
  SHA512:
6
- metadata.gz: 1a01e5b4a9281352c51a9f08044414d50dd6f7cec7c04df1cf8c706f52851610070ab1ca5c4e96faa6a6e5f5a0c9514eb6a04c6188b0199ea1f6238e7c48cdea
7
- data.tar.gz: 783f2028d835679148afe59ba9362cb432090b03adfaf5d4a7e8a98f97afa8bcc50679d81ac2cb085c7699fb2322e60b329acd4cdcc0be309c4c93dafbbe614e
6
+ metadata.gz: 210c3801c1020ffde7835789d90fffcb0ffebd7840bec6e2afed6487423180897414888b3ced6ef1b1bda642d421a6d58eaadea49a5f6a4656d63bce927640f0
7
+ data.tar.gz: 2012d61884669049258c67838da59eaf2fdb2dec9468fd6f577fb1e215947ea54caf6813dc8b37aa9cf201ad6a70f697a340683745843c4d218f612d7fbf0555
@@ -53,11 +53,13 @@ To let our `:heard_from_other` field handle the `dependable:updated` event, we'l
53
53
  <%= render 'shared/fields/text_field',
54
54
  method: :heard_from_other,
55
55
  id: form.field_id(:heard_from_other),
56
- options: {disabled: true},
57
- data: {
58
- controller: "field-availability",
59
- action: "dependable:updated->field-availability#toggle",
60
- field_availability_expected_value: "other"
56
+ options: {
57
+ disabled: true,
58
+ data: {
59
+ controller: "field-availability",
60
+ action: "dependable:updated->field-availability#toggle",
61
+ field_availability_expected_value: "other"
62
+ }
61
63
  }
62
64
  %>
63
65
  ```
@@ -114,8 +116,10 @@ We'll move the conditional on the `disabled` property. And we'll also let the `d
114
116
 
115
117
  <%= render 'shared/fields/text_field',
116
118
  method: :heard_from_other,
117
- options: {disabled: form.object&.heard_from != "other"},
118
- data: {"#{dependent_fields_controller_name}-target": "field"}
119
+ options: {
120
+ disabled: form.object&.heard_from != "other",
121
+ data: {"#{dependent_fields_controller_name}-target": "field"}
122
+ }
119
123
  %>
120
124
  <% end %>
121
125
  ```
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.7.8"
2
+ VERSION = "1.7.9"
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.8
4
+ version: 1.7.9
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-24 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard