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: 26876e1b27b3
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cad4a6b2f390
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Nov 20, 2013

  1. Verified

    This commit was signed with the committer’s verified signature.
    makenowjust Hiroya Fujinami
    Copy the full SHA
    1252c91 View commit details
  2. Opal now targets 2.0.0

    adambeynon committed Nov 20, 2013
    Copy the full SHA
    0a21ffd View commit details
  3. Copy the full SHA
    cad4a6b View commit details
Showing with 2 additions and 9 deletions.
  1. +1 −2 opal/opal.rb
  2. +1 −1 spec/corelib/language/predefined_spec.rb
  3. +0 −3 spec/filters/bugs/string.rb
  4. +0 −3 spec/filters/unsupported/enumerator.rb
3 changes: 1 addition & 2 deletions opal/opal.rb
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@
require 'core/struct'
require 'core/io'
require 'core/main'
require 'native'

# regexp matches
$& = $~ = $` = $' = nil
@@ -47,6 +46,6 @@

RUBY_PLATFORM = 'opal'
RUBY_ENGINE = 'opal'
RUBY_VERSION = '1.9.3'
RUBY_VERSION = '2.0.0'
RUBY_ENGINE_VERSION = '0.5.4'
RUBY_RELEASE_DATE = '2013-11-20'
2 changes: 1 addition & 1 deletion spec/corelib/language/predefined_spec.rb
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@

it "includes RUBY_VERSION" do
Object.const_defined?(:RUBY_VERSION).should == true
RUBY_VERSION.should == "1.9.3"
RUBY_VERSION.should == "2.0.0"
end

it "includes RUBY_RELEASE_DATE" do
3 changes: 0 additions & 3 deletions spec/filters/bugs/string.rb
Original file line number Diff line number Diff line change
@@ -36,7 +36,4 @@
fails "String#to_sym special cases +(binary) and -(binary)"

fails "String#upcase is locale insensitive (only replaces a-z)"

# 1.9.3 => 2.0
fails "String#end_with? ignores arguments not convertible to string"
end
3 changes: 0 additions & 3 deletions spec/filters/unsupported/enumerator.rb
Original file line number Diff line number Diff line change
@@ -10,7 +10,4 @@
fails "Enumerator#rewind does nothing if the object doesn't have a #rewind method"
fails "Enumerator#rewind works with peek to reset the position"
fails "Enumerator#rewind calls the enclosed object's rewind method if one exists"

# 1.9.3 => 2.0
fails "Enumerator.new ignores block if arg given"
end