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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81c2119468be8e96eb8e02da3fe72df9996aaa16fc610d4b0bf2b5f902663004
4
- data.tar.gz: 21fc7309b4f17ae08e76b73f70bdc6c9d6a456a37d354aa53c45313b4c5e017d
3
+ metadata.gz: 3ae9b21661109c4c0c2bd33752ed1351c90fbceed029340517cef5bfa9119f7b
4
+ data.tar.gz: 66e40044dadce858725fb0421a1f7d0d79e8a962a61bf49936c0826857a54791
5
5
  SHA512:
6
- metadata.gz: 5353499e01978fa2b6036f2bd26bd4f76a3da28cd07a242aec9be06d67afb9125b49ba179e8d13748945f36c9cfecb276118d88952c600854f88ce4c65e0fb41
7
- data.tar.gz: 907614df89e2f67d3a087570eda988f55b498b85d65d4e2756eccafb2acfdcd7911ff4de726edadb3bec02b4428812b68d58ca86fcb8d884dbf1f4beaf304e2b
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?(:fragment_cache_key)
181
- key = @context.fragment_cache_key(key)
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
@@ -1,3 +1,3 @@
1
1
  class TurboStreamer
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  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.3.0
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-02-22 00:00:00.000000000 Z
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.1
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