bullet_train 1.6.7 → 1.6.8

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: 6b55df5c6125bda6c222d08d76c04eccda1bbded6e923c67c9ed483ff48b9dc4
4
- data.tar.gz: e136630990d62556c4bc9177ebbb8c577ca17a8ffca11ca31c2417ca030260e1
3
+ metadata.gz: e52dca442328fb7835c9e086c06df9d64bccad712a58d49c1bc6aace5bf1face
4
+ data.tar.gz: f61ee8b016154de1487d9eb5a533eab9b4bfcf87453532e7672eeac014d0f584
5
5
  SHA512:
6
- metadata.gz: 0a48d0926e48c287e32ddb77f1f93f5b057f51053c8d47c63b7d7a480cd2911573f16c1ccf78a768cf606837bc7e00954456a70375ee74a96fcbbd3215f3fe58
7
- data.tar.gz: 76439c50ef936ced98a730f04158a356f5f33c70d476b6396bd34f25c2c7be77c6b1a535988fdbea02a81f9b7080492f522c471a6febf4575d930d50743cf1c5
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 `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.8"
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.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-10-23 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard