cool.io 1.9.2 → 1.9.3

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: 5cdd11354b2fc68835f7380b7f529a5c41c29280dd489287eb99fbc605978f18
4
- data.tar.gz: 51e173aadc18fdd12915648b7ac58553ab0b22c13be146e2273d507135cefe58
3
+ metadata.gz: 744af9f4092900f46b6db222fadf805f4fe107fb8f3c5c0a5c9661508d957ac5
4
+ data.tar.gz: 594ae4eb024a1c4519ec912859126b5e739f52cc3bdfab1f93ae8fc9cbf7610f
5
5
  SHA512:
6
- metadata.gz: 4449d8f0cec3c081e3ff3625351d66e1eb19ec4cdc23d547a4c2862d0b3a25e8a71bf43eb803559b3758ed284bd3f4a4f5e6008b04e490530604c6cc6551a9eb
7
- data.tar.gz: 7607bab107f686eb8f1a16bc013f0a78815238fc1063de51d75b3e6299f00384583bd311de2841ea1d5bd43e4b72eaad5b43f3f22face9bd327ca9c0629f1a0f
6
+ metadata.gz: 5b27d1af86f5647d9409b7b394d5ed9f2c85de9b68ab88d1d6363ca94aa05d84326f4feed754319f8409b371c53c61cb814292f7849618d806235b7e6de65007
7
+ data.tar.gz: 58839f3800e0aa902f4c0b60b7b23eff2414cb1c34a14df688b318e4b1d31151ce7dfcc6a8e9d7b1d818d5160cf858b0a8a533ee5d1adf1c195d00baa7f50d43
@@ -5,9 +5,6 @@ on: [push, pull_request]
5
5
  permissions:
6
6
  contents: read
7
7
 
8
- env:
9
- CONSOLE_OUTPUT: XTerm
10
-
11
8
  jobs:
12
9
  test:
13
10
  name: ${{matrix.ruby}} on ${{matrix.os}}
@@ -15,40 +12,31 @@ jobs:
15
12
  continue-on-error: ${{matrix.experimental}}
16
13
 
17
14
  strategy:
18
- fail-fast: false
19
15
  matrix:
20
16
  os:
21
17
  - ubuntu
22
18
  - macos
23
- - windows
24
19
 
25
20
  ruby:
26
- - "3.0"
27
- - "3.1"
28
21
  - "3.2"
29
22
  - "3.3"
30
- - "head"
23
+ - "3.4"
24
+ - "4.0"
31
25
 
32
26
  experimental: [false]
33
27
 
34
- # include:
35
- # - os: ubuntu
36
- # ruby: truffleruby
37
- # experimental: true
38
- # - os: ubuntu
39
- # ruby: jruby
40
- # experimental: true
41
- # - os: ubuntu
42
- # ruby: head
43
- # experimental: true
28
+ include:
29
+ - os: ubuntu
30
+ ruby: head
31
+ experimental: true
44
32
 
45
33
  steps:
46
- - uses: actions/checkout@v3
34
+ - uses: actions/checkout@v6
47
35
  - uses: ruby/setup-ruby@v1
48
36
  with:
49
37
  ruby-version: ${{matrix.ruby}}
50
38
  bundler-cache: true
51
39
 
52
40
  - name: Run tests
53
- timeout-minutes: 2
41
+ timeout-minutes: 10
54
42
  run: bundle exec rake
data/ext/cool.io/buffer.c CHANGED
@@ -479,7 +479,7 @@ buffer_free(struct buffer * buf)
479
479
  buffer_clear(buf);
480
480
  buffer_free_pool(buf);
481
481
 
482
- free(buf);
482
+ xfree(buf);
483
483
  }
484
484
 
485
485
  /* Free the memory pool */
@@ -491,7 +491,7 @@ buffer_free_pool(struct buffer * buf)
491
491
  while (buf->pool_head) {
492
492
  tmp = buf->pool_head;
493
493
  buf->pool_head = tmp->next;
494
- free(tmp);
494
+ xfree(tmp);
495
495
  }
496
496
 
497
497
  buf->pool_tail = 0;
@@ -1,5 +1,5 @@
1
1
  module Coolio
2
- VERSION = "1.9.2"
2
+ VERSION = "1.9.3"
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cool.io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri