bullet_train 1.6.7 → 1.6.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e52dca442328fb7835c9e086c06df9d64bccad712a58d49c1bc6aace5bf1face
|
4
|
+
data.tar.gz: f61ee8b016154de1487d9eb5a533eab9b4bfcf87453532e7672eeac014d0f584
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce2fbb334c9fb0f05613c923fde81ca67c468a8806a46218a357de8183d7e718493575a2db22863db90d80933c023ff9fa45848f7cafb1d614cd8e180f66ead
|
7
|
+
data.tar.gz: fbde2a92b68e2d208f9293664f3398381e23c98811c1b8e4c2a5b86bbcad8f59c0f73a13863c17d034ca7d13364f6d37a471890e9ee70a1bc14ed07ec6eca14b
|
@@ -74,7 +74,7 @@ What if you'd instead want to:
|
|
74
74
|
* Show/hide multiple dependent fields based on the value of the `dependable` field.
|
75
75
|
* Update more than the field itself, but also the value of its `label`. As an example, the [`address_field`](/docs/field-partials/address-field.md) partial shows an empty "State / Province / Region" sub-field by default, and on changing the `:country_id` field to the United States, changes the whole `:region_id` to "State" as its label and with all US States as its choices.
|
76
76
|
|
77
|
-
For these situations, Bullet Train has a `
|
77
|
+
For these situations, Bullet Train has a `dependent_fields_frame` partial that's made to listen to `dependable:updated` events by default.
|
78
78
|
|
79
79
|
```erb
|
80
80
|
# update the super-select `dependable-dependents-selector-value` to "##{form.field_id(:heard_from, :dependent_fields)}" to match
|
data/docs/upgrades/yolo-130.md
CHANGED
@@ -146,7 +146,29 @@ git add -A
|
|
146
146
|
git commit -m "Upgrading Bullet Train gems."
|
147
147
|
```
|
148
148
|
|
149
|
-
###
|
149
|
+
### 6. Update the version of JavaScript packages
|
150
|
+
|
151
|
+
You'll need to also update your `package.json` to point to the same Bullet Train version set in your `Gemfile`.
|
152
|
+
|
153
|
+
Also note that we're removing the `^` "compatible with version" character. For each version change through `1.3.x` versions, we'll specify the exact version. `v1.4.0` releases (and above) include this change automatically.
|
154
|
+
|
155
|
+
So we're changing from:
|
156
|
+
|
157
|
+
```json
|
158
|
+
"@bullet-train/bullet-train": "^1.3.0",
|
159
|
+
"@bullet-train/bullet-train-sortable": "^1.3.0",
|
160
|
+
"@bullet-train/fields": "^1.3.0",
|
161
|
+
```
|
162
|
+
|
163
|
+
To this:
|
164
|
+
|
165
|
+
```json
|
166
|
+
"@bullet-train/bullet-train": "1.3.0",
|
167
|
+
"@bullet-train/bullet-train-sortable": "1.3.0",
|
168
|
+
"@bullet-train/fields": "1.3.0",
|
169
|
+
```
|
170
|
+
|
171
|
+
### 7. Run Tests.
|
150
172
|
|
151
173
|
```
|
152
174
|
rails test
|
@@ -155,7 +177,7 @@ rails test:system
|
|
155
177
|
|
156
178
|
If anything fails, investigate the failures and get things working again, and commit those changes.
|
157
179
|
|
158
|
-
###
|
180
|
+
### 8. Merge into `main` and delete the branch.
|
159
181
|
|
160
182
|
```
|
161
183
|
git checkout main
|
data/lib/bullet_train/version.rb
CHANGED
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.6.
|
4
|
+
version: 1.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|