bullet_train 1.7.7 → 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: 503eb048350e34d239785db12e9dc4c1c26602ee043e0e44d36994e5f523910c
4
- data.tar.gz: 7ef703dc2c32cbfc4ac3644809512ed7be432adec675c0c36d9cb1060161bec1
3
+ metadata.gz: 990e8e2152fe4336a91a7476964b9635633b97608dc436de2c52322e8707a75a
4
+ data.tar.gz: 751e11af8ba96d42d806dab7ec2a0a735645af19adf0f6e22bdd702d2dcaa689
5
5
  SHA512:
6
- metadata.gz: 4b402f084c44fbcc9135facaab6caa466dc773c1969bea40408b4c24c75951f440e7504a374af1215bdafe6e0e9eb273f9977c71d7902ac46fe88c5bbbd210d4
7
- data.tar.gz: 001b8d53a865a5e6a673243283239c5324894cab749d01df6448237b4ae7126bf3b26bf96e8c7036adabb50e83a74f0179bf889b1919a03bf31426a0a013209e
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.7"
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.7
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-23 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