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: d190de9c6317
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2a2d9b613bf4
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Dec 6, 2016

  1. Copy the full SHA
    f2aa11d View commit details
  2. Copy the full SHA
    2a2d9b6 View commit details
1 change: 0 additions & 1 deletion spec/truffle/tags/core/complex/negative_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/complex/positive_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/truffle/tags/core/signal/signame_tags.txt

This file was deleted.

3 changes: 3 additions & 0 deletions truffle/src/main/ruby/core/complex.rb
Original file line number Diff line number Diff line change
@@ -369,4 +369,7 @@ def imag=(imag)
@imag = imag
end

undef_method :negative?
undef_method :positive?

end
6 changes: 6 additions & 0 deletions truffle/src/main/ruby/core/signal.rb
Original file line number Diff line number Diff line change
@@ -108,4 +108,10 @@ def self.trap(sig, prc=nil, &block)
def self.list
Names.dup
end

def self.signame(signo)
index = Rubinius::Type.coerce_to signo, Fixnum, :to_int

Numbers[index]
end
end