Matijs van Zuijlen
efd0ed82d3
Fix more unused local variable warnings
2015-01-23 14:05:41 +01:00
Matijs van Zuijlen
992d21edb6
Catch at least some errors in #safe_to_evaluate?
2015-01-23 14:05:40 +01:00
Matijs van Zuijlen
3eb7c55cd1
Avoid ignored literals
2015-01-23 14:05:40 +01:00
Matijs van Zuijlen
dd16a5d0ac
Undefine method possibly defined in session
2015-01-23 14:05:38 +01:00
Matijs van Zuijlen
d4e4d4d8f6
Fix warning generated by editor action
2015-01-23 14:04:51 +01:00
Matijs van Zuijlen
3376e6a0db
Fix more warnings
2015-01-23 14:03:50 +01:00
Matijs van Zuijlen
2f0b5a4f6d
Fix binary operator % warning
2015-01-23 14:03:50 +01:00
Matijs van Zuijlen
96b61f14aa
Fix some warnings
2015-01-23 14:03:36 +01:00
Matijs van Zuijlen
04dc46f302
Fix 'possibly useless use of == in void context' warnings
2015-01-23 14:02:55 +01:00
Matijs van Zuijlen
dadddae30c
Fix 'shadowing outer local variable' warning
2015-01-23 14:02:55 +01:00
Matijs van Zuijlen
cc6bbb5782
Enable warnings during spec runs
2015-01-23 14:02:49 +01:00
rpag
741782b726
add tests that cover Object subclasses
2015-01-15 13:08:46 +00:00
rpag
4870fcba99
add spec, & cleanup after existing spec
2015-01-15 13:08:46 +00:00
rpag
7cab9c4c12
add Pry::ColorPrinter specs
2015-01-15 13:08:46 +00:00
rpag
1d8a633a5e
define instance methods on Pry::Helpers::Text
2015-01-15 13:08:46 +00:00
rpag
5ed0e93007
update CHANGELOG.md
2015-01-15 13:08:46 +00:00
rpag
81fc96f73b
support custom implementation of BasicObject#inspect.
...
If BasicObject or a subclass of BasicObject implements #inspect,
we will try to use its return value as output but if that fails,
we'll fallback on __id__.
fixes #1341
2015-01-15 13:08:46 +00:00
Ryan Fitzgerald
0b198ca6a5
Don't render Pry::Code for #respond_to_missing?
...
Since `#to_s` always returns a String, we don't need to incur the cost
of rendering just to check whether we can respond to a method.
2015-01-14 22:36:08 -08:00
Christian Haase
e99e6247e8
Add missing Pry::Code#respond_to_missing?
2015-01-14 22:36:08 -08:00
Christian Haase
aec888e7bc
Update specs using inner_scope helper
2015-01-14 22:36:08 -08:00
Christian Haase
72b486f43b
Update specs using yield matcher
2015-01-14 22:36:08 -08:00
Christian Haase
5b12626a41
Add rubymine directory to ignore list
2015-01-14 22:36:07 -08:00
Christian Haase
d5748ce0e4
Remove example-alias
2015-01-14 22:36:07 -08:00
Christian Haase
9349a58498
Replace should with specify
2015-01-14 22:36:07 -08:00
Ryan Fitzgerald
118d658fbd
Merge pull request #1339 from CasperSleep/master
...
Fix "not_a_real_file?" regex
2015-01-14 22:19:25 -08:00
Ryan Fitzgerald
5ab72ee8ce
Merge pull request #1300 from krissi/master
...
Fix edit command on windows
2015-01-14 22:17:06 -08:00
Ryan Fitzgerald
3bcb2e02ff
Add spec for 8cdcd9e40d
2015-01-14 22:07:32 -08:00
Ryan Fitzgerald
dab174b13c
Merge pull request #1302 from stefan-lz/rakefile_syntax_highlighting
...
Enable syntax highlighting for Rakefile and other similarly named files
2015-01-14 22:05:38 -08:00
Ryan Fitzgerald
7153d824a6
Reduce line length in jump-to
2015-01-14 22:01:04 -08:00
Ryan Fitzgerald
892cdb03f4
Merge pull request #1295 from JoshCheek/spec_for_jump_to_command
...
Refactor jump_to and its spec
2015-01-14 21:59:16 -08:00
Ryan Fitzgerald
cd06c88a55
Merge remote-tracking branch 'drwl/fixes-issue-1286' ( fix #1286 )
...
Conflicts:
lib/pry/rubygem.rb
2015-01-14 21:53:36 -08:00
Conrad Irwin
db9f4e91d7
Merge pull request #1345 from rrrene/patch-3
...
Update docs badge in README
2015-01-13 10:00:17 -08:00
Conrad Irwin
43091c575f
Merge pull request #1346 from dominic-ew/patch-1
...
using __send__ to prevent calling TCPSocket#send
2015-01-13 09:55:25 -08:00
dominic-ew
6ff4400c80
using __send__ to prevent calling TCPSocket#send
2015-01-13 18:50:04 +01:00
René Föhring
6aed888a1d
Update docs badge in README
...
[ci skip]
2015-01-13 18:22:30 +01:00
Eli Bosworth
fdb7069028
modify regex so not_a_real_file? does not automatically return false when file has parens in path
2015-01-08 17:03:30 -05:00
rpag
233aa8132e
consistent names for private Behavior methods
2014-12-13 19:21:39 +00:00
rpag
1fd16b537a
update CHANGELOG.md
2014-12-13 16:36:17 +00:00
rpag
27e9199dbb
fixes #1277
2014-12-13 16:36:17 +00:00
rpag
1486996a84
Behavior#[] traverses through chain of defaults.
...
_pry_.config['output'] returns $stdout, by traversing back to
Pry::Config::Default#output.
2014-12-13 14:40:33 +00:00
Robert
ea16f4130e
Merge pull request #1332 from ktdreyer/rm-openstruct
...
spec: rm stray reference to OpenStruct
2014-12-10 12:58:24 +00:00
Ken Dreyer
70942ad3b2
spec: rm stray reference to OpenStruct
...
OpenStruct was removed in 91d412c044
, but
a stray reference remained in the test suite. Remove it here.
2014-12-09 20:49:36 -07:00
Conrad Irwin
9afc501b41
Merge pull request #1329 from lowensk/issue-1325-single-line-if
...
Prevent additional single-line if indentations [Fixes #1325 ]
2014-12-04 09:06:32 -08:00
Keegan Lowenstein
2404d68345
Prevent additional single-line if indentations [ Fixes #1325 ]
2014-12-04 00:56:37 -08:00
robert
4fe3d3b90a
Merge pull request #1327 from yuki24/without-warnings
...
Cleanup warnings
2014-11-30 16:39:10 +00:00
Yuki Nishijima
66dc90be45
Cleanup warnings
...
* `lib/pry/code.rb:271: warning: instance variable @with_marker not initialized`
* `lib/pry/commands/show_info.rb:93: warning: instance variable @used_super not initialized`
* `lib/pry/commands/whereami.rb:140: warning: instance variable @method_code not initialized`
* `lib/pry/history.rb:86: warning: File.exists? is a deprecated name, use File.exist? instead`
* `lib/pry/module_candidate.rb:61: warning: instance variable @source not initialized`
* `lib/pry/module_candidate.rb:79: warning: instance variable @source_location not initialized`
* `lib/pry/pager.rb:137: warning: instance variable @system_pager not initialized`
* `lib/pry/pager.rb:186: warning: instance variable @pager not initialized`
* `lib/pry/wrapped_module.rb:311: warning: instance variable @all_source_locations_by_popularity not initialized`
2014-11-29 19:33:26 -08:00
Ryan Fitzgerald
dc22b73510
Add rbx-2 to allowed failures for now
2014-11-24 23:02:51 -08:00
Ryan Fitzgerald
cafd3d6d58
Merge pull request #1322 from rpag/gem-search
...
add 'gem-search' command
2014-11-23 01:08:56 -08:00
rpag
c67516911f
add 'gem-search' command
2014-11-23 02:11:01 +00:00
rpag
87df0e4433
group gem-readme with other gem-* commands
2014-11-21 05:31:24 +00:00