turbo-rails 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/turbo/streams/tag_builder.rb +1 -1
- data/lib/tasks/turbo_tasks.rake +3 -3
- data/lib/turbo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4482a7f7bf938ab7f2a3d7d9e387d632a64dca82605b8bf20cd8e2dce654488
|
4
|
+
data.tar.gz: 95b3c7e4b3d4d55205fee6c8b8f6bcba6acae2c13e9fa06dd90e5fb018854dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd2ea89d24c93904c1f8c701d0db808b85b9003c48b1596d57caed21512c87544565741709ed7532ab60a70cf7aa389f61c1e3420e36b9e7539126d786981528
|
7
|
+
data.tar.gz: b1d74905d811d787da2ee3afee23eb7ac8723f7bb93b09857b8e0deeb047407c3b4ce5ce8737ec2895e0bcb352480095b06a0b0c0b9f2e99aae748106291fd70
|
@@ -14,7 +14,7 @@
|
|
14
14
|
# <%= turbo_stream.append "entries" do %>
|
15
15
|
# <% # format is automatically switched, such that _entry.html.erb partial is rendered, not _entry.turbo_stream.erb %>
|
16
16
|
# <%= render partial: "entries/entry", locals: { entry: entry } %>
|
17
|
-
#
|
17
|
+
# <% end %>
|
18
18
|
#
|
19
19
|
# Or you can render the HTML that should be part of the update inline:
|
20
20
|
#
|
data/lib/tasks/turbo_tasks.rake
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
def
|
1
|
+
def run_turbo_install_template(path) system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../install/#{path}.rb", __dir__)}" end
|
2
2
|
|
3
3
|
namespace :turbo do
|
4
4
|
desc "Install Turbo into the app"
|
@@ -13,12 +13,12 @@ namespace :turbo do
|
|
13
13
|
namespace :install do
|
14
14
|
desc "Install Turbo into the app with asset pipeline"
|
15
15
|
task :asset_pipeline do
|
16
|
-
|
16
|
+
run_turbo_install_template "turbo_with_asset_pipeline"
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "Install Turbo into the app with webpacker"
|
20
20
|
task :webpacker do
|
21
|
-
|
21
|
+
run_turbo_install_template "turbo_with_webpacker"
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/turbo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbo-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stephenson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-01-
|
13
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|