mini_racer 0.9.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6ebb67e67be2952ea043e965a9b3ecbf55c1a8c7747b1b9be21433ab8dd394b
4
- data.tar.gz: 0de98c006a529bdffb79116a089e7f7345ad373661270fd4851bb4b2ff6dd2cb
3
+ metadata.gz: a8bec2c3c481bbf5f34345fc6f19fbc0321f606dadfc9857a4fc39c8ccb5415e
4
+ data.tar.gz: 7e0a43cc663ab8456653c26fa71d73271e7c6fe70d631ff716f04c58b61738da
5
5
  SHA512:
6
- metadata.gz: 2ae281e2827ab7edcb549c694ad8f11744d6b28960177e907a9ef546a31315ea956fbc818ef419daaaec9201a01454f0a94e3e44a5cdd318a5a091c815d3cfc1
7
- data.tar.gz: 12c82ef489ac60ed7c4699d44d436a9aba7cfe30a59770354ca13c9ec072c53bcbe50143eefa79415ff7e6b6d5c47a7b50337ab90702c46f9119879ad635cdf1
6
+ metadata.gz: 770dd09297b0930d6c54372130273e281e6428153d07c94a0cf46ad42048b333b231efa3475abb5957486ed4b90e83f031440888265a5883b44bce39084066f3
7
+ data.tar.gz: ad100d2718ded6cbc46d354bf3f04231a29956810f2ad93721790ba0f735f88ab92fbcb744c4935236f5a9db3e0583885dfcec13fbb3428cb3d55cb83a2a6ca2
@@ -17,7 +17,7 @@ $CXXFLAGS += " -Wall" unless $CXXFLAGS.split.include? "-Wall"
17
17
  $CXXFLAGS += " -g" unless $CXXFLAGS.split.include? "-g"
18
18
  $CXXFLAGS += " -rdynamic" unless $CXXFLAGS.split.include? "-rdynamic"
19
19
  $CXXFLAGS += " -fPIC" unless $CXXFLAGS.split.include? "-rdynamic" or IS_DARWIN
20
- $CXXFLAGS += " -std=c++14"
20
+ $CXXFLAGS += " -std=c++17"
21
21
  $CXXFLAGS += " -fpermissive"
22
22
  #$CXXFLAGS += " -DV8_COMPRESS_POINTERS"
23
23
  $CXXFLAGS += " -fvisibility=hidden "
@@ -965,6 +965,8 @@ static VALUE rb_isolate_low_memory_notification(VALUE self) {
965
965
 
966
966
  if (current_platform == NULL) return Qfalse;
967
967
 
968
+ Locker guard { isolate_info->isolate };
969
+
968
970
  isolate_info->isolate->LowMemoryNotification();
969
971
  return Qnil;
970
972
  }
@@ -975,6 +977,8 @@ static VALUE rb_isolate_pump_message_loop(VALUE self) {
975
977
 
976
978
  if (current_platform == NULL) return Qfalse;
977
979
 
980
+ Locker guard { isolate_info->isolate };
981
+
978
982
  if (platform::PumpMessageLoop(current_platform.get(), isolate_info->isolate)){
979
983
  return Qtrue;
980
984
  } else {
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniRacer
4
- VERSION = "0.9.0"
5
- LIBV8_NODE_VERSION = "~> 18.19.0.0"
4
+ VERSION = "0.12.0"
5
+ LIBV8_NODE_VERSION = "~> 21.7.2.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.9.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 18.19.0.0
89
+ version: 21.7.2.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 18.19.0.0
96
+ version: 21.7.2.0
97
97
  description: Minimal embedded v8 engine for Ruby
98
98
  email:
99
99
  - sam.saffron@gmail.com
@@ -119,9 +119,9 @@ licenses:
119
119
  - MIT
120
120
  metadata:
121
121
  bug_tracker_uri: https://github.com/discourse/mini_racer/issues
122
- changelog_uri: https://github.com/discourse/mini_racer/blob/v0.9.0/CHANGELOG
123
- documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.9.0
124
- source_code_uri: https://github.com/discourse/mini_racer/tree/v0.9.0
122
+ changelog_uri: https://github.com/discourse/mini_racer/blob/v0.12.0/CHANGELOG
123
+ documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.12.0
124
+ source_code_uri: https://github.com/discourse/mini_racer/tree/v0.12.0
125
125
  post_install_message:
126
126
  rdoc_options: []
127
127
  require_paths:
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.5.4
141
+ rubygems_version: 3.5.6
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Minimal embedded v8 for Ruby