From 1849c24f2ce773d7a896533feae0a94dd2e86213 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Thu, 6 Jun 2013 14:10:45 -0400 Subject: [PATCH 1/2] Adding version file Follow the standard structure of having a version.rb file --- lib/liquid.rb | 1 + lib/liquid/version.rb | 4 ++++ liquid.gemspec | 6 +++++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lib/liquid/version.rb diff --git a/lib/liquid.rb b/lib/liquid.rb index 82676d0..cb84a6e 100644 --- a/lib/liquid.rb +++ b/lib/liquid.rb @@ -45,6 +45,7 @@ module Liquid VariableParser = /\[[^\]]+\]|#{VariableSegment}+\??/o end +require "liquid/version" require 'liquid/drop' require 'liquid/extensions' require 'liquid/errors' diff --git a/lib/liquid/version.rb b/lib/liquid/version.rb new file mode 100644 index 0000000..d251519 --- /dev/null +++ b/lib/liquid/version.rb @@ -0,0 +1,4 @@ +# encoding: utf-8 +module Liquid + VERSION = "2.5.0" +end diff --git a/liquid.gemspec b/liquid.gemspec index 29ac4ea..0e909ca 100644 --- a/liquid.gemspec +++ b/liquid.gemspec @@ -1,8 +1,12 @@ # 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 = "2.5.0" + 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"] From 0d9353591bc797b3da0f37093cc9d3f3fe2a0762 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Thu, 6 Jun 2013 14:17:12 -0400 Subject: [PATCH 2/2] bump master version to 2.6.0 Bumping master version to 2.6.0 Adding 2.6.0 changes to history --- History.md | 8 ++++++++ lib/liquid/version.rb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index 09a4eae..6dbfe45 100644 --- a/History.md +++ b/History.md @@ -1,5 +1,13 @@ # Liquid Version History +## 2.6.0 / Master branch + +* Add reverse filter +* Add utf-8 support +* Cache for partials +* Avoid warnings in Ruby 1.9.3 +* Use of BigDecimal on filters to have better precision + ## 2.5.0 / 2013-03-06 * Prevent Object methods from being called on drops diff --git a/lib/liquid/version.rb b/lib/liquid/version.rb index d251519..ee4d213 100644 --- a/lib/liquid/version.rb +++ b/lib/liquid/version.rb @@ -1,4 +1,4 @@ # encoding: utf-8 module Liquid - VERSION = "2.5.0" + VERSION = "2.6.0" end