trenni 3.6.0 → 3.6.1

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: b6cb9f956653b474a6e20554827f2ea1cd3f2e17b6fc798f6ee233239f89496d
4
- data.tar.gz: cc82816455b5de51b611c93219b66b688eddf6578363fadf84518a5d40e5dcd5
3
+ metadata.gz: 3ed121951aae78b890d97e69aa17a78641ba3420095d58aae07ac7b2222f2ec4
4
+ data.tar.gz: af24daf72a44f100cbb775d6a23c0694a617fdaab8b65eca1a30e9ae692e2c3b
5
5
  SHA512:
6
- metadata.gz: 551ff111c1d854098ac216c3e283b4ca017a7b5a9361464c694fec871098f61d108cafee2b33babdd83a101a31385741b8d503a6a79c79b1e5adee8cba66a9a9
7
- data.tar.gz: 27bede20b5c1707af4504d96783c4b6c3124990f9af60a9b7cdaa6c4e17fff883c400136a8fb9df038e4223c6fcb737d302750412915c031a3b8cf81d870af52
6
+ metadata.gz: c4458fa6a04b8a8e82715e89fa2125c9647f55d06f308751b36b55babbc99e60a29639c9fb161bb5aa7bd33be1c09f4663ddb76f2d4228cb68e8d5210ef1b073
7
+ data.tar.gz: 18e2d54b3e596716bc8b09bb8f1de2379e454b6159be086729b4e578ffc86b286269b7210715cc68506ccf5a00ac00f22f42a9180711814758dfe84e84855f41
@@ -19,6 +19,7 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  require_relative 'parsers'
22
+ require_relative 'markup'
22
23
 
23
24
  module Trenni
24
25
  # The output variable that will be used in templates:
@@ -118,7 +119,7 @@ module Trenni
118
119
  Buffer.new(to_string(scope), path: @buffer.path)
119
120
  end
120
121
 
121
- def to_proc(scope = nil)
122
+ def to_proc(scope = binding)
122
123
  @compiled_proc ||= eval("proc{|#{OUT}|;#{code}}", scope, @buffer.path).freeze
123
124
  end
124
125
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Trenni
22
- VERSION = "3.6.0"
22
+ VERSION = "3.6.1"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trenni
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-01 00:00:00.000000000 Z
11
+ date: 2019-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -170,8 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  requirements: []
173
- rubyforge_project:
174
- rubygems_version: 2.7.6
173
+ rubygems_version: 3.0.2
175
174
  signing_key:
176
175
  specification_version: 4
177
176
  summary: A fast native templating system that compiles directly to Ruby code.