Browse files

Version 0.4.1

* Made is to 'def meth;end' in an object (not a class) defines singleton methods, not methods on the class.
* Reorganized and reworded some documentation, adding info on rubygems-test
* added rubygems-test support
* added more tests to reflect new method definition behaviour
  • Loading branch information...
1 parent 6aacc87 commit 2ca16a06574f8f0c621f05d2e7bba5e0e99faf12 @banister banister committed Jan 24, 2011
Showing with 19 additions and 4 deletions.
  1. +8 −0 CHANGELOG
  2. +5 −3 README.markdown
  3. +5 −0 Rakefile
  4. +1 −1 lib/pry/version.rb
View
8 CHANGELOG
@@ -1,3 +1,11 @@
+23/1/2010 version 0.4.1
+* made it so a 'def meth;end' in an object Pry session defines singleton
+ methods, not methods on the class (except in the case of
+ immediates)
+* reorganized documentation, moving customization to a separate wiki file
+* storing wiki in a nested git repo, as github wiki pages have their own
+ repo
+* added more tests for new method definition behaviour
21/1/2010 version 0.4.0
* added command API
* added many new commands, i.e ls_methods and friends
View
8 README.markdown
@@ -1,7 +1,7 @@
Pry
=============
-(C) John Mair (banisterfiend) 2010
+(C) John Mair (banisterfiend) 2011
_attach an irb-like session to any object at runtime_
@@ -167,6 +167,8 @@ end.
* Pry gives good control over nested sessions (important when exploring complicated runtime state)
* Pry is not based on the IRB codebase.
* Pry allows significant customizability.
+* Pry uses the [method_source](https://github.com/banister/method_source) gem; so
+this functionality is available to a Pry session.
* Pry uses [RubyParser](https://github.com/seattlerb/ruby_parser) to
validate expressions in 1.8, and [Ripper](http://rdoc.info/docs/ruby-core/1.9.2/Ripper) for 1.9.
* Pry implements all the methods in the REPL chain separately: `Pry#r`
@@ -240,6 +242,7 @@ If you want to access a method of the same name, prefix the invocation by whites
* `ls_imethods` List all instance methods defined on receiver.
* `cat <var>` Calls `inspect` on `<var>`
* `cd <var>` Starts a `Pry` session on the variable <var>. E.g `cd @x`
+(use `cd ..` to go back).
* `show_method <methname>` Displays the sourcecode for the method
<methname>. E.g `show_method hello`
* `show_imethod <methname>` Displays the sourcecode for the
@@ -252,8 +255,7 @@ If you want to access a method of the same name, prefix the invocation by whites
* `nesting` Shows Pry nesting information.
* `!pry` Starts a Pry session on the implied receiver; this can be
used in the middle of an expression in multi-line input.
-* `jump_to <nest_level>` Unwinds the Pry stack (nesting level) until the appropriate nesting level is reached
- -- as per the output of `nesting`
+* `jump_to <nest_level>` Unwinds the Pry stack (nesting level) until the appropriate nesting level is reached.
* `exit_all` breaks out of all Pry nesting levels and returns to the
calling process.
* You can type `Pry.start(obj)` or `obj.pry` to nest another Pry session within the
View
5 Rakefile
@@ -32,6 +32,11 @@ task :test do
sh "bacon -k #{direc}/test/test.rb"
end
+desc "display the Pry version"
+task :show_version do
+ puts "Pry version: #{Pry::VERSION}"
+end
+
namespace :ruby do
spec = Gem::Specification.new do |s|
apply_spec_defaults(s)
View
2 lib/pry/version.rb
@@ -1,3 +1,3 @@
class Pry
- VERSION = "0.4.1pre2"
+ VERSION = "0.4.1"
end

0 comments on commit 2ca16a0

Please sign in to comment.