Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 952241122ab8
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bd4465b2b49a
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 1, 2016

  1. Copy the full SHA
    dc2cc96 View commit details
  2. Copy the full SHA
    bd4465b View commit details
Showing with 4 additions and 2 deletions.
  1. +3 −1 core/src/main/java/org/jruby/RubyBasicObject.java
  2. +1 −1 rakelib/rubyspec.rake
4 changes: 3 additions & 1 deletion core/src/main/java/org/jruby/RubyBasicObject.java
Original file line number Diff line number Diff line change
@@ -1158,8 +1158,10 @@ private StringBuilder inspectObj(final Ruby runtime, StringBuilder part) {
Object value = entry.getValue().get(this);
if (!(value instanceof IRubyObject) || !IdUtil.isInstanceVariable(entry.getKey())) continue;

IRubyObject obj = (IRubyObject) value;

part.append(sep).append(' ').append(entry.getKey()).append('=');
part.append(invokedynamic(context, (IRubyObject)value, INSPECT));
part.append(sites(context).inspect.call(context, obj, obj));
sep = ",";
}
part.append('>');
2 changes: 1 addition & 1 deletion rakelib/rubyspec.rake
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ namespace :spec do
desc "Run fast specs that do not spawn many subprocesses"
task :'ruby:fast' do
mspec :compile_mode => "OFF",
:format => 's',
:format => $stdout.tty? ? 'd' : 's',
:spec_target => ":fast",
:jruby_opts => "-I. --dev"
end