execjs-pcruntime 0.2.2 → 0.3.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: 0ed5dacd1dab7ff7ef42dc43084d6c00da36cd3f228e02517cd0e33492bce55b
4
- data.tar.gz: 486214245b193a1000bd930758767776398c3f4f47f68a49086a09cf500300eb
3
+ metadata.gz: a6f5cbb865a9d767748d30d1d4066d5739d93e218ba643a54872d49a139ed4dd
4
+ data.tar.gz: f8b27ca7a6faee4525e79f0252e2054afbe6d1698e85ddaeaf9602e62d4c392d
5
5
  SHA512:
6
- metadata.gz: b625a73b8da1b28469a4df46500cba801b16279a81adde6479d0671d7f2a942d4d45f73552bd967422237bcc2dcc398083310dea69c24b81c7dc00f031f43d6d
7
- data.tar.gz: '088e05880ba92eaf812c25aac7c6e56935294c1af8cc36693fb1d7a3ae26da0f783c8307a7a3f283f976a43cff595bc1b0ec7101e921dc7c72ec8b991be421ac'
6
+ metadata.gz: 315555b3b6d1b661abd6c4c37b95899d94abfa84e0b525e2211d77d7ade941a55aa4ee8f17d0ef314f71ae79e7fc3eea6c329b63ffb01aca459128b464d4652a
7
+ data.tar.gz: 4bdc7ecfb0cbf781fee0c27fcefc6a218c1dbd3916ba71e3e3c97729a7c676e633e5d1451cf20e44a26f2e65694de94cfc7e24757a3d3ba4af4b47ed4f19e969
@@ -0,0 +1,23 @@
1
+ name: Check
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ rubocop:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: '3.3'
20
+ - name: Install dependencies
21
+ run: bundle install
22
+ - name: Run RuboCop
23
+ run: bundle exec rubocop
@@ -13,7 +13,8 @@ jobs:
13
13
 
14
14
  strategy:
15
15
  matrix:
16
- ruby-version: ['3.2', '3.1', '3.0']
16
+ ruby-version: ['3.3', '3.2', '3.1']
17
+ node-version: ['16', '18', '20', '22']
17
18
 
18
19
  steps:
19
20
  - uses: actions/checkout@v3
@@ -21,7 +22,11 @@ jobs:
21
22
  uses: ruby/setup-ruby@v1
22
23
  with:
23
24
  ruby-version: ${{ matrix.ruby-version }}
25
+ - name: Set up Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
24
29
  - name: Install dependencies
25
30
  run: bundle install
26
31
  - name: Run tests
27
- run: bundle exec rake
32
+ run: bundle exec rake
data/Gemfile CHANGED
@@ -16,5 +16,5 @@ end
16
16
 
17
17
  group :test do
18
18
  gem 'minitest', '~> 5.0'
19
- gem 'rake', '~> 12.0'
19
+ gem 'rake', '~> 13.0'
20
20
  end
data/README.md CHANGED
@@ -60,7 +60,7 @@ bundle exec rake
60
60
 
61
61
  ## Contributing
62
62
 
63
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/execjs-pcruntime. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
63
+ Bug reports and pull requests are welcome on GitHub at https://github.com/heyinc/execjs-pcruntime. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
64
64
 
65
65
  ## License
66
66
 
@@ -68,4 +68,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
68
68
 
69
69
  ## Code of Conduct
70
70
 
71
- Everyone interacting in the Execjs::Pcruntime project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/execjs-pcruntime/blob/master/CODE_OF_CONDUCT.md).
71
+ Everyone interacting in the Execjs::Pcruntime project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/heyinc/execjs-pcruntime/blob/master/CODE_OF_CONDUCT.md).
@@ -8,7 +8,7 @@ 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.0.0'
11
+ spec.required_ruby_version = '>=3.1.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'
@@ -197,6 +197,7 @@ module ExecJS
197
197
  socket.write_timeout *= 100
198
198
 
199
199
  request = Net::HTTP::Post.new(path)
200
+ request['Host'] = 'localhost'
200
201
  request['Connection'] = 'close'
201
202
  unless content_type.nil?
202
203
  request['Content-Type'] = content_type
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Execjs
4
4
  module PCRuntime
5
- VERSION = '0.2.2'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execjs-pcruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - White-Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-09 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs
@@ -30,6 +30,7 @@ executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
+ - ".github/workflows/check.yml"
33
34
  - ".github/workflows/test.yml"
34
35
  - ".gitignore"
35
36
  - ".rubocop.yml"
@@ -69,14 +70,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
70
  requirements:
70
71
  - - ">="
71
72
  - !ruby/object:Gem::Version
72
- version: 3.0.0
73
+ version: 3.1.0
73
74
  required_rubygems_version: !ruby/object:Gem::Requirement
74
75
  requirements:
75
76
  - - ">="
76
77
  - !ruby/object:Gem::Version
77
78
  version: '0'
78
79
  requirements: []
79
- rubygems_version: 3.3.26
80
+ rubygems_version: 3.5.16
80
81
  signing_key:
81
82
  specification_version: 4
82
83
  summary: Fast ExecJS Runtime using Process as a Context.