Skip to content

Commit

Permalink
Revert to 1.9.3 ruby_version
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Nov 20, 2013
1 parent e2bb6e2 commit 71319b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opal/opal.rb
Expand Up @@ -47,6 +47,6 @@

RUBY_PLATFORM = 'opal'
RUBY_ENGINE = 'opal'
RUBY_VERSION = '2.0.0'
RUBY_VERSION = '1.9.3'
RUBY_ENGINE_VERSION = '0.5.3'
RUBY_RELEASE_DATE = '2013-11-20'
2 changes: 1 addition & 1 deletion spec/corelib/language/predefined_spec.rb
Expand Up @@ -71,7 +71,7 @@

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

it "includes RUBY_RELEASE_DATE" do
Expand Down
3 changes: 3 additions & 0 deletions spec/filters/bugs/string.rb
Expand Up @@ -36,4 +36,7 @@
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: 3 additions & 0 deletions spec/filters/unsupported/enumerator.rb
Expand Up @@ -10,4 +10,7 @@
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

0 comments on commit 71319b3

Please sign in to comment.