tilt 2.0.6 → 2.0.7

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
  SHA1:
3
- metadata.gz: 4a64944bf1560252694d8d31faccc2441a4c35dc
4
- data.tar.gz: a1513a4660e965009d7bb91d48241cc3065d693a
3
+ metadata.gz: 979b58759b26a174d4d8bd50a44a1c597e92f382
4
+ data.tar.gz: 5debdcfa427c042650217d5596f7e3b8bb4ec5aa
5
5
  SHA512:
6
- metadata.gz: 3b4ae89e41a1e6bab214b9d72eba0e656b08385e521a043de35da9bc8a1d7fbe14705165bd8c0c4bbfa346f0f82b6816f1c780a17cc894dfcd810be8e447cce7
7
- data.tar.gz: 291502cb76dd404e9ae5c53283b262063af0fc503a209d05370b627b793a62a29f77420e159f8ac389baf884c0316fb6bb14230df53dd9ec093efb64e9d23fac
6
+ metadata.gz: ec0b3d559111342335705860143350f0e20d004cc7ee680b2ef5a77c3e93ee57f2ddca4487946b52ad753882d2d96aafe0182a91c0b4d1eecf0f823829319448
7
+ data.tar.gz: b4ea47644310701876f05cf06950a0e264d04581f5316c3b6b23d076a0dd3c22550928fa863bce89afa88b8b18219b6820cfda21745778a86bb3d4235b2197e3
@@ -1,3 +1,7 @@
1
+ ## 2.0.7 (2017-03-19)
2
+
3
+ * Do not modify BasicObject during template compilation on ruby 2.0+ (#309, jeremyevans)
4
+
1
5
  ## 2.0.6 (2017-01-26)
2
6
 
3
7
  * Add support for LiveScript (#286, @Announcement Jacob Francis Powers)
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ gem 'rake'
4
4
  gem 'minitest', '~> 5.0'
5
5
 
6
6
  group :development do
7
- gem 'yard', '~> 0.8.6'
7
+ gem 'yard', '~> 0.9.0'
8
8
  gem 'ronn', '~> 0.7.3'
9
9
  end
10
10
 
@@ -4,7 +4,7 @@ require 'tilt/template'
4
4
  # Namespace for Tilt. This module is not intended to be included anywhere.
5
5
  module Tilt
6
6
  # Current version.
7
- VERSION = '2.0.6'
7
+ VERSION = '2.0.7'
8
8
 
9
9
  @default_mapping = Mapping.new
10
10
 
@@ -2,7 +2,16 @@ require 'thread'
2
2
 
3
3
  module Tilt
4
4
  # @private
5
- TOPOBJECT = Object.superclass || Object
5
+ TOPOBJECT = if RUBY_VERSION >= '2.0'
6
+ # @private
7
+ module CompiledTemplates
8
+ self
9
+ end
10
+ elsif RUBY_VERSION >= '1.9'
11
+ BasicObject
12
+ else
13
+ Object
14
+ end
6
15
  # @private
7
16
  LOCK = Mutex.new
8
17
 
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = 'tilt'
6
- s.version = '2.0.6'
7
- s.date = '2017-01-26'
6
+ s.version = '2.0.7'
7
+ s.date = '2017-03-19'
8
8
 
9
9
  s.description = "Generic interface to multiple Ruby template engines"
10
10
  s.summary = s.description
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tilt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Tomayko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-03-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Generic interface to multiple Ruby template engines
14
14
  email: r@tomayko.com
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.5.1
148
+ rubygems_version: 2.6.8
149
149
  signing_key:
150
150
  specification_version: 2
151
151
  summary: Generic interface to multiple Ruby template engines
@@ -190,4 +190,3 @@ test_files:
190
190
  - test/tilt_typescript_test.rb
191
191
  - test/tilt_wikiclothtemplate_test.rb
192
192
  - test/tilt_yajltemplate_test.rb
193
- has_rdoc: