Permalink
Browse files

Move version to separate file.

  • Loading branch information...
1 parent c86bd9f commit e9bd089e5d262abd1e8767b4a329ff3a9cff8887 @pmahoney committed Feb 18, 2012
Showing with 9 additions and 3 deletions.
  1. +1 −1 .gemspec
  2. +1 −2 lib/ripl/readline/em.rb
  3. +7 −0 lib/ripl/readline/em/version.rb
View
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
require 'rubygems' unless Object.const_defined?(:Gem)
$:.push File.dirname(__FILE__) + "/lib"
-require 'ripl/readline/em'
+require 'ripl/readline/em/version'
Gem::Specification.new do |s|
s.name = "ripl-readline-em"
View
@@ -3,12 +3,11 @@
require 'ripl'
require 'ripl/readline'
require 'ripl/readline/eminput'
+require 'ripl/readline/em/version'
module Ripl
module Readline
module Em
- VERSION = '0.2.1'
-
def get_input
history << @input
@input
@@ -0,0 +1,7 @@
+module Ripl
+ module Readline
+ module Em
+ VERSION = '0.2.1'
+ end
+ end
+end

0 comments on commit e9bd089

Please sign in to comment.