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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 424ad5ad77841b6c66059f77feee8fe7ba7edf67b4c896af81932187e67793cc
4
- data.tar.gz: b420bd8ff5148a1b65c326090e944e3b510f1e25bc247e6814a10a4bdcf07f44
3
+ metadata.gz: ca60f9c5fb80c93c9c2d0cc9b2a9f39115d35c1ad4f1a8b2f1f414c60e71b0c7
4
+ data.tar.gz: '09b60f65ec85b4635d4ab5e4d60bd4be47cf982702cb8c8d7f40198f1637d095'
5
5
  SHA512:
6
- metadata.gz: c6dcea2dcf0637437a8ea177aa24a4d80f34175b0f06d77253b5c4cb0d0df28e7bba676644c843d62d47f83f00d639e71b63273ccb5ba7c81136b848b3f30ab4
7
- data.tar.gz: 93c7c0af5dd2558523e92987f2cf969cedde14ba11ba9ea4554f8200409fcdf5006eb4a1c18778f550ff6bb180306df7ddadee0edbf2a6ce0875b2a2f6dc0d42
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
@@ -10,6 +10,7 @@ RSpec::Core::RakeTask.new(:spec)
10
10
  if SurroGate::HAVE_EXT
11
11
  Rake::ExtensionTask.new('surro-gate') do |ext|
12
12
  ext.name = 'surro-gate/selector_ext'
13
+ ext.lib_dir = 'lib/surro-gate'
13
14
  end
14
15
 
15
16
  task :default => %i[compile spec]
@@ -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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SurroGate
4
- VERSION = '1.0.5'.freeze
4
+ VERSION = '1.0.6'.freeze
5
5
  HAVE_EXT = RUBY_PLATFORM =~ /linux/ && !defined?(JRUBY_VERSION) && !ENV['SURRO_GATE_NOEXT']
6
6
  end
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.5
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: 2019-03-18 00:00:00.000000000 Z
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.0.2
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"