libv8 4.5.95.5 → 5.0.71.48.0beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +45 -19
- data/CHANGELOG.md +14 -0
- data/README.md +30 -15
- data/Rakefile +7 -6
- data/ext/libv8/arch.rb +5 -4
- data/ext/libv8/builder.rb +25 -19
- data/ext/libv8/compiler.rb +6 -33
- data/ext/libv8/location.rb +7 -8
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/build-standalone-static-library.patch +14 -0
- data/patches/disable-building-tests.patch +48 -10
- data/patches/fPIC-for-static.patch +3 -3
- data/release/x86-linux/Vagrantfile +8 -4
- data/release/x86_64-freebsd10/Vagrantfile +86 -0
- data/release/x86_64-linux/Vagrantfile +8 -4
- data/spec/compiler_spec.rb +5 -29
- data/spec/support/compiler_helpers.rb +2 -4
- data/vendor/depot_tools/.gitignore +15 -3
- data/vendor/depot_tools/OWNERS +2 -2
- data/vendor/depot_tools/PRESUBMIT.py +4 -2
- data/vendor/depot_tools/WATCHLISTS +6 -0
- data/vendor/depot_tools/apply_issue.py +70 -38
- data/vendor/depot_tools/bootstrap/win/README.md +66 -0
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +12 -0
- data/vendor/depot_tools/bootstrap/win/git.template.bat +5 -0
- data/vendor/depot_tools/bootstrap/win/profile.d.python.sh +20 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +96 -45
- data/vendor/depot_tools/breakpad.py +6 -141
- data/vendor/depot_tools/buildbucket.py +45 -31
- data/vendor/depot_tools/cbuildbot +1 -0
- data/vendor/depot_tools/checkout.py +2 -1
- data/vendor/depot_tools/chrome_set_ver +1 -0
- data/vendor/depot_tools/cit +8 -0
- data/vendor/depot_tools/cit.bat +11 -0
- data/vendor/depot_tools/cit.py +120 -0
- data/vendor/depot_tools/codereview.settings +0 -2
- data/vendor/depot_tools/commit_queue +1 -5
- data/vendor/depot_tools/commit_queue.bat +1 -4
- data/vendor/depot_tools/commit_queue.py +78 -29
- data/vendor/depot_tools/cpplint.py +22 -14
- data/vendor/depot_tools/cros +1 -0
- data/vendor/depot_tools/cros_sdk +1 -0
- data/vendor/depot_tools/depot-tools-auth.py +3 -3
- data/vendor/depot_tools/download_from_google_storage.py +101 -21
- data/vendor/depot_tools/drover.py +2 -3
- data/vendor/depot_tools/fetch.py +31 -27
- data/vendor/depot_tools/{recipes → fetch_configs}/android.py +4 -4
- data/vendor/depot_tools/fetch_configs/breakpad.py +45 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/chromium.py +3 -3
- data/vendor/depot_tools/{recipes/recipe_util.py → fetch_configs/config_util.py} +3 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/dart.py +3 -3
- data/vendor/depot_tools/{recipes/pdfium.py → fetch_configs/dartino.py} +14 -13
- data/vendor/depot_tools/{recipes → fetch_configs}/dartium.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/depot_tools.py +3 -3
- data/vendor/depot_tools/fetch_configs/gyp.py +42 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/infra.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/infra_internal.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/ios.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/mojo.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/nacl.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/naclports.py +3 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +40 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/skia.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/skia_buildbot.py +3 -3
- data/vendor/depot_tools/fetch_configs/syzygy.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/v8.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_android.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_ios.py +4 -4
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gcl.py +11 -21
- data/vendor/depot_tools/gclient +10 -0
- data/vendor/depot_tools/gclient-new-workdir.py +7 -38
- data/vendor/depot_tools/gclient.bat +2 -2
- data/vendor/depot_tools/gclient.py +85 -65
- data/vendor/depot_tools/gclient_scm.py +83 -10
- data/vendor/depot_tools/gclient_utils.py +5 -1
- data/vendor/depot_tools/gerrit_util.py +243 -26
- data/vendor/depot_tools/git-auto-svn +1 -1
- data/vendor/depot_tools/git-cache +1 -1
- data/vendor/depot_tools/git-cherry-pick-upload +1 -1
- data/vendor/depot_tools/git-cl +1 -1
- data/vendor/depot_tools/git-drover +6 -0
- data/vendor/depot_tools/git-find-releases +6 -0
- data/vendor/depot_tools/git-footers +1 -1
- data/vendor/depot_tools/git-freeze +1 -1
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git-hyper-blame +6 -0
- data/vendor/depot_tools/git-map +1 -1
- data/vendor/depot_tools/git-map-branches +1 -1
- data/vendor/depot_tools/git-mark-merge-base +1 -1
- data/vendor/depot_tools/git-nav-downstream +1 -1
- data/vendor/depot_tools/git-new-branch +1 -1
- data/vendor/depot_tools/git-number +1 -1
- data/vendor/depot_tools/git-rebase-update +1 -1
- data/vendor/depot_tools/git-rename-branch +1 -1
- data/vendor/depot_tools/git-reparent-branch +1 -1
- data/vendor/depot_tools/git-retry +1 -1
- data/vendor/depot_tools/git-squash-branch +1 -1
- data/vendor/depot_tools/git-thaw +1 -1
- data/vendor/depot_tools/git-try +1 -1
- data/vendor/depot_tools/git-upstream-diff +1 -1
- data/vendor/depot_tools/git_auto_svn.py +24 -6
- data/vendor/depot_tools/git_cache.py +74 -27
- data/vendor/depot_tools/git_cl.py +2118 -747
- data/vendor/depot_tools/git_common.py +100 -6
- data/vendor/depot_tools/git_dates.py +62 -0
- data/vendor/depot_tools/git_drover.py +424 -0
- data/vendor/depot_tools/git_find_releases.py +65 -0
- data/vendor/depot_tools/git_footers.py +42 -0
- data/vendor/depot_tools/git_hyper_blame.py +391 -0
- data/vendor/depot_tools/git_map_branches.py +8 -6
- data/vendor/depot_tools/git_new_branch.py +6 -1
- data/vendor/depot_tools/git_rebase_update.py +56 -16
- data/vendor/depot_tools/git_reparent_branch.py +13 -0
- data/vendor/depot_tools/git_try.py +0 -2
- data/vendor/depot_tools/gsutil.py +51 -20
- data/vendor/depot_tools/infra/config/OWNERS +3 -1
- data/vendor/depot_tools/infra/config/cq.cfg +7 -3
- data/vendor/depot_tools/infra/config/recipes.cfg +9 -0
- data/vendor/depot_tools/luci_hacks/README.md +35 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/tests → luci_hacks}/__init__.py +0 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.isolate +12 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.py +81 -0
- data/vendor/depot_tools/luci_hacks/trigger_luci_job.py +128 -0
- data/vendor/depot_tools/man/html/depot_tools.html +9 -1
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +4 -4
- data/vendor/depot_tools/man/html/git-drover.html +191 -35
- data/vendor/depot_tools/man/html/git-hyper-blame.html +878 -0
- data/vendor/depot_tools/man/html/git-rebase-update.html +9 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +189 -36
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +128 -0
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +8 -6
- data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
- data/vendor/depot_tools/man/src/_git-hyper-blame_desc.helper.txt +1 -0
- data/vendor/depot_tools/man/src/common_demo_functions.sh +5 -0
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -1
- data/vendor/depot_tools/man/src/git-drover.demo.1.sh +11 -16
- data/vendor/depot_tools/man/src/git-drover.demo.3.sh +27 -0
- data/vendor/depot_tools/man/src/git-drover.demo.4.sh +39 -0
- data/vendor/depot_tools/man/src/git-drover.txt +49 -3
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.1.sh +3 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.2.sh +4 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.common.sh +57 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.txt +85 -0
- data/vendor/depot_tools/man/src/git-rebase-update.txt +5 -1
- data/vendor/depot_tools/my_activity.py +6 -21
- data/vendor/depot_tools/ninja +2 -2
- data/vendor/depot_tools/ninja-linux32 +0 -0
- data/vendor/depot_tools/ninja-linux64 +0 -0
- data/vendor/depot_tools/ninja-mac +0 -0
- data/vendor/depot_tools/ninja.exe +0 -0
- data/vendor/depot_tools/presubmit_canned_checks.py +83 -69
- data/vendor/depot_tools/presubmit_support.py +126 -42
- data/vendor/depot_tools/pylint.py +5 -1
- data/vendor/depot_tools/python_runner.sh +55 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +32 -0
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +283 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +63 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/forced.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/svn_mode.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +49 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +61 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +51 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +172 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/virtualenv_support → recipe_modules/bot_update/resources}/__init__.py +0 -0
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +1764 -0
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +86 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +27 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +10 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +378 -0
- data/vendor/depot_tools/recipe_modules/gclient/config.py +671 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +172 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +174 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +185 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.py +100 -0
- data/vendor/depot_tools/recipe_modules/gclient/test_api.py +37 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +9 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +377 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +176 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +153 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +199 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +250 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +182 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +102 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +186 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.py +147 -0
- data/vendor/depot_tools/recipe_modules/git/resources/git_setup.py +61 -0
- data/vendor/depot_tools/recipe_modules/git/test_api.py +18 -0
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +25 -0
- data/vendor/depot_tools/recipe_modules/git_cl/config.py +22 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +66 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +41 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +12 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +28 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +45 -0
- data/vendor/depot_tools/recipe_modules/presubmit/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/presubmit/api.py +20 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.expected/basic.json +18 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.py +15 -0
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +94 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +24 -0
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +15 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +280 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +104 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +68 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +53 -0
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +7 -0
- data/vendor/depot_tools/recipes.py +136 -0
- data/vendor/depot_tools/repo +1 -1
- data/vendor/depot_tools/rietveld.py +46 -15
- data/vendor/depot_tools/roll_dep.py +97 -36
- data/vendor/depot_tools/scm.py +3 -3
- data/vendor/depot_tools/setup_color.py +94 -0
- data/vendor/depot_tools/subprocess2.py +10 -1
- data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
- data/vendor/depot_tools/third_party/cq_client/README.md +47 -9
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +617 -0
- data/vendor/depot_tools/third_party/cq_client/cq.proto +75 -17
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +168 -41
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +55 -0
- data/vendor/depot_tools/third_party/cq_client/{test/cq_example.cfg → testdata/cq_rietveld.cfg} +14 -6
- data/vendor/depot_tools/third_party/fancy_urllib/README +5 -4
- data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +114 -52
- data/vendor/depot_tools/third_party/protobuf26/README.chromium +9 -6
- data/vendor/depot_tools/third_party/upload.py +17 -31
- data/vendor/depot_tools/trychange.py +0 -2
- data/vendor/depot_tools/update_depot_tools +29 -11
- data/vendor/depot_tools/update_depot_tools.bat +4 -9
- data/vendor/depot_tools/upload_to_google_storage.py +42 -5
- data/vendor/depot_tools/win_toolchain/OWNERS +1 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +227 -52
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +203 -88
- metadata +161 -81
- data/patches/arm/do-not-imply-vfp3-and-armv7.patch +0 -16
- data/patches/arm/do-not-use-vfp2.patch +0 -13
- data/patches/clang51/no-unused-variable.patch +0 -12
- data/vendor/depot_tools/bootstrap/.gitignore +0 -2
- data/vendor/depot_tools/bootstrap/bootstrap.py +0 -234
- data/vendor/depot_tools/bootstrap/deps.pyl +0 -15
- data/vendor/depot_tools/bootstrap/util.py +0 -87
- data/vendor/depot_tools/bootstrap/virtualenv/.gitignore +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/.travis.yml +0 -28
- data/vendor/depot_tools/bootstrap/virtualenv/AUTHORS.txt +0 -91
- data/vendor/depot_tools/bootstrap/virtualenv/CONTRIBUTING.rst +0 -21
- data/vendor/depot_tools/bootstrap/virtualenv/LICENSE.txt +0 -22
- data/vendor/depot_tools/bootstrap/virtualenv/MANIFEST.in +0 -11
- data/vendor/depot_tools/bootstrap/virtualenv/README.rst +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/bin/rebuild-script.py +0 -71
- data/vendor/depot_tools/bootstrap/virtualenv/docs/changes.rst +0 -747
- data/vendor/depot_tools/bootstrap/virtualenv/docs/conf.py +0 -149
- data/vendor/depot_tools/bootstrap/virtualenv/docs/development.rst +0 -61
- data/vendor/depot_tools/bootstrap/virtualenv/docs/index.rst +0 -137
- data/vendor/depot_tools/bootstrap/virtualenv/docs/installation.rst +0 -58
- data/vendor/depot_tools/bootstrap/virtualenv/docs/make.bat +0 -170
- data/vendor/depot_tools/bootstrap/virtualenv/docs/reference.rst +0 -256
- data/vendor/depot_tools/bootstrap/virtualenv/docs/userguide.rst +0 -249
- data/vendor/depot_tools/bootstrap/virtualenv/scripts/virtualenv +0 -3
- data/vendor/depot_tools/bootstrap/virtualenv/setup.py +0 -111
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate.sh +0 -94
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate_expected.output +0 -2
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_virtualenv.py +0 -139
- data/vendor/depot_tools/bootstrap/virtualenv/tests/tox.ini +0 -12
- data/vendor/depot_tools/bootstrap/virtualenv/tox.ini +0 -17
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv.py +0 -2367
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.bat +0 -26
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.csh +0 -42
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.fish +0 -74
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.ps1 +0 -150
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.sh +0 -80
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate_this.py +0 -34
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/deactivate.bat +0 -20
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils-init.py +0 -101
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils.cfg +0 -6
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/site.py +0 -758
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/setuptools-8.2.1-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/win/README.google +0 -16
- data/vendor/depot_tools/cbuildbot +0 -96
- data/vendor/depot_tools/chrome_set_ver +0 -96
- data/vendor/depot_tools/cros +0 -96
- data/vendor/depot_tools/cros_sdk +0 -96
- data/vendor/depot_tools/git-cl-upload-hook +0 -52
- data/vendor/depot_tools/git-crup +0 -45
- data/vendor/depot_tools/python_git_runner.sh +0 -36
- data/vendor/depot_tools/recipes/blink.py +0 -59
- data/vendor/depot_tools/third_party/cq_client/test/validate_config_test.py +0 -52
- data/vendor/depot_tools/third_party/cq_client/validate_config.py +0 -108
- data/vendor/depot_tools/win_toolchain/toolchain2013.py +0 -494
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8630b355882593a0ea8f00850d08dae9353ac738
|
|
4
|
+
data.tar.gz: 85eb4579de4b3bd0c3506a8573986bca829edb6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df5e5bc54b8dbc083011594ab4fb4601147a0eed0e017af7d5fe95db76a4bdca0e05ee64ed1aec6628d3f7ac4b80247c90b61a832a845e994ace0aab9b476b18
|
|
7
|
+
data.tar.gz: a9eb9af73b2a584c911c623339c3c533f801386a716bf882bf64e3e36ba5b70e909c4106667678aab72d23e136bf83f11ddffaaa2b7c08c0d0f0784415272dbd
|
data/.travis.yml
CHANGED
|
@@ -1,31 +1,57 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
rvm:
|
|
3
|
-
- 2.
|
|
4
|
-
- 2.
|
|
5
|
-
- 2.
|
|
6
|
-
-
|
|
7
|
-
- rbx-2
|
|
3
|
+
- 2.3.1
|
|
4
|
+
- 2.2.5
|
|
5
|
+
- 2.1.9
|
|
6
|
+
- rbx
|
|
8
7
|
matrix:
|
|
9
8
|
include:
|
|
10
|
-
- rvm: ruby-2.2.
|
|
9
|
+
- rvm: ruby-2.2.5
|
|
10
|
+
os: osx
|
|
11
|
+
osx_image: xcode7.3
|
|
12
|
+
- rvm: ruby-2.2.5
|
|
13
|
+
os: osx
|
|
14
|
+
osx_image: xcode6.4
|
|
15
|
+
- rvm: system
|
|
16
|
+
os: osx
|
|
17
|
+
osx_image: xcode7.3
|
|
18
|
+
- rvm: ruby-2.3.1-clang
|
|
11
19
|
env: CXX=clang++
|
|
12
|
-
- rvm:
|
|
13
|
-
- rvm: ruby-head-clang
|
|
14
|
-
env: CXX=clang++
|
|
15
|
-
- rvm: ree
|
|
16
|
-
- rvm: ruby-1.8.7
|
|
20
|
+
- rvm: 1.9.3
|
|
17
21
|
allow_failures:
|
|
18
|
-
- rvm:
|
|
19
|
-
- rvm: ruby-1.8.7
|
|
20
|
-
- rvm: ruby-head
|
|
21
|
-
- rvm: ruby-head-clang
|
|
22
|
+
- rvm: 1.9.3
|
|
22
23
|
fast_finish: true
|
|
23
|
-
|
|
24
|
+
dist: trusty
|
|
25
|
+
addons:
|
|
26
|
+
apt:
|
|
27
|
+
packages:
|
|
28
|
+
- clang
|
|
29
|
+
bundler_args: --jobs=4 --retry=3
|
|
30
|
+
before_install:
|
|
31
|
+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update bundler; fi
|
|
32
|
+
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler; fi
|
|
24
33
|
script:
|
|
25
|
-
-
|
|
26
|
-
-
|
|
34
|
+
- if ! [ "$(ls -A vendor/v8/.git)" ] ; then rm -rf vendor/v8; fi
|
|
35
|
+
- rm -rf vendor/depot_tools
|
|
36
|
+
- git submodule update --init
|
|
37
|
+
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
|
|
38
|
+
deploy:
|
|
39
|
+
provider: releases
|
|
40
|
+
file: $(git ls-files -o pkg | head -1)
|
|
41
|
+
api_key:
|
|
42
|
+
secure: OMCBceg89uRnU+FIPAPbeOK2pISvV4Cz62r9iTRIGXQCOOXX8M40i77/3DmtkMtc9FEuNyAu1+CH886PL2WtZZPK4CmEU3HuqXz1a5VsCI+zcAZL1tevKvblXOVQ3MG+B/SZRC3rEzGwjk4027WtzCCGoGCLUu4TFJP05+/8XN4=
|
|
43
|
+
skip_cleanup: true
|
|
44
|
+
on:
|
|
45
|
+
tags: true
|
|
46
|
+
condition: $TRAVIS_OS_NAME = osx
|
|
47
|
+
before_cache:
|
|
48
|
+
- cd vendor/v8 && git clean -xdf && git checkout . && cd ../..
|
|
49
|
+
- rm -rf vendor/depot_tools
|
|
50
|
+
cache:
|
|
51
|
+
bundler: true
|
|
52
|
+
directories:
|
|
53
|
+
- vendor
|
|
27
54
|
notifications:
|
|
28
55
|
recipients:
|
|
29
56
|
- cowboyd@thefrontside.net
|
|
30
57
|
- bordjukov@gmail.com
|
|
31
|
-
cache: bundler
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
### Unreleased
|
|
2
|
+
|
|
3
|
+
### 5.0.71.48.0beta1, 5.0.71.48.1beta1 - 2016-05-13:
|
|
4
|
+
|
|
5
|
+
* Upgrade upstream v8 version to 5.0.71.45
|
|
6
|
+
* Remove all workarounds for building v8 3.16 with newer compilers
|
|
7
|
+
|
|
8
|
+
### 3.16.14.14, 3.16.14.15 - 2016-04-28:
|
|
9
|
+
|
|
10
|
+
* Enhance compiler version detection and architecture detection #212
|
|
11
|
+
* Introduce darwin13-15 binary building #211
|
|
12
|
+
* Disable errors on warning for OS X #210
|
|
13
|
+
* Improve --with-system-v8 error message #200
|
|
14
|
+
* Fix the check for git-svn #199
|
data/README.md
CHANGED
|
@@ -22,11 +22,11 @@ opens the door for supporting Windows.
|
|
|
22
22
|
That depends on your platform. Right now, we support the following
|
|
23
23
|
platforms.
|
|
24
24
|
|
|
25
|
+
* x86_64-darwin-15
|
|
25
26
|
* x86_64-darwin-14
|
|
26
27
|
* x86_64-linux
|
|
27
28
|
* x86-linux
|
|
28
29
|
* x86_64-freebsd-10
|
|
29
|
-
* i386-freebsd-10
|
|
30
30
|
|
|
31
31
|
If you don't see your platform on this list, first, make sure that it
|
|
32
32
|
installs from source, and second talk to us about setting up a binary
|
|
@@ -35,10 +35,10 @@ distro for you.
|
|
|
35
35
|
### Versioning
|
|
36
36
|
|
|
37
37
|
Versions of the libv8 gem track the version of v8 itself, adding its
|
|
38
|
-
own point release after the main v8 version. So libv8 `
|
|
39
|
-
`
|
|
40
|
-
think about it would be that `
|
|
41
|
-
libv8 rubygem based on v8 version `
|
|
38
|
+
own point release after the main v8 version. So libv8 `5.0.71.35.5`
|
|
39
|
+
and `5.0.71.35.14` both correspond to v8 version `5.0.71.35`. Another
|
|
40
|
+
way to think about it would be that `5.0.71.35.14` is the 14th release
|
|
41
|
+
of the libv8 rubygem based on v8 version `5.0.71.35`
|
|
42
42
|
|
|
43
43
|
#### Source and Binary Releases
|
|
44
44
|
|
|
@@ -53,20 +53,29 @@ distributions, but if, for whatever reason, you have problems with the
|
|
|
53
53
|
binaries, you can always "lock in" your dependency a single point version
|
|
54
54
|
down, forcing it to compile from source.
|
|
55
55
|
|
|
56
|
-
So for example, `
|
|
57
|
-
`
|
|
58
|
-
distribution
|
|
56
|
+
So for example, `5.0.71.35.3` contains all the binary distributions,
|
|
57
|
+
while `5.0.71.35.2` is the exact same code, but contain only a
|
|
58
|
+
source-based distribution
|
|
59
59
|
|
|
60
60
|
> This step release system is a workaround to carlhuda/bundler#1537
|
|
61
61
|
|
|
62
|
+
### Requirements
|
|
63
|
+
|
|
64
|
+
Building the v8 library from source imposes the following requirements:
|
|
65
|
+
|
|
66
|
+
* A compiler that supports C++11 (such as GCC 4.8 and above or clang,
|
|
67
|
+
preferably 3.5 and above)
|
|
68
|
+
* GNU Make
|
|
69
|
+
* Python 2
|
|
70
|
+
|
|
62
71
|
### Using a git version
|
|
63
72
|
|
|
64
73
|
If you want to use the latest unstable version of the gem you can do
|
|
65
|
-
so by specifying the git repo as a gem source. Just make sure you
|
|
66
|
-
|
|
74
|
+
so by specifying the git repo as a gem source. Just make sure you add
|
|
75
|
+
the following to your `Gemfile`:
|
|
67
76
|
|
|
68
77
|
```Ruby
|
|
69
|
-
gem "libv8",
|
|
78
|
+
gem "libv8", github: "cowboyd/libv8", submodules: true
|
|
70
79
|
```
|
|
71
80
|
|
|
72
81
|
You can find more info on using a git repo as a gem source in
|
|
@@ -74,15 +83,14 @@ You can find more info on using a git repo as a gem source in
|
|
|
74
83
|
|
|
75
84
|
### What if I can't install from source?
|
|
76
85
|
|
|
77
|
-
If you can fix
|
|
86
|
+
If you can fix v8's build system so that it correctly compiles for your
|
|
78
87
|
platform, we'll pull it right in!
|
|
79
88
|
|
|
80
89
|
To get the source, these commands will get you started:
|
|
81
90
|
|
|
82
|
-
git clone git://github.com/cowboyd/libv8.git
|
|
91
|
+
git clone --recursive git://github.com/cowboyd/libv8.git
|
|
83
92
|
cd libv8
|
|
84
93
|
bundle install
|
|
85
|
-
bundle exec rake checkout
|
|
86
94
|
bundle exec rake compile
|
|
87
95
|
|
|
88
96
|
### Bring your own V8
|
|
@@ -101,9 +109,16 @@ Using Bundler (in your Gemfile):
|
|
|
101
109
|
|
|
102
110
|
bundle config build.libv8 --with-system-v8
|
|
103
111
|
|
|
112
|
+
#### Gotchas
|
|
113
|
+
|
|
104
114
|
Please note that if you intend to run your own V8, you must install
|
|
105
115
|
both V8 *and its headers* (found in libv8-dev for Debian distros).
|
|
106
116
|
|
|
117
|
+
Also keep in mind that v8's API does not tend to be stable and you
|
|
118
|
+
need to make sure that the version of therubyracer you intend to use
|
|
119
|
+
is compatible with the version of v8 present on your system. Otherwise
|
|
120
|
+
therubyracer's build will fail.
|
|
121
|
+
|
|
107
122
|
### Bring your own compiler
|
|
108
123
|
|
|
109
124
|
You can specify a compiler of your choice by either setting the `CXX`
|
|
@@ -125,7 +140,7 @@ installed that gem.
|
|
|
125
140
|
|
|
126
141
|
### Sponsored by
|
|
127
142
|
|
|
128
|
-
<a href="http://thefrontside.net"></a>
|
|
129
144
|
|
|
130
145
|
### License
|
|
131
146
|
|
data/Rakefile
CHANGED
|
@@ -51,17 +51,18 @@ task :binary => :compile do
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
namespace :build do
|
|
54
|
-
['x86_64-linux', 'x86-linux'].each do |arch|
|
|
54
|
+
['x86_64-linux', 'x86-linux', 'x86_64-freebsd10'].each do |arch|
|
|
55
55
|
desc "build binary gem for #{arch}"
|
|
56
56
|
task arch do
|
|
57
57
|
arch_dir = Pathname(__FILE__).dirname.join("release/#{arch}")
|
|
58
58
|
Dir.chdir(arch_dir) do
|
|
59
|
+
ENV['RUBYLIB'] = nil # https://github.com/mitchellh/vagrant/issues/6158
|
|
59
60
|
sh "vagrant up"
|
|
60
|
-
sh "vagrant ssh -c 'rm -rf libv8
|
|
61
|
-
sh "vagrant ssh -c '
|
|
62
|
-
sh "vagrant ssh -c 'cd libv8 && bundle install --path vendor/bundle'"
|
|
63
|
-
sh "vagrant ssh -c 'cd libv8 && bundle exec rake binary'"
|
|
64
|
-
sh "vagrant ssh -c 'cp libv8/pkg/*.gem /vagrant'"
|
|
61
|
+
sh "vagrant ssh -c 'rm -rf ~/libv8'"
|
|
62
|
+
sh "vagrant ssh -c 'git clone /libv8/.git ~/libv8 --recursive'"
|
|
63
|
+
sh "vagrant ssh -c 'cd ~/libv8 && bundle install --path vendor/bundle'"
|
|
64
|
+
sh "vagrant ssh -c 'cd ~/libv8 && bundle exec rake binary'"
|
|
65
|
+
sh "vagrant ssh -c 'cp ~/libv8/pkg/*.gem /vagrant'"
|
|
65
66
|
end
|
|
66
67
|
end
|
|
67
68
|
end
|
data/ext/libv8/arch.rb
CHANGED
|
@@ -6,10 +6,11 @@ module Libv8
|
|
|
6
6
|
|
|
7
7
|
def libv8_arch
|
|
8
8
|
case Gem::Platform.local.cpu
|
|
9
|
-
when /^arm$/
|
|
10
|
-
when /^a(rm|arch)64$/
|
|
11
|
-
when /^x86$/
|
|
12
|
-
when /^x86_64$/
|
|
9
|
+
when /^arm$/ then 'arm'
|
|
10
|
+
when /^a(rm|arch)64$/ then 'arm64'
|
|
11
|
+
when /^x86$/ then 'ia32'
|
|
12
|
+
when /^(x86_64|amd64)$/ then 'x64'
|
|
13
|
+
when /^universal$/ then 'x64' # OS X
|
|
13
14
|
else
|
|
14
15
|
warn "Unsupported target: #{Gem::Platform.local.cpu}"
|
|
15
16
|
Gem::Platform.local.cpu
|
data/ext/libv8/builder.rb
CHANGED
|
@@ -2,6 +2,8 @@ unless $:.include? File.expand_path("../../../lib", __FILE__)
|
|
|
2
2
|
$:.unshift File.expand_path("../../../lib", __FILE__)
|
|
3
3
|
end
|
|
4
4
|
require 'mkmf'
|
|
5
|
+
require 'rbconfig'
|
|
6
|
+
require 'shellwords'
|
|
5
7
|
require 'libv8/version'
|
|
6
8
|
require File.expand_path '../compiler', __FILE__
|
|
7
9
|
require File.expand_path '../arch', __FILE__
|
|
@@ -27,6 +29,9 @@ module Libv8
|
|
|
27
29
|
# Do not use an external snapshot as we don't really care for binary size
|
|
28
30
|
defines << 'v8_use_external_startup_data=0'
|
|
29
31
|
|
|
32
|
+
# Do not use the GPLv3 ld.gold binary on Linux
|
|
33
|
+
defines << 'linux_use_bundled_gold=0'
|
|
34
|
+
|
|
30
35
|
# Pass clang flag to GYP in order to work around GCC compilation failures
|
|
31
36
|
defines << "clang=#{@compiler.is_a?(Compiler::Clang) ? '1' : '0'}"
|
|
32
37
|
|
|
@@ -34,10 +39,6 @@ module Libv8
|
|
|
34
39
|
end
|
|
35
40
|
|
|
36
41
|
def make_flags(*flags)
|
|
37
|
-
# Fix Malformed archive issue caused by GYP creating thin archives by
|
|
38
|
-
# default.
|
|
39
|
-
flags << "standalone_static_library=1"
|
|
40
|
-
|
|
41
42
|
# Disable i18n
|
|
42
43
|
flags << 'i18nsupport=off'
|
|
43
44
|
|
|
@@ -63,7 +64,7 @@ module Libv8
|
|
|
63
64
|
print_build_info
|
|
64
65
|
puts 'Beginning compilation. This will take some time.'
|
|
65
66
|
|
|
66
|
-
command = "env CXX=#{@compiler} LINK=#{@compiler} #{make} #{make_flags}"
|
|
67
|
+
command = "env CXX=#{Shellwords.escape @compiler.to_s} LINK=#{Shellwords.escape @compiler.to_s} #{make} #{make_flags}"
|
|
67
68
|
puts "Building v8 with #{command}"
|
|
68
69
|
system command
|
|
69
70
|
end
|
|
@@ -89,7 +90,7 @@ module Libv8
|
|
|
89
90
|
# then this will be 4.5.95
|
|
90
91
|
#
|
|
91
92
|
def source_version
|
|
92
|
-
Libv8::VERSION.gsub(
|
|
93
|
+
Libv8::VERSION.gsub(/\.[^.]+$/, '')
|
|
93
94
|
end
|
|
94
95
|
|
|
95
96
|
##
|
|
@@ -101,12 +102,17 @@ module Libv8
|
|
|
101
102
|
def setup_build_deps!
|
|
102
103
|
ENV['PATH'] = "#{File.expand_path('../../../vendor/depot_tools', __FILE__)}:#{ENV['PATH']}"
|
|
103
104
|
Dir.chdir(File.expand_path('../../../vendor', __FILE__)) do
|
|
104
|
-
|
|
105
|
+
unless Dir.exists? 'v8'
|
|
106
|
+
system "fetch v8" or fail "unable to fetch v8 source"
|
|
107
|
+
else
|
|
108
|
+
system "gclient fetch" or fail "could not fetch v8 build dependencies commits"
|
|
109
|
+
end
|
|
105
110
|
Dir.chdir('v8') do
|
|
106
|
-
unless system "git checkout #{source_version}"
|
|
111
|
+
unless system "git checkout #{source_version} -- ."
|
|
107
112
|
fail "unable to checkout source for v8 #{source_version}"
|
|
108
113
|
end
|
|
109
114
|
system "gclient sync" or fail "could not sync v8 build dependencies"
|
|
115
|
+
system "git checkout Makefile" # Work around a weird bug on FreeBSD
|
|
110
116
|
end
|
|
111
117
|
end
|
|
112
118
|
end
|
|
@@ -114,17 +120,17 @@ module Libv8
|
|
|
114
120
|
private
|
|
115
121
|
|
|
116
122
|
def choose_compiler
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
123
|
+
compiler = if with_config('cxx') || ENV['CXX']
|
|
124
|
+
with_config('cxx') || ENV['CXX']
|
|
125
|
+
else
|
|
126
|
+
begin
|
|
127
|
+
MakeMakefile::CONFIG['CXX'] # stdlib > 2.0.0
|
|
128
|
+
rescue NameError
|
|
129
|
+
RbConfig::CONFIG['CXX'] # stdlib < 2.0.0
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
Libv8::Compiler.type_of(compiler).new compiler
|
|
128
134
|
end
|
|
129
135
|
|
|
130
136
|
def python_version
|
data/ext/libv8/compiler.rb
CHANGED
|
@@ -8,31 +8,8 @@ module Libv8
|
|
|
8
8
|
module Compiler
|
|
9
9
|
module_function
|
|
10
10
|
|
|
11
|
-
def
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# The command Ruby was compiled with
|
|
15
|
-
compilers << RbConfig::CONFIG['CXX']
|
|
16
|
-
|
|
17
|
-
# The default system compiler
|
|
18
|
-
compilers << 'c++'
|
|
19
|
-
|
|
20
|
-
# FreeBSD GCC command names
|
|
21
|
-
compilers += ['g++48', 'g++49', 'g++5']
|
|
22
|
-
|
|
23
|
-
# Default compiler names
|
|
24
|
-
compilers += ['clang++', 'g++']
|
|
25
|
-
|
|
26
|
-
compilers.uniq
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
def available_compilers(*compiler_names)
|
|
30
|
-
available = compiler_names.select { |compiler_name| available? compiler_name }
|
|
31
|
-
available.map { |compiler_name| type_of(compiler_name).new compiler_name }
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
def type_of(compiler_name)
|
|
35
|
-
case version_string_of(compiler_name)
|
|
11
|
+
def type_of(compiler)
|
|
12
|
+
case version_string_of(compiler)
|
|
36
13
|
when /^Apple LLVM\b/ then AppleLLVM
|
|
37
14
|
when /\bclang\b/i then Clang
|
|
38
15
|
when /^gcc/i then GCC
|
|
@@ -40,22 +17,18 @@ module Libv8
|
|
|
40
17
|
end
|
|
41
18
|
end
|
|
42
19
|
|
|
43
|
-
def version_string_of(
|
|
44
|
-
command_result = execute_command "#{
|
|
20
|
+
def version_string_of(compiler)
|
|
21
|
+
command_result = execute_command "env LC_ALL=C LANG=C #{compiler} -v 2>&1"
|
|
45
22
|
|
|
46
23
|
unless command_result.status.success?
|
|
47
|
-
raise "Could not get version string of compiler #{
|
|
24
|
+
raise "Could not get version string of compiler #{compiler}"
|
|
48
25
|
end
|
|
49
26
|
|
|
50
27
|
command_result.output
|
|
51
28
|
end
|
|
52
29
|
|
|
53
|
-
def available?(command)
|
|
54
|
-
execute_command("which #{command} 2>&1").status.success?
|
|
55
|
-
end
|
|
56
|
-
|
|
57
30
|
def execute_command(command)
|
|
58
|
-
output =
|
|
31
|
+
output = `#{command}`
|
|
59
32
|
status = $?
|
|
60
33
|
ExecutionResult.new output, status
|
|
61
34
|
end
|
data/ext/libv8/location.rb
CHANGED
|
@@ -59,16 +59,15 @@ module Libv8
|
|
|
59
59
|
class NotFoundError < StandardError
|
|
60
60
|
def initialize(*args)
|
|
61
61
|
super(<<-EOS)
|
|
62
|
-
|
|
63
|
-
and *not* the one that is
|
|
64
|
-
|
|
65
|
-
v8 that is compatible with #{Libv8::VERSION} installed. You may
|
|
66
|
-
need to special --with-v8-dir options if it is in a non-standard
|
|
67
|
-
location
|
|
62
|
+
By using --with-system-v8, you have chosen to use the version
|
|
63
|
+
of V8 found on your system and *not* the one that is bundled with
|
|
64
|
+
the libv8 rubygem.
|
|
68
65
|
|
|
69
|
-
|
|
70
|
-
The Mgmt
|
|
66
|
+
However, your system version of v8 could not be located.
|
|
71
67
|
|
|
68
|
+
Please make sure your system version of v8 that is compatible
|
|
69
|
+
with #{Libv8::VERSION} installed. You may need to use the
|
|
70
|
+
--with-v8-dir option if it is installed in a non-standard location
|
|
72
71
|
EOS
|
|
73
72
|
end
|
|
74
73
|
end
|
data/lib/libv8/version.rb
CHANGED
data/libv8.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
|
26
26
|
s.extensions = ["ext/libv8/extconf.rb"]
|
|
27
27
|
s.require_paths = ["lib", "ext"]
|
|
28
28
|
|
|
29
|
-
s.add_development_dependency 'rake', '~>
|
|
29
|
+
s.add_development_dependency 'rake', '~> 11'
|
|
30
30
|
s.add_development_dependency 'rake-compiler', '~> 0'
|
|
31
31
|
s.add_development_dependency 'rspec', '~> 3'
|
|
32
32
|
end
|