Skip to content

Commit

Permalink
Introduced opal/full. Moved Marshal functionality from opal/base
Browse files Browse the repository at this point in the history
…to `opal/full`.
  • Loading branch information
iliabylich committed Mar 31, 2016
1 parent d7842db commit 8c05d1d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -106,6 +106,7 @@ Whitespace conventions:
- Fixed an issue with `"-"` inside the second arg of `String#tr`
- Fixed Base64 and enabled specs
- Fixed method definition in method body.
- Partially implemented `Marshal.load`/`Marshal.dump`. In order to use it require `opal/full`.


### Removed
Expand Down
1 change: 0 additions & 1 deletion opal/opal.rb
Expand Up @@ -13,6 +13,5 @@
require 'corelib/dir'
require 'corelib/file'
require 'corelib/process'
require 'corelib/marshal'

require 'corelib/unsupported'
1 change: 1 addition & 0 deletions opal/opal/full.rb
@@ -0,0 +1 @@
require 'corelib/marshal'
2 changes: 1 addition & 1 deletion tasks/testing.rake
Expand Up @@ -161,7 +161,7 @@ DESC
stubs = Testing.stubs.map{|s| "-s#{s}"}.join(' ')

sh "ruby -rbundler/setup -r#{__dir__}/testing/mspec_special_calls "\
"bin/opal -gmspec #{include_paths} #{stubs} -R#{platform} -Dwarning -A #{filename}"
"bin/opal -gmspec #{include_paths} #{stubs} -R#{platform} -r opal/full -Dwarning -A #{filename}"

if bm_filepath
puts "Benchmark results have been written to #{bm_filepath}"
Expand Down

0 comments on commit 8c05d1d

Please sign in to comment.