Skip to content
Browse files

Move version into Battlenet class

  • Loading branch information...
1 parent 4346110 commit 77ec037b46041c96599b96716c306000bcad1006 Brandon Tilley committed Jan 30, 2012
Showing with 5 additions and 3 deletions.
  1. +0 −1 VERSION
  2. +2 −2 battlenet.gemspec
  3. +3 −0 lib/battlenet/version.rb
View
1 VERSION
@@ -1 +0,0 @@
-1.2.0
View
4 battlenet.gemspec
@@ -1,11 +1,11 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
-version = File.read(File.expand_path('./VERSION')).strip
+require 'battlenet/version'
Gem::Specification.new do |s|
s.name = "battlenet"
- s.version = version
+ s.version = Battlenet::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Brandon Tilley"]
s.email = ["brandon@brandontilley.com"]
View
3 lib/battlenet/version.rb
@@ -0,0 +1,3 @@
+class Battlenet
+ VERSION = "1.2.0"
+end

0 comments on commit 77ec037

Please sign in to comment.
Something went wrong with that request. Please try again.