utility_belt 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/command_history.rb +21 -0
- data/utility_belt.gemspec +1 -1
- metadata +1 -2
- data/utility_belt-1.0.1.gem +0 -0
data/lib/command_history.rb
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
# http://blog.bleything.net/pages
|
|
3
3
|
# http://gilesbowkett.blogspot.com/2007/06/irbrc-modifications.html
|
|
4
4
|
# Ben's history stuff, slightly modified, plus hvi method
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Adds shell-style history display and replay to irb. The magic happens in
|
|
9
|
+
# the h, h!, and hw methods.
|
|
10
|
+
#
|
|
11
|
+
# == Authors
|
|
12
|
+
#
|
|
13
|
+
# * Ben Bleything <ben@bleything.net>
|
|
14
|
+
#
|
|
15
|
+
# == Copyright
|
|
16
|
+
#
|
|
17
|
+
# Copyright (c) 2007 Ben Bleything
|
|
18
|
+
#
|
|
19
|
+
# This code released under the terms of the BSD license.
|
|
20
|
+
#
|
|
21
|
+
# == Version
|
|
22
|
+
#
|
|
23
|
+
# $Id: history.rb 50 2007-07-30 18:55:09Z ben $
|
|
24
|
+
#
|
|
25
|
+
|
|
5
26
|
class Object
|
|
6
27
|
def history(how_many = 50)
|
|
7
28
|
history_size = Readline::HISTORY.size
|
data/utility_belt.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: utility_belt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Giles Bowkett
|
|
@@ -87,7 +87,6 @@ files:
|
|
|
87
87
|
- test
|
|
88
88
|
- test/string_to_proc_spec.rb
|
|
89
89
|
- test/utility_belt_spec.rb
|
|
90
|
-
- utility_belt-1.0.1.gem
|
|
91
90
|
- utility_belt.gemspec
|
|
92
91
|
has_rdoc: true
|
|
93
92
|
homepage: http://utilitybelt.rubyforge.org
|
data/utility_belt-1.0.1.gem
DELETED
|
Binary file
|