Permalink
Browse files

Merge pull request #49 from judofyr/version-file

Move Chingu::VERSION into a separate file:
  • Loading branch information...
2 parents 55ff98f + c9ad94b commit 1b6533341caf476b157499af61a8ab301c1c8bcc @ippa committed May 12, 2012
Showing with 7 additions and 5 deletions.
  1. +1 −2 chingu.gemspec
  2. +2 −3 lib/chingu.rb
  3. +4 −0 lib/chingu/version.rb
View
@@ -1,6 +1,5 @@
# -*- encoding: utf-8 -*-
-require File.dirname(__FILE__) + '/lib/chingu'
-include Chingu
+require File.dirname(__FILE__) + '/lib/chingu/version'
Gem::Specification.new do |s|
s.name = "chingu"
View
@@ -36,11 +36,10 @@
require_all "#{CHINGU_ROOT}/chingu/async"
require_all "#{CHINGU_ROOT}/chingu/async_tasks"
require_all "#{CHINGU_ROOT}/chingu"
+require_all "#{CHINGU_ROOT}/chingu/version"
module Chingu
- VERSION = "0.9rc8"
-
DEBUG_COLOR = Gosu::Color.new(0xFFFF0000)
DEBUG_ZORDER = 9999
INFINITY = 1.0 / 0
-end
+end
View
@@ -0,0 +1,4 @@
+module Chingu
+ VERSION = "0.9rc8"
+end
+

0 comments on commit 1b65333

Please sign in to comment.