1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

JRuby 1.9 color turned back on, CodeRay 0.9.8 dependency fixes color in JRUBY. Bumped pry version to 0.8.4pre1

This commit is contained in:
John Mair 2011-05-01 16:18:00 +12:00
parent 007f946209
commit db42e52a02
4 changed files with 6 additions and 11 deletions

View file

@ -486,13 +486,13 @@ invoke any of these methods directly depending on exactly what aspect of the fun
#### Limitations:
* Some Pry commands (e.g `show-command`) do not work in Ruby 1.8.
* Some Pry commands (e.g `show-command`) do not work in Ruby 1.8
MRI. But many other commands do work in Ruby 1.8 MRI, e.g
`show-method`, due to a functional 1.8 source_location implementation.
* JRuby not officially supported due to currently too many quirks and
strange behaviour. Nonetheless most functionality should still work
OK in JRuby. Full JRuby support coming in a future version.
* `method_source` functionality does not work in JRuby with Ruby 1.8
* Color support does not work in JRuby with Ruby 1.9 (due to a
limitation in JRuby's regex).
* Tab completion is currently a bit broken/limited this will have a
major overhaul in a future version.

View file

@ -9,7 +9,7 @@ CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake", "**/*.rbc
def apply_spec_defaults(s)
s.name = "pry"
s.summary = "attach an irb-like session to any object at runtime"
s.summary = "an IRB alternative and runtime developer console"
s.version = Pry::VERSION
s.date = Time.now.strftime '%Y-%m-%d'
s.author = "John Mair (banisterfiend)"
@ -21,7 +21,7 @@ def apply_spec_defaults(s)
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- test/*`.split("\n")
s.add_dependency("ruby_parser",">=2.0.5")
s.add_dependency("coderay",">=0.9.7")
s.add_dependency("coderay",">=0.9.8")
s.add_dependency("slop",">=1.5.3")
s.add_dependency("method_source",">=0.4.0")
s.add_development_dependency("bacon",">=1.1.0")

View file

@ -32,8 +32,3 @@ require "pry/completion"
require "pry/core_extensions"
require "pry/pry_class"
require "pry/pry_instance"
# TEMPORARY HACK FOR BUG IN JRUBY 1.9 REGEX (which kills CodeRay)
if RUBY_VERSION =~ /1.9/ && RUBY_ENGINE =~ /jruby/
Pry.color = false
end

View file

@ -1,3 +1,3 @@
class Pry
VERSION = "0.8.3"
VERSION = "0.8.4pre1"
end