Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move version into Battlenet class

  • Loading branch information...
commit 77ec037b46041c96599b96716c306000bcad1006 1 parent 4346110
BinaryMuse authored
Showing with 5 additions and 3 deletions.
  1. +0 −1  VERSION
  2. +2 −2 battlenet.gemspec
  3. +3 −0  lib/battlenet/version.rb
1  VERSION
View
@@ -1 +0,0 @@
-1.2.0
4 battlenet.gemspec
View
@@ -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"]
3  lib/battlenet/version.rb
View
@@ -0,0 +1,3 @@
+class Battlenet
+ VERSION = "1.2.0"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.