capybara-simulated 0.7.0 → 0.8.0
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/README.md +4 -3
- data/lib/capybara/simulated/browser.rb +2562 -234
- data/lib/capybara/simulated/driver.rb +43 -2
- data/lib/capybara/simulated/js/bridge.bundle.js +30437 -18595
- data/lib/capybara/simulated/node.rb +25 -7
- data/lib/capybara/simulated/quickjs_runtime.rb +52 -9
- data/lib/capybara/simulated/runtime_shared.rb +425 -7
- data/lib/capybara/simulated/v8_runtime.rb +81 -6
- data/lib/capybara/simulated/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86debafbcc4a7b74683c302fd0777eddbd84d89c61fa01d2066cb48e0c1c724e
|
|
4
|
+
data.tar.gz: 5e54379c7e4084ed5fd3d6f9287076e013459aff109cbfb969a457225ca521c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f0bfb4a3168fa898b7a89004ec33a975a020431f11b33149f74c150b90cfb88877380c1403955e2a73e1db7f76910e0fddc5db3d2564a828e82340f2b31f76b
|
|
7
|
+
data.tar.gz: a78a59560576aa8d691983ca728e8b8399d4787ca2e95d5a11e6cebab6c1c65e2c91ea3304ae5d25801d65999273af5ebb145cda8268233168bba6a2a7e23307
|
data/README.md
CHANGED
|
@@ -41,9 +41,10 @@ The gem treats the JS engine as a soft dependency. Pick one of:
|
|
|
41
41
|
|
|
42
42
|
```ruby
|
|
43
43
|
gem 'rusty_racer', '>= 0.1.9' # V8 (JIT, fastest per spec) — default
|
|
44
|
-
gem 'quickjs', '>= 0.
|
|
45
|
-
|
|
46
|
-
# a fixed memory budget)
|
|
44
|
+
gem 'quickjs', '>= 0.19' # QuickJS (interpreter, smaller per-VM RAM —
|
|
45
|
+
gem 'quickjs-polyfill-intl' # wins when scaling parallel workers under
|
|
46
|
+
# a fixed memory budget). Intl lives in the
|
|
47
|
+
# companion gem since quickjs 0.19.
|
|
47
48
|
```
|
|
48
49
|
|
|
49
50
|
The V8 engine comes from [rusty_racer](https://github.com/ursm/rusty_racer), a rusty_v8-based Ruby binding with the native ES Module API, `ScriptCompiler::CachedData` snapshots, and per-frame realm contexts the driver builds on.
|