From fd7db27b48702a3f7d7df91bee9a13f37cf79406 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Thu, 24 Apr 2014 14:09:10 -0500 Subject: [PATCH] Using Linguist::VERSION in gemspec --- github-linguist.gemspec | 4 +++- lib/linguist/version.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/github-linguist.gemspec b/github-linguist.gemspec index 53e32190..9d2f73c1 100644 --- a/github-linguist.gemspec +++ b/github-linguist.gemspec @@ -1,6 +1,8 @@ +require File.expand_path('../lib/linguist/version', __FILE__) + Gem::Specification.new do |s| s.name = 'github-linguist' - s.version = '2.10.13' + s.version = Linguist::VERSION s.summary = "GitHub Language detection" s.description = 'We use this library at GitHub to detect blob languages, highlight code, ignore binary files, suppress generated files in diffs, and generate language breakdown graphs.' diff --git a/lib/linguist/version.rb b/lib/linguist/version.rb index 07042275..804253f7 100644 --- a/lib/linguist/version.rb +++ b/lib/linguist/version.rb @@ -1,3 +1,3 @@ module Linguist VERSION = "2.10.13" -end \ No newline at end of file +end