etc 1.4.6 → 1.5.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 +4 -4
- data/ChangeLog +4 -4
- data/ext/etc/etc.c +41 -26
- data/ext/etc/extconf.rb +0 -1
- data/logs/ChangeLog-1.0.0 +65 -0
- data/logs/ChangeLog-1.0.1 +63 -0
- data/logs/ChangeLog-1.1.0 +143 -0
- data/logs/ChangeLog-1.2.0 +124 -0
- data/logs/ChangeLog-1.3.0 +83 -0
- data/logs/ChangeLog-1.3.1 +137 -0
- data/logs/ChangeLog-1.4.0 +65 -0
- data/logs/ChangeLog-1.4.1 +97 -0
- data/logs/ChangeLog-1.4.2 +22 -0
- data/logs/ChangeLog-1.4.3 +145 -0
- data/logs/ChangeLog-1.4.4 +149 -0
- data/logs/ChangeLog-1.4.5 +92 -0
- data/logs/ChangeLog-1.4.6 +396 -0
- data/test/etc/test_etc.rb +8 -0
- metadata +30 -4
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
-*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
commit 5019f4314a899cd231c51e1e1225fe035adf4aac
|
|
4
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
5
|
+
AuthorDate: 2024-12-03 13:53:43 +0900
|
|
6
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
7
|
+
CommitDate: 2024-12-03 13:53:43 +0900
|
|
8
|
+
|
|
9
|
+
Bump up 1.4.5
|
|
10
|
+
|
|
11
|
+
commit c819a03d1616bb8bea7b9bd826178f90a6c80cb7
|
|
12
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
13
|
+
AuthorDate: 2024-11-25 13:38:59 +0900
|
|
14
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
15
|
+
CommitDate: 2024-11-25 13:38:59 +0900
|
|
16
|
+
|
|
17
|
+
Fixed version number of rubygems/release-gem
|
|
18
|
+
|
|
19
|
+
commit 7dbda884e8c2dfbc080251c31314b31d60420479
|
|
20
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
21
|
+
AuthorDate: 2024-11-25 04:35:00 +0000
|
|
22
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
23
|
+
CommitDate: 2024-11-25 13:38:45 +0900
|
|
24
|
+
|
|
25
|
+
Bump rubygems/release-gem
|
|
26
|
+
|
|
27
|
+
Bumps [rubygems/release-gem](https://github.com/rubygems/release-gem) from 612653d273a73bdae1df8453e090060bb4db5f31 to 9e85cb11501bebc2ae661c1500176316d3987059.
|
|
28
|
+
- [Release notes](https://github.com/rubygems/release-gem/releases)
|
|
29
|
+
- [Commits](https://github.com/rubygems/release-gem/compare/612653d273a73bdae1df8453e090060bb4db5f31...9e85cb11501bebc2ae661c1500176316d3987059)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
updated-dependencies:
|
|
33
|
+
- dependency-name: rubygems/release-gem
|
|
34
|
+
dependency-type: direct:production
|
|
35
|
+
...
|
|
36
|
+
|
|
37
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
38
|
+
|
|
39
|
+
commit 953fc3a47187d91024e2ff9f975dc63c0b782df8
|
|
40
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
41
|
+
AuthorDate: 2024-11-25 04:35:07 +0000
|
|
42
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
43
|
+
CommitDate: 2024-11-25 13:38:35 +0900
|
|
44
|
+
|
|
45
|
+
Bump step-security/harden-runner from 2.10.1 to 2.10.2
|
|
46
|
+
|
|
47
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.1 to 2.10.2.
|
|
48
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
49
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/91182cccc01eb5e619899d80e4e971d6181294a7...0080882f6c36860b6ba35c610c98ce87d4e2f26f)
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
updated-dependencies:
|
|
53
|
+
- dependency-name: step-security/harden-runner
|
|
54
|
+
dependency-type: direct:production
|
|
55
|
+
update-type: version-update:semver-patch
|
|
56
|
+
...
|
|
57
|
+
|
|
58
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
59
|
+
|
|
60
|
+
commit 53362d891cc090956f2cb761ccc8b719ee5284ed
|
|
61
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
62
|
+
AuthorDate: 2024-11-21 01:17:04 +0900
|
|
63
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
64
|
+
CommitDate: 2024-11-21 01:17:04 +0900
|
|
65
|
+
|
|
66
|
+
Prefer `rb_intern_const` over `rb_intern` for literal strings
|
|
67
|
+
|
|
68
|
+
commit cd7b9a4b5b7ab2e88e5cdec8ff4a0c1c10a4cf08
|
|
69
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
70
|
+
AuthorDate: 2024-11-20 23:55:10 +0900
|
|
71
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
72
|
+
CommitDate: 2024-11-20 23:55:10 +0900
|
|
73
|
+
|
|
74
|
+
[DOC] Adjust indents as numbered list
|
|
75
|
+
|
|
76
|
+
commit dcb223b01e8da4f73fb6e925157f776ab8a1d8ab
|
|
77
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
78
|
+
AuthorDate: 2024-11-20 23:52:50 +0900
|
|
79
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
80
|
+
CommitDate: 2024-11-20 23:52:50 +0900
|
|
81
|
+
|
|
82
|
+
[DOC] Move main_page option to .rdoc_options
|
|
83
|
+
|
|
84
|
+
So that `rdoc` works alone, even without `rake`.
|
|
85
|
+
|
|
86
|
+
commit 7493b1cd2462260a0a0ec6be3565dcfda8803dbe
|
|
87
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
88
|
+
AuthorDate: 2024-10-17 14:46:46 +0900
|
|
89
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
90
|
+
CommitDate: 2024-11-01 17:26:50 +0900
|
|
91
|
+
|
|
92
|
+
Add extension library path
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
-*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
commit c9c9b9d15e798d94c3ce148859f8b88c541bc567
|
|
4
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
5
|
+
AuthorDate: 2025-07-15 16:24:07 +0900
|
|
6
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
7
|
+
CommitDate: 2025-07-15 16:24:09 +0900
|
|
8
|
+
|
|
9
|
+
Bump up v1.4.6
|
|
10
|
+
|
|
11
|
+
commit 9caddede7680d745ad751b8df69d9c1c6d9d1beb
|
|
12
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
13
|
+
AuthorDate: 2025-07-08 18:57:00 +0900
|
|
14
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
15
|
+
CommitDate: 2025-07-08 18:57:00 +0900
|
|
16
|
+
|
|
17
|
+
Prefer dedicated assertions
|
|
18
|
+
|
|
19
|
+
commit 7f858efa390ab83e8f14ee3ac0634e0495619604
|
|
20
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
21
|
+
AuthorDate: 2025-07-07 05:11:30 +0000
|
|
22
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
23
|
+
CommitDate: 2025-07-07 14:21:03 +0900
|
|
24
|
+
|
|
25
|
+
Bump step-security/harden-runner from 2.12.1 to 2.12.2
|
|
26
|
+
|
|
27
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.12.1 to 2.12.2.
|
|
28
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
29
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/002fdce3c6a235733a90a27c80493a3241e56863...6c439dc8bdf85cadbbce9ed30d1c7b959517bc49)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
updated-dependencies:
|
|
33
|
+
- dependency-name: step-security/harden-runner
|
|
34
|
+
dependency-version: 2.12.2
|
|
35
|
+
dependency-type: direct:production
|
|
36
|
+
update-type: version-update:semver-patch
|
|
37
|
+
...
|
|
38
|
+
|
|
39
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
40
|
+
|
|
41
|
+
commit 6668bfd42a4ca9b1044759e745be85adeb618706
|
|
42
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
43
|
+
AuthorDate: 2025-07-01 17:38:25 +0900
|
|
44
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
45
|
+
CommitDate: 2025-07-01 17:38:25 +0900
|
|
46
|
+
|
|
47
|
+
Run `have_func` with the header providing the declarations
|
|
48
|
+
|
|
49
|
+
commit fa02e74931db8509d24c13bc7049ed8102381903
|
|
50
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
51
|
+
AuthorDate: 2025-06-20 13:23:41 +0900
|
|
52
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
53
|
+
CommitDate: 2025-06-20 13:23:41 +0900
|
|
54
|
+
|
|
55
|
+
Use GITHUB_TOKEN instead of admin credential
|
|
56
|
+
|
|
57
|
+
commit a717f5f40977bd83702c3dccdc9333e3cc807d85
|
|
58
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
59
|
+
AuthorDate: 2025-06-16 04:27:41 +0000
|
|
60
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
61
|
+
CommitDate: 2025-06-16 16:27:34 +0900
|
|
62
|
+
|
|
63
|
+
Bump step-security/harden-runner from 2.12.0 to 2.12.1
|
|
64
|
+
|
|
65
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.12.0 to 2.12.1.
|
|
66
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
67
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/0634a2670c59f64b4a01f0f96f84700a4088b9f0...002fdce3c6a235733a90a27c80493a3241e56863)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
updated-dependencies:
|
|
71
|
+
- dependency-name: step-security/harden-runner
|
|
72
|
+
dependency-version: 2.12.1
|
|
73
|
+
dependency-type: direct:production
|
|
74
|
+
update-type: version-update:semver-patch
|
|
75
|
+
...
|
|
76
|
+
|
|
77
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
78
|
+
|
|
79
|
+
commit fd61177b71430c949062c52e8b5d004a3370b596
|
|
80
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
81
|
+
AuthorDate: 2025-06-04 13:53:00 +0900
|
|
82
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
83
|
+
CommitDate: 2025-06-04 14:03:12 +0900
|
|
84
|
+
|
|
85
|
+
Removed workaround for assert_ractor
|
|
86
|
+
|
|
87
|
+
commit 3dbe760bed4c1e85d2cbafd9bad33b18c3c395c7
|
|
88
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
89
|
+
AuthorDate: 2025-06-03 15:57:06 +0900
|
|
90
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
91
|
+
CommitDate: 2025-06-03 15:59:46 +0900
|
|
92
|
+
|
|
93
|
+
Alias value or join to take in old Ruby
|
|
94
|
+
|
|
95
|
+
commit 6539975c3c214eaf0b4653066bf9abae7f7eac58
|
|
96
|
+
Author: Koichi Sasada <ko1@atdot.net>
|
|
97
|
+
AuthorDate: 2025-05-27 03:58:04 +0900
|
|
98
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
99
|
+
CommitDate: 2025-06-03 15:29:21 +0900
|
|
100
|
+
|
|
101
|
+
`Ractor::Port`
|
|
102
|
+
|
|
103
|
+
* Added `Ractor::Port`
|
|
104
|
+
* `Ractor::Port#receive` (support multi-threads)
|
|
105
|
+
* `Rcator::Port#close`
|
|
106
|
+
* `Ractor::Port#closed?`
|
|
107
|
+
* Added some methods
|
|
108
|
+
* `Ractor#join`
|
|
109
|
+
* `Ractor#value`
|
|
110
|
+
* `Ractor#monitor`
|
|
111
|
+
* `Ractor#unmonitor`
|
|
112
|
+
* Removed some methods
|
|
113
|
+
* `Ractor#take`
|
|
114
|
+
* `Ractor.yield`
|
|
115
|
+
* Change the spec
|
|
116
|
+
* `Racotr.select`
|
|
117
|
+
|
|
118
|
+
You can wait for multiple sequences of messages with `Ractor::Port`.
|
|
119
|
+
|
|
120
|
+
```ruby
|
|
121
|
+
ports = 3.times.map{ Ractor::Port.new }
|
|
122
|
+
ports.map.with_index do |port, ri|
|
|
123
|
+
Ractor.new port,ri do |port, ri|
|
|
124
|
+
3.times{|i| port << "r#{ri}-#{i}"}
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
p ports.each{|port| pp 3.times.map{port.receive}}
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
In this example, we use 3 ports, and 3 Ractors send messages to them respectively.
|
|
133
|
+
We can receive a series of messages from each port.
|
|
134
|
+
|
|
135
|
+
You can use `Ractor#value` to get the last value of a Ractor's block:
|
|
136
|
+
|
|
137
|
+
```ruby
|
|
138
|
+
result = Ractor.new do
|
|
139
|
+
heavy_task()
|
|
140
|
+
end.value
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
You can wait for the termination of a Ractor with `Ractor#join` like this:
|
|
144
|
+
|
|
145
|
+
```ruby
|
|
146
|
+
Ractor.new do
|
|
147
|
+
some_task()
|
|
148
|
+
end.join
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`#value` and `#join` are similar to `Thread#value` and `Thread#join`.
|
|
152
|
+
|
|
153
|
+
To implement `#join`, `Ractor#monitor` (and `Ractor#unmonitor`) is introduced.
|
|
154
|
+
|
|
155
|
+
This commit changes `Ractor.select()` method.
|
|
156
|
+
It now only accepts ports or Ractors, and returns when a port receives a message or a Ractor terminates.
|
|
157
|
+
|
|
158
|
+
We removes `Ractor.yield` and `Ractor#take` because:
|
|
159
|
+
* `Ractor::Port` supports most of similar use cases in a simpler manner.
|
|
160
|
+
* Removing them significantly simplifies the code.
|
|
161
|
+
|
|
162
|
+
We also change the internal thread scheduler code (thread_pthread.c):
|
|
163
|
+
* During barrier synchronization, we keep the `ractor_sched` lock to avoid deadlocks.
|
|
164
|
+
This lock is released by `rb_ractor_sched_barrier_end()`
|
|
165
|
+
which is called at the end of operations that require the barrier.
|
|
166
|
+
* fix potential deadlock issues by checking interrupts just before setting UBF.
|
|
167
|
+
|
|
168
|
+
https://bugs.ruby-lang.org/issues/21262
|
|
169
|
+
|
|
170
|
+
commit e019882c5cecef54a2ed2fb225bd517756596e44
|
|
171
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
172
|
+
AuthorDate: 2025-05-02 09:30:56 +0900
|
|
173
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
174
|
+
CommitDate: 2025-05-02 09:30:56 +0900
|
|
175
|
+
|
|
176
|
+
Update to the latest versions of actions
|
|
177
|
+
|
|
178
|
+
commit e15079d2fb270049c9c900a98ea47d4a7f8f6451
|
|
179
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
180
|
+
AuthorDate: 2025-04-28 04:47:37 +0000
|
|
181
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
182
|
+
CommitDate: 2025-04-30 10:34:09 +0900
|
|
183
|
+
|
|
184
|
+
Bump step-security/harden-runner from 2.11.1 to 2.12.0
|
|
185
|
+
|
|
186
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.11.1 to 2.12.0.
|
|
187
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
188
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/c6295a65d1254861815972266d5933fd6e532bdf...0634a2670c59f64b4a01f0f96f84700a4088b9f0)
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
updated-dependencies:
|
|
192
|
+
- dependency-name: step-security/harden-runner
|
|
193
|
+
dependency-version: 2.12.0
|
|
194
|
+
dependency-type: direct:production
|
|
195
|
+
update-type: version-update:semver-minor
|
|
196
|
+
...
|
|
197
|
+
|
|
198
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
199
|
+
|
|
200
|
+
commit 410c8dd4aeafe349cb239b66f4d0cc2d37a6774a
|
|
201
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
202
|
+
AuthorDate: 2025-04-13 21:59:26 +0900
|
|
203
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
204
|
+
CommitDate: 2025-04-14 06:50:31 +0900
|
|
205
|
+
|
|
206
|
+
Suppress unused function warning
|
|
207
|
+
|
|
208
|
+
commit 15c26967944ed7240b29bef368cffaace3dbd6fe
|
|
209
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
210
|
+
AuthorDate: 2025-04-13 21:48:34 +0900
|
|
211
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
212
|
+
CommitDate: 2025-04-14 06:50:13 +0900
|
|
213
|
+
|
|
214
|
+
Check members only for defined structs
|
|
215
|
+
|
|
216
|
+
commit 00e9d2bb12d4c4aa7436926e6e1a03fac88980b6
|
|
217
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
218
|
+
AuthorDate: 2025-04-07 04:04:23 +0000
|
|
219
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
220
|
+
CommitDate: 2025-04-07 17:04:43 +0900
|
|
221
|
+
|
|
222
|
+
Bump step-security/harden-runner from 2.10.4 to 2.11.1
|
|
223
|
+
|
|
224
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.4 to 2.11.1.
|
|
225
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
226
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/cb605e52c26070c328afc4562f0b4ada7618a84e...c6295a65d1254861815972266d5933fd6e532bdf)
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
updated-dependencies:
|
|
230
|
+
- dependency-name: step-security/harden-runner
|
|
231
|
+
dependency-version: 2.11.1
|
|
232
|
+
dependency-type: direct:production
|
|
233
|
+
update-type: version-update:semver-minor
|
|
234
|
+
...
|
|
235
|
+
|
|
236
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
237
|
+
|
|
238
|
+
commit fb037c516260e35dc0fd8edffd9ad643831e25c9
|
|
239
|
+
Author: Naoto Ono <onoto1998@gmail.com>
|
|
240
|
+
AuthorDate: 2025-03-28 12:58:09 +0900
|
|
241
|
+
Commit: GitHub <noreply@github.com>
|
|
242
|
+
CommitDate: 2025-03-28 12:58:09 +0900
|
|
243
|
+
|
|
244
|
+
Skip TestEtc#test_ractor_parallel on ModGC workflow (#55)
|
|
245
|
+
|
|
246
|
+
https://bugs.ruby-lang.org/issues/21204
|
|
247
|
+
|
|
248
|
+
TestEtc#test_ractor_parallel is only failing intermittently on ModGC workflow after 87fb0c4. So, we'll skip this test on ModGC workflow.
|
|
249
|
+
|
|
250
|
+
commit 87fb0c4a8386a19b57d1fc2915e0466f9b6a01bd
|
|
251
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
252
|
+
AuthorDate: 2025-03-27 21:38:35 +0100
|
|
253
|
+
Commit: Benoit Daloze <eregontp@gmail.com>
|
|
254
|
+
CommitDate: 2025-03-27 21:38:35 +0100
|
|
255
|
+
|
|
256
|
+
Attempt to re-enable TestEtc#test_ractor_parallel
|
|
257
|
+
|
|
258
|
+
* If this fails, please revert this commit in ruby/etc
|
|
259
|
+
to keep the repos sync'ed.
|
|
260
|
+
|
|
261
|
+
commit 18c12c084c2f17947887f5e1d2f99c5bdd02778c
|
|
262
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
263
|
+
AuthorDate: 2025-03-27 21:38:00 +0100
|
|
264
|
+
Commit: Benoit Daloze <eregontp@gmail.com>
|
|
265
|
+
CommitDate: 2025-03-27 21:38:00 +0100
|
|
266
|
+
|
|
267
|
+
Speedup TestEtc#test_ractor_parallel
|
|
268
|
+
|
|
269
|
+
commit 9e46857011b51889cfb0d00238c070038fc1424b
|
|
270
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
271
|
+
AuthorDate: 2025-03-27 21:20:02 +0100
|
|
272
|
+
Commit: Benoit Daloze <eregontp@gmail.com>
|
|
273
|
+
CommitDate: 2025-03-27 21:20:02 +0100
|
|
274
|
+
|
|
275
|
+
Increase timeout for test_ractor_parallel
|
|
276
|
+
|
|
277
|
+
* It seems much slower on macOS (locally on Linux it's always < 1 second).
|
|
278
|
+
|
|
279
|
+
commit 894a7e37fc699f0875da8e4ad3b9be76e6613603
|
|
280
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
281
|
+
AuthorDate: 2025-03-27 10:57:27 +0100
|
|
282
|
+
Commit: GitHub <noreply@github.com>
|
|
283
|
+
CommitDate: 2025-03-27 10:57:27 +0100
|
|
284
|
+
|
|
285
|
+
Sync with ruby/ruby and add omit for test_ractor_parallel
|
|
286
|
+
|
|
287
|
+
commit 12dbe03b6a3a8ef693806225801d6ac17fc3e1f9
|
|
288
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
289
|
+
AuthorDate: 2025-03-25 22:20:59 +0100
|
|
290
|
+
Commit: Benoit Daloze <eregontp@gmail.com>
|
|
291
|
+
CommitDate: 2025-03-25 22:27:11 +0100
|
|
292
|
+
|
|
293
|
+
Etc.sysconfdir does not work in a Ractor
|
|
294
|
+
|
|
295
|
+
* Because it uses RbConfig::CONFIG.
|
|
296
|
+
* See https://github.com/ruby/ruby/actions/runs/14069312270/job/39399502142#step:12:947
|
|
297
|
+
|
|
298
|
+
commit ae62b7619c281848ce949d27f5ec6ff26627c82d
|
|
299
|
+
Author: Benoit Daloze <eregontp@gmail.com>
|
|
300
|
+
AuthorDate: 2025-02-19 17:46:07 +0100
|
|
301
|
+
Commit: Benoit Daloze <eregontp@gmail.com>
|
|
302
|
+
CommitDate: 2025-03-25 21:16:53 +0100
|
|
303
|
+
|
|
304
|
+
Most Etc methods are not Ractor-safe currently
|
|
305
|
+
|
|
306
|
+
* See https://bugs.ruby-lang.org/issues/21115
|
|
307
|
+
|
|
308
|
+
commit eb33efe781c2ea5a6a9684b8a4ff309556d5ded6
|
|
309
|
+
Author: Mike Perham <mike@perham.net>
|
|
310
|
+
AuthorDate: 2025-03-11 07:24:21 -0700
|
|
311
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
312
|
+
CommitDate: 2025-03-12 09:16:01 +0900
|
|
313
|
+
|
|
314
|
+
Update README.md
|
|
315
|
+
|
|
316
|
+
Add link to RDoc.
|
|
317
|
+
|
|
318
|
+
commit 3a61feb7adc669577a237c769948462b47ac2a37
|
|
319
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
320
|
+
AuthorDate: 2025-01-20 04:43:24 +0000
|
|
321
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
322
|
+
CommitDate: 2025-01-20 13:46:06 +0900
|
|
323
|
+
|
|
324
|
+
Bump step-security/harden-runner from 2.10.3 to 2.10.4
|
|
325
|
+
|
|
326
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.3 to 2.10.4.
|
|
327
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
328
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/c95a14d0e5bab51a9f56296a4eb0e416910cd350...cb605e52c26070c328afc4562f0b4ada7618a84e)
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
updated-dependencies:
|
|
332
|
+
- dependency-name: step-security/harden-runner
|
|
333
|
+
dependency-type: direct:production
|
|
334
|
+
update-type: version-update:semver-patch
|
|
335
|
+
...
|
|
336
|
+
|
|
337
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
338
|
+
|
|
339
|
+
commit 185d45e87c8dbd9053ef15d6799167bff0094038
|
|
340
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
341
|
+
AuthorDate: 2025-01-20 13:40:18 +0900
|
|
342
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
343
|
+
CommitDate: 2025-01-20 13:42:39 +0900
|
|
344
|
+
|
|
345
|
+
RDoc is now bundled gems with Ruby 3.5dev
|
|
346
|
+
|
|
347
|
+
commit cfd178f96947c53dfd4cb358a960dd9ed9a49212
|
|
348
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
349
|
+
AuthorDate: 2025-01-14 00:12:17 +0100
|
|
350
|
+
Commit: GitHub <noreply@github.com>
|
|
351
|
+
CommitDate: 2025-01-14 00:12:17 +0100
|
|
352
|
+
|
|
353
|
+
Bump step-security/harden-runner from 2.10.2 to 2.10.3 (#47)
|
|
354
|
+
|
|
355
|
+
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.2 to 2.10.3.
|
|
356
|
+
- [Release notes](https://github.com/step-security/harden-runner/releases)
|
|
357
|
+
- [Commits](https://github.com/step-security/harden-runner/compare/0080882f6c36860b6ba35c610c98ce87d4e2f26f...c95a14d0e5bab51a9f56296a4eb0e416910cd350)
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
updated-dependencies:
|
|
361
|
+
- dependency-name: step-security/harden-runner
|
|
362
|
+
dependency-type: direct:production
|
|
363
|
+
update-type: version-update:semver-patch
|
|
364
|
+
...
|
|
365
|
+
|
|
366
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
367
|
+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
368
|
+
|
|
369
|
+
commit 9378c79f4a00c21807af853c433719258b808029
|
|
370
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
371
|
+
AuthorDate: 2024-12-23 04:43:48 +0000
|
|
372
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
373
|
+
CommitDate: 2024-12-23 14:45:38 +0900
|
|
374
|
+
|
|
375
|
+
Bump rubygems/release-gem from 1.1.0 to 1.1.1
|
|
376
|
+
|
|
377
|
+
Bumps [rubygems/release-gem](https://github.com/rubygems/release-gem) from 1.1.0 to 1.1.1.
|
|
378
|
+
- [Release notes](https://github.com/rubygems/release-gem/releases)
|
|
379
|
+
- [Commits](https://github.com/rubygems/release-gem/compare/9e85cb11501bebc2ae661c1500176316d3987059...a25424ba2ba8b387abc8ef40807c2c85b96cbe32)
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
updated-dependencies:
|
|
383
|
+
- dependency-name: rubygems/release-gem
|
|
384
|
+
dependency-type: direct:production
|
|
385
|
+
update-type: version-update:semver-patch
|
|
386
|
+
...
|
|
387
|
+
|
|
388
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
389
|
+
|
|
390
|
+
commit 8d585ea0c920b5c1fa2de70fb6869271b84ecc9f
|
|
391
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
392
|
+
AuthorDate: 2024-12-03 13:58:23 +0900
|
|
393
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
394
|
+
CommitDate: 2024-12-03 13:58:23 +0900
|
|
395
|
+
|
|
396
|
+
Use same license files with ruby/ruby
|
data/test/etc/test_etc.rb
CHANGED
|
@@ -131,6 +131,11 @@ class TestEtc < Test::Unit::TestCase
|
|
|
131
131
|
}
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
+
def test_uname_release_on_windows
|
|
135
|
+
release = IO.popen(%w[cmd.exe /c ver], "rb", &:read)[/\d+\.\d+\.\d+/]
|
|
136
|
+
assert_equal(release, Etc.uname[:release])
|
|
137
|
+
end if /mswin|mingw/ =~ RUBY_PLATFORM
|
|
138
|
+
|
|
134
139
|
def test_sysconf
|
|
135
140
|
begin
|
|
136
141
|
Etc.sysconf
|
|
@@ -167,6 +172,9 @@ class TestEtc < Test::Unit::TestCase
|
|
|
167
172
|
def test_nprocessors
|
|
168
173
|
n = Etc.nprocessors
|
|
169
174
|
assert_operator(1, :<=, n)
|
|
175
|
+
if /mswin|mingw/ =~ RUBY_PLATFORM
|
|
176
|
+
assert_operator(Integer(ENV.fetch("NUMBER_OF_PROCESSORS")), :<=, n)
|
|
177
|
+
end
|
|
170
178
|
end
|
|
171
179
|
|
|
172
180
|
def test_sysconfdir
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: etc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yukihiro Matsumoto
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-10-08 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: Provides access to information typically stored in UNIX /etc directory.
|
|
13
13
|
email:
|
|
@@ -24,6 +24,19 @@ extra_rdoc_files:
|
|
|
24
24
|
- ext/etc/etc.c
|
|
25
25
|
- ext/etc/extconf.rb
|
|
26
26
|
- ext/etc/mkconstants.rb
|
|
27
|
+
- logs/ChangeLog-1.0.0
|
|
28
|
+
- logs/ChangeLog-1.0.1
|
|
29
|
+
- logs/ChangeLog-1.1.0
|
|
30
|
+
- logs/ChangeLog-1.2.0
|
|
31
|
+
- logs/ChangeLog-1.3.0
|
|
32
|
+
- logs/ChangeLog-1.3.1
|
|
33
|
+
- logs/ChangeLog-1.4.0
|
|
34
|
+
- logs/ChangeLog-1.4.1
|
|
35
|
+
- logs/ChangeLog-1.4.2
|
|
36
|
+
- logs/ChangeLog-1.4.3
|
|
37
|
+
- logs/ChangeLog-1.4.4
|
|
38
|
+
- logs/ChangeLog-1.4.5
|
|
39
|
+
- logs/ChangeLog-1.4.6
|
|
27
40
|
- test/etc/test_etc.rb
|
|
28
41
|
files:
|
|
29
42
|
- BSDL
|
|
@@ -34,6 +47,19 @@ files:
|
|
|
34
47
|
- ext/etc/etc.c
|
|
35
48
|
- ext/etc/extconf.rb
|
|
36
49
|
- ext/etc/mkconstants.rb
|
|
50
|
+
- logs/ChangeLog-1.0.0
|
|
51
|
+
- logs/ChangeLog-1.0.1
|
|
52
|
+
- logs/ChangeLog-1.1.0
|
|
53
|
+
- logs/ChangeLog-1.2.0
|
|
54
|
+
- logs/ChangeLog-1.3.0
|
|
55
|
+
- logs/ChangeLog-1.3.1
|
|
56
|
+
- logs/ChangeLog-1.4.0
|
|
57
|
+
- logs/ChangeLog-1.4.1
|
|
58
|
+
- logs/ChangeLog-1.4.2
|
|
59
|
+
- logs/ChangeLog-1.4.3
|
|
60
|
+
- logs/ChangeLog-1.4.4
|
|
61
|
+
- logs/ChangeLog-1.4.5
|
|
62
|
+
- logs/ChangeLog-1.4.6
|
|
37
63
|
- test/etc/test_etc.rb
|
|
38
64
|
homepage: https://github.com/ruby/etc
|
|
39
65
|
licenses:
|
|
@@ -49,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
49
75
|
requirements:
|
|
50
76
|
- - ">="
|
|
51
77
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 2.
|
|
78
|
+
version: 2.7.0
|
|
53
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
80
|
requirements:
|
|
55
81
|
- - ">="
|
|
56
82
|
- !ruby/object:Gem::Version
|
|
57
83
|
version: '0'
|
|
58
84
|
requirements: []
|
|
59
|
-
rubygems_version: 3.6.
|
|
85
|
+
rubygems_version: 3.6.9
|
|
60
86
|
specification_version: 4
|
|
61
87
|
summary: Provides access to information typically stored in UNIX /etc directory.
|
|
62
88
|
test_files: []
|