Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move version to separate file.

  • Loading branch information...
commit e9bd089e5d262abd1e8767b4a329ff3a9cff8887 1 parent c86bd9f
@pmahoney authored
View
2  .gemspec
@@ -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  lib/ripl/readline/em.rb
@@ -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
View
7 lib/ripl/readline/em/version.rb
@@ -0,0 +1,7 @@
+module Ripl
+ module Readline
+ module Em
+ VERSION = '0.2.1'
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.