tilt 2.6.0 → 2.6.1
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/lib/tilt/template.rb +6 -1
- data/lib/tilt.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: c7d6bc14bd4e47e94393d385285b1e147bcd06eac37dbcc8549b9d34b3513d2c
|
4
|
+
data.tar.gz: b4c7d8bffee3d9002adca1498b3f132629d82f7b5b05414914fdfcf44cc15c93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0325d0761536f88b597e37a2bf5e6fa467f35ce7ced1921f1912a25c85492cbddcb3ed27811beb6f7fe09f3dc302104da199f662ca6ed92d4b303dfce2f96d64
|
7
|
+
data.tar.gz: a82be500d86a6f2df1de115bee8f506033b3679f838d3416e21f0773539d5eda3ab73d49c46d7fd2189bfaeaa0d26cb568d66123b96682a96c6604efe23461c3
|
data/lib/tilt/template.rb
CHANGED
@@ -473,7 +473,12 @@ module Tilt
|
|
473
473
|
end
|
474
474
|
|
475
475
|
def load_compiled_method(path, method_source)
|
476
|
-
|
476
|
+
# Write to a temporary path specific to the current process, and
|
477
|
+
# rename after writing. This prevents issues during parallel
|
478
|
+
# coverage testing.
|
479
|
+
tmp_path = "#{path}-#{$$}"
|
480
|
+
File.binwrite(tmp_path, method_source)
|
481
|
+
File.rename(tmp_path, path)
|
477
482
|
|
478
483
|
# Use load and not require, so unbind_compiled_method does not
|
479
484
|
# break if the same path is used more than once.
|
data/lib/tilt.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tilt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
- Jeremy Evans
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Generic interface to multiple Ruby template engines
|
15
15
|
email: code@jeremyevans.net
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
|
-
rubygems_version: 3.6.
|
90
|
+
rubygems_version: 3.6.7
|
91
91
|
specification_version: 4
|
92
92
|
summary: Generic interface to multiple Ruby template engines
|
93
93
|
test_files: []
|