execjs-pcruntime 0.3.0 → 0.4.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: 5974c75992e0b4c71c8ed76df744f40b44db2d991b932447d3e32ffac21ddbab
|
|
4
|
+
data.tar.gz: 3695f40c2b0c3b270b58f7ee2d282eab26c1d7662c010eac78016da3aec7e4f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad4b53bddac86e7028b4e40fb345ea842e6503af7fa60b1468ad44b5ae6a0d07f4f44c7da9b57e8c5a30690e88cbf8ca7c9dc54bf9be0116e465dc17c5c364f8
|
|
7
|
+
data.tar.gz: 2fa9835c90356b87dbfc61217fa0a639a96759d425d706f6d62465cdbe9a5c6ef3c1a2b970f78317b8108363bcb08ef2740b4f7a3b2e6b9d6ca0985cc3bd9fdb
|
data/.github/workflows/check.yml
CHANGED
data/.github/workflows/test.yml
CHANGED
data/execjs-pcruntime.gemspec
CHANGED
|
@@ -8,12 +8,13 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.name = 'execjs-pcruntime'
|
|
9
9
|
spec.version = Execjs::PCRuntime::VERSION
|
|
10
10
|
spec.authors = ['White-Green']
|
|
11
|
-
spec.required_ruby_version = '>=3.
|
|
11
|
+
spec.required_ruby_version = '>=3.3.0'
|
|
12
12
|
spec.summary = 'Fast ExecJS Runtime using Process as a Context.'
|
|
13
13
|
spec.homepage = 'https://rubygems.org/gems/execjs-pcruntime'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
|
16
16
|
spec.add_dependency 'execjs', '~> 2.0'
|
|
17
|
+
spec.add_dependency 'json', '>= 2.0'
|
|
17
18
|
|
|
18
19
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
19
20
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
@@ -221,7 +221,7 @@ module ExecJS
|
|
|
221
221
|
result = URI.decode_www_form_component response.body
|
|
222
222
|
|
|
223
223
|
if response.code == '200'
|
|
224
|
-
::JSON.parse(result
|
|
224
|
+
::JSON.parse(result) if /\S/.match?(result)
|
|
225
225
|
else
|
|
226
226
|
# expects ErrorMessage\0StackTrace =~ response.body
|
|
227
227
|
message, stack = result.split "\0"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: execjs-pcruntime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- White-Green
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: execjs
|
|
@@ -24,8 +23,20 @@ dependencies:
|
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '2.0'
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: json
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2.0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '2.0'
|
|
29
40
|
executables: []
|
|
30
41
|
extensions: []
|
|
31
42
|
extra_rdoc_files: []
|
|
@@ -62,7 +73,6 @@ metadata:
|
|
|
62
73
|
allowed_push_host: https://rubygems.org
|
|
63
74
|
source_code_uri: https://github.com/heyinc/execjs-pcruntime
|
|
64
75
|
rubygems_mfa_required: 'true'
|
|
65
|
-
post_install_message:
|
|
66
76
|
rdoc_options: []
|
|
67
77
|
require_paths:
|
|
68
78
|
- lib
|
|
@@ -70,15 +80,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
70
80
|
requirements:
|
|
71
81
|
- - ">="
|
|
72
82
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: 3.
|
|
83
|
+
version: 3.3.0
|
|
74
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
85
|
requirements:
|
|
76
86
|
- - ">="
|
|
77
87
|
- !ruby/object:Gem::Version
|
|
78
88
|
version: '0'
|
|
79
89
|
requirements: []
|
|
80
|
-
rubygems_version:
|
|
81
|
-
signing_key:
|
|
90
|
+
rubygems_version: 4.0.20
|
|
82
91
|
specification_version: 4
|
|
83
92
|
summary: Fast ExecJS Runtime using Process as a Context.
|
|
84
93
|
test_files: []
|