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:
parent
007f946209
commit
db42e52a02
4 changed files with 6 additions and 11 deletions
|
@ -486,13 +486,13 @@ invoke any of these methods directly depending on exactly what aspect of the fun
|
||||||
|
|
||||||
#### Limitations:
|
#### 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
|
* JRuby not officially supported due to currently too many quirks and
|
||||||
strange behaviour. Nonetheless most functionality should still work
|
strange behaviour. Nonetheless most functionality should still work
|
||||||
OK in JRuby. Full JRuby support coming in a future version.
|
OK in JRuby. Full JRuby support coming in a future version.
|
||||||
* `method_source` functionality does not work in JRuby with Ruby 1.8
|
* `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
|
* Tab completion is currently a bit broken/limited this will have a
|
||||||
major overhaul in a future version.
|
major overhaul in a future version.
|
||||||
|
|
||||||
|
|
4
Rakefile
4
Rakefile
|
@ -9,7 +9,7 @@ CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake", "**/*.rbc
|
||||||
|
|
||||||
def apply_spec_defaults(s)
|
def apply_spec_defaults(s)
|
||||||
s.name = "pry"
|
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.version = Pry::VERSION
|
||||||
s.date = Time.now.strftime '%Y-%m-%d'
|
s.date = Time.now.strftime '%Y-%m-%d'
|
||||||
s.author = "John Mair (banisterfiend)"
|
s.author = "John Mair (banisterfiend)"
|
||||||
|
@ -21,7 +21,7 @@ def apply_spec_defaults(s)
|
||||||
s.files = `git ls-files`.split("\n")
|
s.files = `git ls-files`.split("\n")
|
||||||
s.test_files = `git ls-files -- test/*`.split("\n")
|
s.test_files = `git ls-files -- test/*`.split("\n")
|
||||||
s.add_dependency("ruby_parser",">=2.0.5")
|
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("slop",">=1.5.3")
|
||||||
s.add_dependency("method_source",">=0.4.0")
|
s.add_dependency("method_source",">=0.4.0")
|
||||||
s.add_development_dependency("bacon",">=1.1.0")
|
s.add_development_dependency("bacon",">=1.1.0")
|
||||||
|
|
|
@ -32,8 +32,3 @@ require "pry/completion"
|
||||||
require "pry/core_extensions"
|
require "pry/core_extensions"
|
||||||
require "pry/pry_class"
|
require "pry/pry_class"
|
||||||
require "pry/pry_instance"
|
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
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
class Pry
|
class Pry
|
||||||
VERSION = "0.8.3"
|
VERSION = "0.8.4pre1"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue