From e2eec18895919b2c05acc4d19354baf2234618ae Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Thu, 7 Jan 2016 18:19:53 -0500 Subject: [PATCH] move version to its own file for easier bumping --- jekyll-seo-tag.gemspec | 3 ++- lib/jekyll-seo-tag/version.rb | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lib/jekyll-seo-tag/version.rb diff --git a/jekyll-seo-tag.gemspec b/jekyll-seo-tag.gemspec index ddaa685..bc207b0 100644 --- a/jekyll-seo-tag.gemspec +++ b/jekyll-seo-tag.gemspec @@ -1,10 +1,11 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'jekyll-seo-tag/version' Gem::Specification.new do |spec| spec.name = "jekyll-seo-tag" - spec.version = "0.1.3" + spec.version = Jekyll::SeoTag::VERSION spec.authors = ["Ben Balter"] spec.email = ["ben.balter@github.com"] spec.summary = %q{A Jekyll plugin to add metadata tags for search engines and social networks to better index and display your site's content.} diff --git a/lib/jekyll-seo-tag/version.rb b/lib/jekyll-seo-tag/version.rb new file mode 100644 index 0000000..358cf64 --- /dev/null +++ b/lib/jekyll-seo-tag/version.rb @@ -0,0 +1,8 @@ +# Prevent bundler errors +module Liquid; class Tag; end; end + +module Jekyll + class SeoTag < Liquid::Tag + VERSION = "0.1.3" + end +end