temple 0.10.1 → 0.10.2

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: '068887942852fa7b2d423e0e182c2e3f181548615ffc2a7c7e920a0516fdaba7'
4
- data.tar.gz: b71e5e33ac4b1fdac83bad09a0cd097063ae0e1128c9d1fcecc6b05031e0d7bf
3
+ metadata.gz: 3fdf456fd2d277a110681cc1d0dd228bba3b75306b3caa78fb12ad668a7665c6
4
+ data.tar.gz: 7dfdd5001be5c652254aab301e391d7652c0bc1e44a00ee9fe5002c1899e99c1
5
5
  SHA512:
6
- metadata.gz: c5b0fe64b446f461b6c9e8a2dfc7f2c51e0d6d25308ba8499c4b50468636388b1dd2b2cd4a1f5bc03d856475a75dd20bf67bc2302ae3b5d44fb51dab4260e91c
7
- data.tar.gz: c8d81dde3332684457f7452ab4a086fcddcceb47996267d0dfed28035c09e0fabbb5b360cdc4e3f0c0a4116bd48501b614dae4cd840b38ab84399253d162cd70
6
+ metadata.gz: 4d5847567944020f1be6ddf6b96b056ff0154cb26b00e71d4c736337cddc3e1ceb402ef4eabc3fa8a150ec56fd560cb0ac22358c8f1673bc2dfabb8407a482b9
7
+ data.tar.gz: f8f766aeb193a7bf781297dff7628d2e9d09840a241130f4a04f60b72e16d237c965f327696788e29f58ddadc1ce843392a52619363fc19dc5da66966d42ed09
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ 0.10.2
2
+
3
+ * Fix Sinatra capture_generator problem (#145)
4
+
1
5
  0.10.1
2
6
 
3
7
  * Use specified :capture_generator for nested captures (#112, #144)
@@ -55,7 +55,9 @@ module Temple
55
55
  end
56
56
 
57
57
  def on_capture(name, exp)
58
- capture_generator.new(**options, buffer: name).call(exp)
58
+ capture_generator.new(capture_generator: options[:capture_generator],
59
+ freeze_static: options[:freeze_static],
60
+ buffer: name).call(exp)
59
61
  end
60
62
 
61
63
  def on_static(text)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Temple
3
- VERSION = '0.10.1'
3
+ VERSION = '0.10.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus Holm
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-16 00:00:00.000000000 Z
12
+ date: 2023-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tilt