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

Commits on Jul 4, 2015

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bb07b99 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    75d86f7 View commit details
Showing with 7 additions and 1 deletion.
  1. +2 −0 CHANGELOG.md
  2. +1 −1 lib/opal/version.rb
  3. +4 −0 opal/corelib/string.rb
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## edge (upcoming 0.8.0)

* Fix `String#split` when no match is found and a limit is provided

* Fix `require_tree(".")` when used from file at the root of the assets paths

* `Hash[]` implementation fully compliant with rubyspec
2 changes: 1 addition & 1 deletion lib/opal/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Opal
# WHEN RELEASING:
# Remember to update RUBY_ENGINE_VERSION in opal/corelib/variables.rb too!
VERSION = '0.8.0.rc1'
VERSION = '0.8.0.rc2'
end
4 changes: 4 additions & 0 deletions opal/corelib/string.rb
Original file line number Diff line number Diff line change
@@ -991,6 +991,10 @@ def split(pattern = undefined, limit = undefined)
result = string.split(pattern);
if (result.length === 1 && result[0] === string) {
return result;
}
while ((i = result.indexOf(undefined)) !== -1) {
result.splice(i, 1);
}