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: 6ddeb038aa87
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8cd462826199
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Feb 23, 2015

  1. Fix issue #698

    vais committed Feb 23, 2015
    Copy the full SHA
    3e52f57 View commit details
  2. Merge pull request #703 from vais/issue698

    Fix issue #698 (Opal reports incorrect version numbers)
    elia committed Feb 23, 2015
    Copy the full SHA
    8cd4628 View commit details
Showing with 10 additions and 0 deletions.
  1. +10 −0 spec/opal/core/language/predefined_spec.rb
10 changes: 10 additions & 0 deletions spec/opal/core/language/predefined_spec.rb
Original file line number Diff line number Diff line change
@@ -125,4 +125,14 @@
Object.const_defined?(:RUBY_PLATFORM).should == true
RUBY_PLATFORM.should == "opal"
end

it "includes RUBY_ENGINE" do
Object.const_defined?(:RUBY_ENGINE).should == true
RUBY_ENGINE.should == "opal"
end

it "includes RUBY_ENGINE_VERSION" do
Object.const_defined?(:RUBY_ENGINE_VERSION).should == true
RUBY_ENGINE_VERSION.should == Opal::VERSION
end
end