Permalink
Browse files

Release 0.4.0 with history and colorize support.

From: Eloy Duran <eloy.de.enige@gmail.com>

git-svn-id: http://svn.macosforge.org/repository/ruby/DietRB/trunk@4681 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent f530b0f commit 9aecf28deef9abd108927073dc2aca7545b97931 @alloy alloy committed Oct 8, 2010
Showing with 24 additions and 8 deletions.
  1. +5 −0 LICENSE
  2. +1 −0 Rakefile
  3. +1 −1 TODO
  4. +1 −1 VERSION
  5. +12 −6 dietrb.gemspec
  6. +2 −0 lib/irb/ext/colorize.rb
  7. +2 −0 lib/irb/ext/history.rb
View
@@ -1,3 +1,8 @@
Copyright (c) <2010> Eloy Duran, <eloy.de.enige@gmail.com>
+Portions Copyright (c) 2006-2010 Ben Bleything (history utils)
+Portions Copyright (c) 2006-2010 Paul Duncan <pabs@pablotron.org> (Wirble)
+Portions Copyright (c) 2009-2010 Jens Wille <jens.wille@gmail.com> (Wirble)
+Portions Copyright (c) 2006-2010 Giles Bowkett (light background color scheme)
+
This software is available under the Ruby license.
View
@@ -26,6 +26,7 @@ begin
gemspec.authors = ["Eloy Duran"]
gemspec.required_ruby_version = ::Gem::Requirement.new("~> 1.9")
+ gemspec.files.reject! { |file| file =~ /^extensions/ }
end
rescue LoadError
end
View
2 TODO
@@ -3,5 +3,5 @@
* Make sure the following formatters work: hirb, awesome_print, and looksee
* Make sure the majority of the utils in utility_belt work
* Possibly add copy-paste support as an ext
-* Make sure ported/used code is attributed
+* Make sure ported/used code is attributed and contact authors about Ruby license
* Decide whether or not we need more control for colorizing which could be done with Ripper::SexpBuilder
View
@@ -1 +1 @@
-0.3.0
+0.4.0
View
@@ -5,37 +5,42 @@
Gem::Specification.new do |s|
s.name = %q{dietrb}
- s.version = "0.3.0"
+ s.version = "0.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Eloy Duran"]
- s.date = %q{2010-02-24}
+ s.date = %q{2010-04-18}
s.default_executable = %q{dietrb}
s.description = %q{IRB on a diet, for MacRuby / Ruby 1.9}
s.email = %q{eloy.de.enige@gmail.com}
s.executables = ["dietrb"]
s.extra_rdoc_files = [
"LICENSE",
- "README.rdoc"
+ "README.rdoc",
+ "TODO"
]
s.files = [
".gitignore",
"LICENSE",
"README.rdoc",
"Rakefile",
+ "TODO",
"VERSION",
"bin/dietrb",
"dietrb.gemspec",
"lib/irb.rb",
"lib/irb/context.rb",
+ "lib/irb/ext/colorize.rb",
"lib/irb/ext/completion.rb",
+ "lib/irb/ext/history.rb",
"lib/irb/ext/macruby.rb",
"lib/irb/formatter.rb",
"lib/irb/source.rb",
+ "spec/colorize_spec.rb",
"spec/completion_spec.rb",
"spec/context_spec.rb",
"spec/formatter_spec.rb",
- "spec/irb_spec.rb",
+ "spec/history_spec.rb",
"spec/source_spec.rb",
"spec/spec_helper.rb"
]
@@ -46,10 +51,11 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.5}
s.summary = %q{IRB on a diet, for MacRuby / Ruby 1.9}
s.test_files = [
- "spec/completion_spec.rb",
+ "spec/colorize_spec.rb",
+ "spec/completion_spec.rb",
"spec/context_spec.rb",
"spec/formatter_spec.rb",
- "spec/irb_spec.rb",
+ "spec/history_spec.rb",
"spec/source_spec.rb",
"spec/spec_helper.rb"
]
View
@@ -1,4 +1,6 @@
module IRB
+ # This code is based upon Wirble (http://pablotron.org/software/wirble/) by
+ # Paul Duncan and Jens Wille.
class ColoredFormatter < Formatter
TYPE_ALIASES = {
:on_comma => :comma,
View
@@ -1,4 +1,6 @@
module IRB
+ # The util methods, history and history!, were taken from Ben Bleything's
+ # command_history.rb in utility_belt.
class History
class << self
attr_accessor :file, :max_entries_in_overview

0 comments on commit 9aecf28

Please sign in to comment.