Skip to content

Commit

Permalink
version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Jan 25, 2011
1 parent 4e6c85b commit 1f82321
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gemspec
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.summary = "A ripl plugin for multi-line eval."
s.description = "This ripl plugin allows you to evaluate multiple lines of Ruby code."
s.required_rubygems_version = ">= 1.3.6"
s.add_dependency 'ripl', '>= 0.2.6'
s.add_dependency 'ripl', '>= 0.3.0'
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
s.license = 'MIT'
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.rdoc
@@ -1,3 +1,6 @@
== 0.2.2
* fix for mri regexes

== 0.2.1
* rubinius and jruby support

Expand Down
5 changes: 4 additions & 1 deletion README.rdoc
Expand Up @@ -4,7 +4,7 @@ This {ripl}[http://github.com/cldwalker/ripl] plugin allows you to evaluate mult
== Install
Install the gem with

sudo gem install ripl-multi_line
gem install ripl-multi_line

== Usage

Expand All @@ -18,4 +18,7 @@ You can customize your multi-line prompt with the <tt>:multi_line_prompt</tt> op

If you are in multi-line situation, you can press <tt>ctrl+c</tt> and the last line will be removed.

== Todo
* Replaceable check if syntax is valid (allows use of this plugin for other languages than Ruby)

J-_-L
4 changes: 2 additions & 2 deletions lib/ripl/multi_line.rb
Expand Up @@ -2,7 +2,7 @@

module Ripl
module MultiLine
VERSION = '0.2.1'
VERSION = '0.2.2'
ERROR_REGEXP = /#{
[ %q%unexpected $end%,
%q%unterminated [a-z]+ meets end of file%,
Expand Down Expand Up @@ -67,7 +67,7 @@ def handle_interrupt
end
end

Ripl::Shell.send :include, Ripl::MultiLine
Ripl::Shell.include Ripl::MultiLine
Ripl.config[:multi_line_prompt] ||= '| '

# J-_-L

0 comments on commit 1f82321

Please sign in to comment.