trenni 3.5.0 → 3.6.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
- SHA1:
3
- metadata.gz: 3399e30eef6fd6ae4d121c9b74e51eb9a42ee341
4
- data.tar.gz: eb5d397625e160c2d3b1cc4d08dff6b866008fae
2
+ SHA256:
3
+ metadata.gz: b6cb9f956653b474a6e20554827f2ea1cd3f2e17b6fc798f6ee233239f89496d
4
+ data.tar.gz: cc82816455b5de51b611c93219b66b688eddf6578363fadf84518a5d40e5dcd5
5
5
  SHA512:
6
- metadata.gz: b499cbed363cecd40b97095439cd747cec8bd3593d9f6c2db10d47423314da5c194dc3a821906f7b2f56713a4671d9fa88dd4de90e408821f0c215cffc3266e0
7
- data.tar.gz: aa8c2449315c50e951425305cc8fb693407891c6b39d63787927d80b9ed53d9d0de60dfe80cdebd91c78d371ff64add2245e97f402046cf6e16fc7ae25dc4c36
6
+ metadata.gz: 551ff111c1d854098ac216c3e283b4ca017a7b5a9361464c694fec871098f61d108cafee2b33babdd83a101a31385741b8d503a6a79c79b1e5adee8cba66a9a9
7
+ data.tar.gz: 27bede20b5c1707af4504d96783c4b6c3124990f9af60a9b7cdaa6c4e17fff883c400136a8fb9df038e4223c6fcb737d302750412915c031a3b8cf81d870af52
@@ -1,18 +1,24 @@
1
1
  language: ruby
2
2
  sudo: false
3
+
3
4
  before_install:
5
+ - gem update --system
4
6
  - gem install bundler
5
- - gem update bundler
7
+
6
8
  before_script:
7
9
  - sh -c "cd ext && rake compile"
10
+
8
11
  rvm:
9
- - 2.1.8
10
- - 2.2.4
11
- - 2.3.0
12
- - 2.4.0
12
+ - 2.1
13
+ - 2.2
14
+ - 2.3
15
+ - 2.4
16
+ - 2.5
17
+ - 2.6
13
18
  - ruby-head
14
19
  - jruby-head
15
20
  - rbx-2
21
+
16
22
  env:
17
23
  - COVERAGE=true
18
24
  - COVERAGE=true TRENNI_PREFER_FALLBACK=y
@@ -110,6 +110,8 @@ module Trenni
110
110
  output ||= output_buffer
111
111
 
112
112
  scope.instance_exec(output, &to_proc)
113
+
114
+ return output
113
115
  end
114
116
 
115
117
  def to_buffer(scope)
@@ -117,7 +119,7 @@ module Trenni
117
119
  end
118
120
 
119
121
  def to_proc(scope = nil)
120
- @compiled_proc ||= eval("proc{|#{OUT}|;#{code};#{OUT}}", scope, @buffer.path).freeze
122
+ @compiled_proc ||= eval("proc{|#{OUT}|;#{code}}", scope, @buffer.path).freeze
121
123
  end
122
124
 
123
125
  protected
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Trenni
22
- VERSION = "3.5.0"
22
+ VERSION = "3.6.0"
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.5.0
4
+ version: 3.6.0
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-02-14 00:00:00.000000000 Z
11
+ date: 2018-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.6.12
174
+ rubygems_version: 2.7.6
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: A fast native templating system that compiles directly to Ruby code.