whats_up 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  module WhatsUp
2
2
  # The current version
3
- VERSION = "1.2"
3
+ VERSION = "1.2.1"
4
4
  end
data/lib/whats_up.rb CHANGED
@@ -1,31 +1,35 @@
1
- # Some credits:
2
- # Code this version is based on: Andrew Birkett
3
- # http://www.nobugs.org/developer/ruby/method_finder.html
4
- # Improvements from Why's blog entry
5
- # * what? == - Why
6
- # * @@blacklist - llasram
7
- # * clone alias - Daniel Schierbeck
8
- # * $stdout redirect - Why
9
- # http://redhanded.hobix.com/inspect/stickItInYourIrbrcMethodfinder.html
10
- # Improvements from Nikolas Coukouma
1
+ # whats_up enables you to determine what methods can be called on an object that return a given
2
+ # value
3
+ #
4
+ # === Some credits from Dr. Nic
5
+ #
6
+ # Code this version is based on: {Andrew
7
+ # Birkett's}[http://www.nobugs.org/developer/ruby/method_finder.html]
8
+ #
9
+ # Improvements from Why's blog entry:
10
+ # * +what?+ - Why
11
+ # * <tt>@@blacklist</tt> - llasram
12
+ # * +clone+ alias - Daniel Schierbeck
13
+ # * <tt>$stdout</tt> redirect - Why
14
+ #
15
+ # {Improvements from Nikolas Coukouma}[http://atrustheotaku.livejournal.com/339449.html]
11
16
  # * Varargs and block support
12
17
  # * Improved catching
13
- # * Redirecting $stdout and $stderr (independently of Why)
14
- # http://atrustheotaku.livejournal.com/339449.html
18
+ # * Redirecting <tt>$stdout</tt> and <tt>$stderr</tt> (independently of Why)
19
+ #
20
+ # {A version posted in 2002 by Steven
21
+ # Grady}[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/32844]
15
22
  #
16
- # A version posted in 2002 by Steven Grady:
17
- # http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/32844
18
23
  # David Tran's versions:
19
- # * Simple
20
- # http://www.doublegifts.com/pub/ruby/methodfinder.rb.html
21
- # * Checks permutations of arguments
22
- # http://www.doublegifts.com/pub/ruby/methodfinder2.rb.html
24
+ # * Simple[http://www.doublegifts.com/pub/ruby/methodfinder.rb.html]
25
+ # * {Checks permutations of arguments}[http://www.doublegifts.com/pub/ruby/methodfinder2.rb.html]
23
26
  module WhatsUp
24
27
  autoload :Classic, "whats_up/classic"
25
28
  autoload :DummyOut, "whats_up/dummy_out"
26
29
  autoload :FrozenSection, "whats_up/frozen_section"
27
30
  autoload :MethodFinder, "whats_up/method_finder"
28
31
  autoload :Methods, "whats_up/methods"
32
+ autoload :VERSION, "whats_up/version"
29
33
  end
30
34
 
31
35
  class Object # :nodoc:
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,3 @@
1
- $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
1
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
2
2
  require "whats_up"
3
3
  include WhatsUp
data/whats_up.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
3
3
  require "whats_up/version"
4
4
 
5
5
  Gem::Specification.new do |s|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whats_up
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: