bullet_train 1.6.7 → 1.6.9

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: 6b55df5c6125bda6c222d08d76c04eccda1bbded6e923c67c9ed483ff48b9dc4
4
- data.tar.gz: e136630990d62556c4bc9177ebbb8c577ca17a8ffca11ca31c2417ca030260e1
3
+ metadata.gz: fe9941415d7bf65539ce282a8fcc5cc0bc12a36944cda3af5dfc9b964baebefb
4
+ data.tar.gz: 764f8d8e938bf6392bef038faaac7e4f166afa9e4e392fe4b261385ba1d8db64
5
5
  SHA512:
6
- metadata.gz: 0a48d0926e48c287e32ddb77f1f93f5b057f51053c8d47c63b7d7a480cd2911573f16c1ccf78a768cf606837bc7e00954456a70375ee74a96fcbbd3215f3fe58
7
- data.tar.gz: 76439c50ef936ced98a730f04158a356f5f33c70d476b6396bd34f25c2c7be77c6b1a535988fdbea02a81f9b7080492f522c471a6febf4575d930d50743cf1c5
6
+ metadata.gz: 00e3a65216eb8d06ac092e98ca2a9254a451fc5000e9564cc6ef3336cf2fc0982cbcde73585f6a85cd2bfe505ed583bae8f51c8c687cacc33b3e510f6851c15c
7
+ data.tar.gz: ce80b04d895361a4922bc86e2ee97aa9cc39d8c34bc73f09c8466647be6a1e006136ebf760f5fc717898dc7736c487aa87647bdc509fb10d787f137f05fe228a
@@ -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 `dependent_fields_turbo_frame` partial that's made to listen to `dependable:updated` events by default.
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
@@ -146,7 +146,29 @@ git add -A
146
146
  git commit -m "Upgrading Bullet Train gems."
147
147
  ```
148
148
 
149
- ### 5. Run Tests.
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
- ### 6. Merge into `main` and delete the branch.
180
+ ### 8. Merge into `main` and delete the branch.
159
181
 
160
182
  ```
161
183
  git checkout main
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.6.7"
2
+ VERSION = "1.6.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.6.7
4
+ version: 1.6.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: 2023-10-23 00:00:00.000000000 Z
11
+ date: 2023-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard