Permalink
Browse files

add version

  • Loading branch information...
1 parent f21f0e4 commit 53e937aff5a44245feefbe8c79090c1f715681d8 @grosser committed Sep 17, 2011
Showing with 12 additions and 1 deletion.
  1. +4 −1 language_sniffer.gemspec
  2. +8 −0 lib/language_sniffer/version.rb
@@ -1,6 +1,9 @@
+$LOAD_PATH.push File.expand_path("../lib", __FILE__)
+require "language_sniffer/version"
+
Gem::Specification.new do |s|
s.name = 'language_sniffer'
- s.version = '1.0.0'
+ s.version = LanguageSniffer::Version::STRING
s.summary = "Language detection"
s.email = %q{grosser.michael@gmail.com}
s.homepage = %q{http://github.com/grosser/language_sniffer}
@@ -0,0 +1,8 @@
+module LanguageSniffer
+ module Version
+ MAJOR = 1
+ MINOR = 0
+ PATCH = 0
+ STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
+ end
+end

0 comments on commit 53e937a

Please sign in to comment.