turbo-rails 0.8.0 → 0.9.0
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 +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/turbo.js +281 -97
- data/app/assets/javascripts/turbo.min.js +25 -0
- data/app/assets/javascripts/turbo.min.js.map +1 -0
- data/app/channels/turbo/streams/stream_name.rb +7 -0
- data/app/channels/turbo/streams_channel.rb +30 -2
- data/app/controllers/turbo/frames/frame_request.rb +5 -1
- data/app/helpers/turbo/streams_helper.rb +7 -1
- data/app/models/concerns/turbo/broadcastable.rb +18 -1
- data/lib/install/turbo_needs_redis.rb +2 -1
- data/lib/install/turbo_with_importmap.rb +1 -1
- data/lib/turbo/engine.rb +9 -1
- data/lib/turbo/version.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85ddd636b9212032598cc15c7b1999b9b38abd07d7b434a6a9dba9ad06ff2688
|
4
|
+
data.tar.gz: 3877b8a9522262db7ac83a7f1f573311cba8a48078d8d8f9187ccd9c02815202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74e2513dc61f17e252e99c2558e065d5b4df193fd5afcff1701dc90c26de230d6e912600f2fb528caf7cfd7e7bbe5ac21a0baa380d441cd2d7e6c411d5ca36ce
|
7
|
+
data.tar.gz: 46321360dfce72c310985373a43033df39471c243fcf409c6da1fd301e58ead9b32664376df1419de87cd297c884501ea2512fbdbdee25e1c0233fb1ae6ae201
|
data/README.md
CHANGED
@@ -61,7 +61,7 @@ import "@hotwired/turbo-rails"
|
|
61
61
|
|
62
62
|
## Usage
|
63
63
|
|
64
|
-
You can watch [the video introduction to Hotwire](https://hotwired.dev/#screencast), which focuses extensively on
|
64
|
+
You can watch [the video introduction to Hotwire](https://hotwired.dev/#screencast), which focuses extensively on demonstrating Turbo in a Rails demo. Then you should familiarize yourself with [Turbo handbook](https://turbo.hotwired.dev/handbook/introduction) to understand Drive, Frames, and Streams in-depth. Finally, dive into the code documentation by starting with [`Turbo::FramesHelper`](https://github.com/hotwired/turbo-rails/blob/main/app/helpers/turbo/frames_helper.rb), [`Turbo::StreamsHelper`](https://github.com/hotwired/turbo-rails/blob/main/app/helpers/turbo/streams_helper.rb), [`Turbo::Streams::TagBuilder`](https://github.com/hotwired/turbo-rails/blob/main/app/models/turbo/streams/tag_builder.rb), and [`Turbo::Broadcastable`](https://github.com/hotwired/turbo-rails/blob/main/app/models/concerns/turbo/broadcastable.rb).
|
65
65
|
|
66
66
|
|
67
67
|
## Compatibility with Rails UJS
|