mini_racer 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 179c0a63082cf1ec6bc7f8ead94fbcba3c41255ee91b1639482570d1ec3f7646
4
- data.tar.gz: cdef6f06a6ab72060aa43b21518c6f0103bf80c034bee09b7cf1d6f215620c31
3
+ metadata.gz: 5d56d838af805799a79c79077af28cd6f141a236407b974d74fb2a9b9ccc012a
4
+ data.tar.gz: 930da203d2f0a9370a586f838cde68306fa3de03bb1114d887426457277c4682
5
5
  SHA512:
6
- metadata.gz: 0efd1873f139141ac489ed24ebcad3e289092ea67ea7823d0b94fe07a3acfcd602ed64c287b39b556d370db5c17b094d38a9c5ff06f31f546dddda7694d01c81
7
- data.tar.gz: 1ccc24b53320211be2b3cd887ac1193ee0654e0b54c0d2b3da636a382ce00c95d4af3ba5acd23a931436d08e0707dc0b4d348b6bbd0863cb56df9fb2fbd2678e
6
+ metadata.gz: caa253f750407e8bb4500105dcbe4318eafc8bf8bdf3dd4727efe5540fd273bd8e97d4f4f235b3d4c58e318687a255e88881c0dfe2b47ab67c91bfe801c8741a
7
+ data.tar.gz: 6dd05e37d3fc792f8f0b3e417023a0fd8e5dc3322a03528ac0b474b603a5d0a3551f791b57b83332ca24ea6596795ee9aaafa9e0d40e5f80e833a02e22ee3038
data/CHANGELOG CHANGED
@@ -1,5 +1,10 @@
1
1
  - 31-12-2021
2
2
 
3
+ - 0.6.1
4
+
5
+ - Added support for single threaded platform: `MiniRacer::Platform.set_flags! :single_threaded`
6
+ must be called prior to booting ANY MiniRacer::Context
7
+
3
8
  - 0.6.0
4
9
 
5
10
  - Ruby 3.1 support
@@ -360,7 +360,11 @@ static void init_v8() {
360
360
 
361
361
  if (current_platform == NULL) {
362
362
  V8::InitializeICU();
363
- current_platform = platform::NewDefaultPlatform();
363
+ if (single_threaded) {
364
+ current_platform = platform::NewSingleThreadedDefaultPlatform();
365
+ } else {
366
+ current_platform = platform::NewDefaultPlatform();
367
+ }
364
368
  V8::InitializePlatform(current_platform.get());
365
369
  V8::Initialize();
366
370
  }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniRacer
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  LIBV8_NODE_VERSION = "~> 16.10.0.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_racer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-31 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,9 +128,9 @@ licenses:
128
128
  - MIT
129
129
  metadata:
130
130
  bug_tracker_uri: https://github.com/discourse/mini_racer/issues
131
- changelog_uri: https://github.com/discourse/mini_racer/blob/v0.6.0/CHANGELOG
132
- documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.6.0
133
- source_code_uri: https://github.com/discourse/mini_racer/tree/v0.6.0
131
+ changelog_uri: https://github.com/discourse/mini_racer/blob/v0.6.1/CHANGELOG
132
+ documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.6.1
133
+ source_code_uri: https://github.com/discourse/mini_racer/tree/v0.6.1
134
134
  post_install_message:
135
135
  rdoc_options: []
136
136
  require_paths: