mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5, the shim has broken some compatibility with Test::Unit::TestCase in some scenarios. Adjusts the test suite to support Minitest 5's syntax. Minitest versions 4 and below do not support the newer Minitest::Test class that arrived in version 5. For that case, use the MiniTest::Unit::TestCase class as a fallback Conflicts: test/integration/tags/for_tag_test.rb test/test_helper.rb
30 lines
906 B
Ruby
30 lines
906 B
Ruby
# encoding: utf-8
|
|
lib = File.expand_path('../lib/', __FILE__)
|
|
$:.unshift lib unless $:.include?(lib)
|
|
|
|
require "liquid/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "liquid"
|
|
s.version = Liquid::VERSION
|
|
s.platform = Gem::Platform::RUBY
|
|
s.summary = "A secure, non-evaling end user template engine with aesthetic markup."
|
|
s.authors = ["Tobias Luetke"]
|
|
s.email = ["tobi@leetsoft.com"]
|
|
s.homepage = "http://www.liquidmarkup.org"
|
|
s.license = "MIT"
|
|
#s.description = "A secure, non-evaling end user template engine with aesthetic markup."
|
|
|
|
s.required_rubygems_version = ">= 1.3.7"
|
|
|
|
s.test_files = Dir.glob("{test}/**/*")
|
|
s.files = Dir.glob("{lib}/**/*") + %w(MIT-LICENSE README.md)
|
|
|
|
s.extra_rdoc_files = ["History.md", "README.md"]
|
|
|
|
s.require_path = "lib"
|
|
|
|
s.add_development_dependency 'rake'
|
|
s.add_development_dependency 'minitest'
|
|
end
|