Using Linguist::VERSION in gemspec

This commit is contained in:
Arfon Smith
2014-04-24 14:09:10 -05:00
parent cab85f3de3
commit fd7db27b48
2 changed files with 4 additions and 2 deletions

View File

@@ -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.'

View File

@@ -1,3 +1,3 @@
module Linguist
VERSION = "2.10.13"
end
end