From bb51c6be5e81c28f882fb62d9746dea812b79739 Mon Sep 17 00:00:00 2001 From: Daniel Morrison Date: Sat, 27 Feb 2016 10:25:56 -0500 Subject: [PATCH] Bump version Extract version to separate file --- Rakefile | 1 + lib/unicode_math/version.rb | 3 +++ unicode_math.gemspec | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 lib/unicode_math/version.rb diff --git a/Rakefile b/Rakefile index 95850dc..b5df695 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,7 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' +Bundler::GemHelper.install_tasks(name: 'unicode_math') RSpec::Core::RakeTask.new task :default => :spec diff --git a/lib/unicode_math/version.rb b/lib/unicode_math/version.rb new file mode 100644 index 0000000..2c4aed2 --- /dev/null +++ b/lib/unicode_math/version.rb @@ -0,0 +1,3 @@ +module UnicodeMath + VERSION = "1.4.0" +end diff --git a/unicode_math.gemspec b/unicode_math.gemspec index 0113604..e73de18 100644 --- a/unicode_math.gemspec +++ b/unicode_math.gemspec @@ -1,8 +1,10 @@ # encoding: utf-8 +$:.push File.expand_path("../lib", __FILE__) +require "unicode_math/version" Gem::Specification.new do |gem| gem.name = 'unicode_math' - gem.version = '1.3.0' + gem.version = UnicodeMath::VERSION gem.author = 'Collective Idea' gem.email = 'info@collectiveidea.com'