bullet_train 1.7.8 → 1.7.10

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: 218265892a79f3d9eeedf83b0b06612d8c85d87d08c0f5c6e9e1cf0bb5af5ed9
4
+ data.tar.gz: a44a684a235ec09762a865492b10f46aa7c531318464776d484b7bb632345670
5
5
  SHA512:
6
- metadata.gz: 1a01e5b4a9281352c51a9f08044414d50dd6f7cec7c04df1cf8c706f52851610070ab1ca5c4e96faa6a6e5f5a0c9514eb6a04c6188b0199ea1f6238e7c48cdea
7
- data.tar.gz: 783f2028d835679148afe59ba9362cb432090b03adfaf5d4a7e8a98f97afa8bcc50679d81ac2cb085c7699fb2322e60b329acd4cdcc0be309c4c93dafbbe614e
6
+ metadata.gz: a4ed19153316987cfbc790b90fc9f1315036effc6f2ea616e8a5ed62bdf4295f9d07013f3528d04835ec30018edf912fcf24caad3188a0e83587f087c01ba2a4
7
+ data.tar.gz: 487b16de9dd83d1cf3b8d45c6c2386ec81b356652133e1560254f9186d5df4929bb570887d5391b227a6f631f5e9dc0321f5c58520a74144d1d838c42a2f9bd0
@@ -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.10"
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.10
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-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard