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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8bec2c3c481bbf5f34345fc6f19fbc0321f606dadfc9857a4fc39c8ccb5415e
|
4
|
+
data.tar.gz: 7e0a43cc663ab8456653c26fa71d73271e7c6fe70d631ff716f04c58b61738da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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++
|
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 {
|
data/lib/mini_racer/version.rb
CHANGED
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.
|
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-
|
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:
|
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:
|
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.
|
123
|
-
documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.
|
124
|
-
source_code_uri: https://github.com/discourse/mini_racer/tree/v0.
|
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.
|
141
|
+
rubygems_version: 3.5.6
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Minimal embedded v8 for Ruby
|