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

Commits on Apr 27, 2015

  1. Copy the full SHA
    000bad6 View commit details
  2. Merge pull request #815 from vais/kernel-case_compare

    Kernel#=== fully compliant with rubyspec
    elia committed Apr 27, 2015

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    7c5c89e View commit details
Showing with 2 additions and 1 deletion.
  1. +1 −1 opal/corelib/kernel.rb
  2. +1 −0 spec/rubyspecs
2 changes: 1 addition & 1 deletion opal/corelib/kernel.rb
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ def =~(obj)
end

def ===(other)
self == other
self.object_id == other.object_id || self == other
end

def <=>(other)
1 change: 1 addition & 0 deletions spec/rubyspecs
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ corelib/core/exception/reason_spec
corelib/core/exception/to_s_spec

corelib/core/kernel/Array_spec
corelib/core/kernel/case_compare_spec
corelib/core/kernel/comparison_spec
corelib/core/kernel/eql_spec
corelib/core/kernel/equal_spec