Skip to content

Commit

Permalink
Showing 5 changed files with 15 additions and 9 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
## edge (upcoming 0.8.0)

* Add support for sprockets 3.0 while keeping compatibility with the 2.0 series.
* Update to Sprockets v3.0.

* Delegate dependency management directly to Sprockets (when used) making sourcemaps swift again.
This means code generated by sprockets will always need to be bootstrapped via `Opal.load` or `Opal.require`.
Luckily `Opal::Processor.load_asset_code(sprockets, name)` does just that in the right way.

* Enable operator inlining by default in the compiler.

* Fix Promise#always.
* Fix `Promise#always`.

* Removed minitest from stdlib. It's not part of MRI and it never belonged there, checkout the opal-minitest gem instead.
* 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

* Removed `minitest` from stdlib. It's not part of MRI and it never belonged there, checkout the `opal-minitest` gem instead.

* Parser: Allow trailing comma in paren arglists, after normal args as
well as assoc args.
2 changes: 1 addition & 1 deletion lib/opal/sprockets/source_map_server.rb
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ def call(env)
case path_info
when %r{^(.*)\.self\.map$}
path = $1
asset = sprockets[path]
asset = sprockets[path+'.js']
return not_found(path) if asset.nil?

# "logical_name" of a BundledAsset keeps the .js extension
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
6 changes: 3 additions & 3 deletions opal/corelib/variables.rb
Original file line number Diff line number Diff line change
@@ -19,9 +19,9 @@

RUBY_PLATFORM = 'opal'
RUBY_ENGINE = 'opal'
RUBY_VERSION = '2.1.1'
RUBY_ENGINE_VERSION = '0.8.0.rc1'
RUBY_RELEASE_DATE = '2015-02-14'
RUBY_VERSION = '2.1.5'
RUBY_ENGINE_VERSION = '0.8.0.rc2'
RUBY_RELEASE_DATE = '2015-07-04'
RUBY_PATCHLEVEL = 0
RUBY_REVISION = 0
RUBY_COPYRIGHT = 'opal - Copyright (C) 2013-2015 Adam Beynon'
2 changes: 1 addition & 1 deletion spec/opal/core/language/predefined_spec.rb
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@

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

it "includes RUBY_RELEASE_DATE" do

0 comments on commit 3c3fdc3

Please sign in to comment.