mini_racer 0.9.0 → 0.13.0

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: a6ebb67e67be2952ea043e965a9b3ecbf55c1a8c7747b1b9be21433ab8dd394b
4
- data.tar.gz: 0de98c006a529bdffb79116a089e7f7345ad373661270fd4851bb4b2ff6dd2cb
3
+ metadata.gz: 205fd88e58bfe01ff418ca0dec8c0ee45d83bd18307c2507222b22d261723daf
4
+ data.tar.gz: 46e7ca488776ebb29ade67c803c755687524394e183079645372df6768b11b49
5
5
  SHA512:
6
- metadata.gz: 2ae281e2827ab7edcb549c694ad8f11744d6b28960177e907a9ef546a31315ea956fbc818ef419daaaec9201a01454f0a94e3e44a5cdd318a5a091c815d3cfc1
7
- data.tar.gz: 12c82ef489ac60ed7c4699d44d436a9aba7cfe30a59770354ca13c9ec072c53bcbe50143eefa79415ff7e6b6d5c47a7b50337ab90702c46f9119879ad635cdf1
6
+ metadata.gz: adcdd13c1fafb53f952ebd2857ba06a27378e57df97bbee7f955796949a7883bcc831b1dacba5fe946592f6fd6f3912f41598c6b5741e9f19be08e450864be05
7
+ data.tar.gz: 4a6b3ffecbe2065f3c1fc387eb44bf9c4fdd7f8a592bb61ce67c911267ae6110809dfd5d52144ef66fd42bb912fbce7b8d93b85be5fb84fed7a6963a715b4dec
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ - 0.13.0 - 29-07-2024
2
+
3
+ - Target Node to 22.5.1.0 0 - corrects segfault in earlier release
4
+ - Remove Ruby 3.0 which is EOL (use ealier version of gem if needed)
5
+
1
6
  - 0.9.0 - 25-03-2024
2
7
 
3
8
  - Target Node to 18.19.0.0
@@ -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.13.0"
5
+ LIBV8_NODE_VERSION = "~> 22.5.1.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.13.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-07-28 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: 22.5.1.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: 22.5.1.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.13.0/CHANGELOG
123
+ documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.13.0
124
+ source_code_uri: https://github.com/discourse/mini_racer/tree/v0.13.0
125
125
  post_install_message:
126
126
  rdoc_options: []
127
127
  require_paths:
@@ -131,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: '3.0'
134
+ version: '3.1'
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.5.4
141
+ rubygems_version: 3.5.11
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Minimal embedded v8 for Ruby