surro-gate 1.0.5 → 1.0.6
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 +4 -4
- data/.github/workflows/ci.yaml +30 -0
- data/Rakefile +1 -0
- data/ext/surro-gate/selector_ext.c +1 -1
- data/ext/surro-gate/selector_ext.h +1 -1
- data/lib/surro-gate/version.rb +1 -1
- metadata +4 -7
- data/.travis.yml +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca60f9c5fb80c93c9c2d0cc9b2a9f39115d35c1ad4f1a8b2f1f414c60e71b0c7
|
|
4
|
+
data.tar.gz: '09b60f65ec85b4635d4ab5e4d60bd4be47cf982702cb8c8d7f40198f1637d095'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fb3082aae9bc96e9eb7e80088ba7c3a45805a3b01a48ad9207624d82294691be0e9573ff0a1e2bca1e3dfbd66ed87fe87447c997a7b4130cfd26f25b52fd23f
|
|
7
|
+
data.tar.gz: 4317238b54b943710161677362a18494137612644ab2426522c67e8fc36988fee6eae238b66875eeebe6102b6c9d54d56127400ca92abfc618824ea26e372d0d
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
schedule:
|
|
7
|
+
- cron: '0 0 * * 0'
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
ci:
|
|
11
|
+
runs-on: ${{ matrix.os }}
|
|
12
|
+
strategy:
|
|
13
|
+
fail-fast: false
|
|
14
|
+
matrix:
|
|
15
|
+
os: [ubuntu-latest, macos-latest]
|
|
16
|
+
ruby-version:
|
|
17
|
+
- '2.7'
|
|
18
|
+
- '3.0'
|
|
19
|
+
- '3.1'
|
|
20
|
+
- '3.2'
|
|
21
|
+
- '3.3'
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
- name: Set up Ruby
|
|
25
|
+
uses: ruby/setup-ruby@v1
|
|
26
|
+
with:
|
|
27
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
28
|
+
bundler-cache: true
|
|
29
|
+
- name: Run tests
|
|
30
|
+
run: bundle exec rake
|
data/Rakefile
CHANGED
|
@@ -30,7 +30,7 @@ void* wait_func(void *ptr) {
|
|
|
30
30
|
return NULL;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
static VALUE scoreboard_iterate(VALUE pair, VALUE self, int argc, VALUE *argv) {
|
|
33
|
+
static VALUE scoreboard_iterate(VALUE pair, VALUE self, int argc, const VALUE *argv, VALUE _blockarg) {
|
|
34
34
|
int *selector;
|
|
35
35
|
VALUE inverse;
|
|
36
36
|
|
|
@@ -26,6 +26,6 @@ static VALUE SurroGate_Selector_select(VALUE self, VALUE timeout);
|
|
|
26
26
|
static VALUE SurroGate_Selector_each_ready(VALUE self);
|
|
27
27
|
|
|
28
28
|
static void SurroGate_Selector_free(int *epoll);
|
|
29
|
-
static VALUE scoreboard_iterate(VALUE pair, VALUE self, int argc, VALUE *argv);
|
|
29
|
+
static VALUE scoreboard_iterate(VALUE pair, VALUE self, int argc, const VALUE *argv, VALUE _blockarg);
|
|
30
30
|
|
|
31
31
|
#endif
|
data/lib/surro-gate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: surro-gate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dávid Halász
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: concurrent-ruby
|
|
@@ -89,10 +88,10 @@ extensions:
|
|
|
89
88
|
extra_rdoc_files: []
|
|
90
89
|
files:
|
|
91
90
|
- ".codeclimate.yml"
|
|
91
|
+
- ".github/workflows/ci.yaml"
|
|
92
92
|
- ".gitignore"
|
|
93
93
|
- ".rspec"
|
|
94
94
|
- ".rubocop.yml"
|
|
95
|
-
- ".travis.yml"
|
|
96
95
|
- Gemfile
|
|
97
96
|
- LICENSE
|
|
98
97
|
- LICENSE.txt
|
|
@@ -114,7 +113,6 @@ homepage: https://github.com/skateman/surro-gate
|
|
|
114
113
|
licenses:
|
|
115
114
|
- MIT
|
|
116
115
|
metadata: {}
|
|
117
|
-
post_install_message:
|
|
118
116
|
rdoc_options: []
|
|
119
117
|
require_paths:
|
|
120
118
|
- lib
|
|
@@ -129,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
127
|
- !ruby/object:Gem::Version
|
|
130
128
|
version: '0'
|
|
131
129
|
requirements: []
|
|
132
|
-
rubygems_version: 3.
|
|
133
|
-
signing_key:
|
|
130
|
+
rubygems_version: 3.6.2
|
|
134
131
|
specification_version: 4
|
|
135
132
|
summary: A generic purrpose TCP-to-TCP proxy in Ruby
|
|
136
133
|
test_files: []
|
data/.travis.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: ruby
|
|
3
|
-
cache: bundler
|
|
4
|
-
os:
|
|
5
|
-
- linux
|
|
6
|
-
- osx
|
|
7
|
-
compiler:
|
|
8
|
-
- gcc
|
|
9
|
-
- clang
|
|
10
|
-
rvm:
|
|
11
|
-
- 2.3
|
|
12
|
-
- 2.4
|
|
13
|
-
- 2.5
|
|
14
|
-
- 2.6
|
|
15
|
-
before_install:
|
|
16
|
-
- "echo 'gem: --no-ri --no-rdoc --no-document' > ~/.gemrc"
|
|
17
|
-
- "gem install bundler -v 1.13.0"
|