turbostreamer 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/turbostreamer/template.rb +2 -2
- data/lib/turbostreamer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ae9b21661109c4c0c2bd33752ed1351c90fbceed029340517cef5bfa9119f7b
|
4
|
+
data.tar.gz: 66e40044dadce858725fb0421a1f7d0d79e8a962a61bf49936c0826857a54791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2c3227714fc63140972a3222e0d7922ea842c565c01cebdefe509d067bb8e990e47efe5aad8284fa1cac9e8d63aeb0b3dd40d4569e5eb6d7d29f22d1f95e241
|
7
|
+
data.tar.gz: e63e9fb64ddfadf61c427ea2c2e47ec3d072b806b050a7f7a53d6f507898c61df40e8ed3b01230413b66afd486cc7dc31f857943f59778e2e56ed1f24605cc45
|
@@ -177,8 +177,8 @@ class TurboStreamer::Template < TurboStreamer
|
|
177
177
|
name_options = options.slice(:skip_digest, :virtual_path)
|
178
178
|
key = _fragment_name_with_digest(key, name_options)
|
179
179
|
|
180
|
-
if @context.respond_to?(:
|
181
|
-
key = @context.
|
180
|
+
if @context.respond_to?(:combined_fragment_cache_key)
|
181
|
+
key = @context.combined_fragment_cache_key(key)
|
182
182
|
elsif ::Hash === key
|
183
183
|
key = url_for(key).split('://', 2).last
|
184
184
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbostreamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
|
-
rubygems_version: 3.0.
|
237
|
+
rubygems_version: 3.0.3
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: Stream JSON via a Builder-style DSL
|