etc 1.4.5 → 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/COPYING +56 -0
- data/ChangeLog +4 -4
- data/README.md +1 -0
- data/ext/etc/etc.c +62 -35
- data/ext/etc/extconf.rb +25 -24
- 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 +74 -9
- metadata +34 -9
- /data/{LICENSE.txt → BSDL} +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
-*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
commit 0d2f76ffb45f3f12f37e9c5f0760cbd700357e53
|
|
4
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
5
|
+
AuthorDate: 2024-11-01 13:09:28 +0900
|
|
6
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
7
|
+
CommitDate: 2024-11-01 13:09:28 +0900
|
|
8
|
+
|
|
9
|
+
Bump up v1.4.4
|
|
10
|
+
|
|
11
|
+
commit 0ec586a2ec3694bdd526eeb59c4876a5672d90df
|
|
12
|
+
Author: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
13
|
+
AuthorDate: 2024-11-01 13:08:41 +0900
|
|
14
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
15
|
+
CommitDate: 2024-11-01 13:08:41 +0900
|
|
16
|
+
|
|
17
|
+
Enabled trusted publisher for rubygems.org
|
|
18
|
+
|
|
19
|
+
commit e5b498fad9cc1eaab99714efa7bd8024fa503d52
|
|
20
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
21
|
+
AuthorDate: 2024-10-17 16:28:51 +0900
|
|
22
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
23
|
+
CommitDate: 2024-10-17 16:28:51 +0900
|
|
24
|
+
|
|
25
|
+
Fix sysconfdir when load-relative
|
|
26
|
+
|
|
27
|
+
When relative load paths option is enabled, the prefix is determined
|
|
28
|
+
at the runtime. The only way to get it outside libruby is to use
|
|
29
|
+
rbconfig.rb.
|
|
30
|
+
|
|
31
|
+
commit c8e0baf9836f160607d9b01464e25275e5b750c9
|
|
32
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
33
|
+
AuthorDate: 2024-04-17 10:04:23 +0900
|
|
34
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
35
|
+
CommitDate: 2024-10-17 15:14:40 +0900
|
|
36
|
+
|
|
37
|
+
[DOC] Fetch deeper for changelogs
|
|
38
|
+
|
|
39
|
+
commit 445c9cd650e914c9a9a78b4ddbbd82a870ccdecd
|
|
40
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
41
|
+
AuthorDate: 2024-04-17 09:59:48 +0900
|
|
42
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
43
|
+
CommitDate: 2024-04-17 09:59:48 +0900
|
|
44
|
+
|
|
45
|
+
[DOC] Exclude commits by bots from ChangeLogs
|
|
46
|
+
|
|
47
|
+
commit 8d33e4c6f6c7dc46c308219d940707a1e61d3727
|
|
48
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
49
|
+
AuthorDate: 2024-04-17 09:31:33 +0900
|
|
50
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
51
|
+
CommitDate: 2024-04-17 09:31:33 +0900
|
|
52
|
+
|
|
53
|
+
[DOC] Update changelogse.rake
|
|
54
|
+
|
|
55
|
+
- Exclude CI-skipped commits from changelogs
|
|
56
|
+
- Make timestamps in a ISO 8601-like format
|
|
57
|
+
|
|
58
|
+
commit 11677318ac3b88128a056a434c3a9bf4f574a575
|
|
59
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
60
|
+
AuthorDate: 2024-03-03 00:55:45 +0900
|
|
61
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
62
|
+
CommitDate: 2024-03-03 00:55:45 +0900
|
|
63
|
+
|
|
64
|
+
Drop support for old ERB
|
|
65
|
+
|
|
66
|
+
commit b997d62a5b8f55b16a2178def45ce3687a3d8fac
|
|
67
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
68
|
+
AuthorDate: 2023-10-29 16:06:43 +0900
|
|
69
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
70
|
+
CommitDate: 2023-12-29 13:25:52 +0900
|
|
71
|
+
|
|
72
|
+
Use ruby/actions#43
|
|
73
|
+
|
|
74
|
+
commit 97a4f798d4373393ca8e3b6c328bc9232c33c7a6
|
|
75
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
76
|
+
AuthorDate: 2023-12-27 18:04:04 +0900
|
|
77
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
78
|
+
CommitDate: 2023-12-27 18:04:04 +0900
|
|
79
|
+
|
|
80
|
+
[DOC] Add minimal documents for constants
|
|
81
|
+
|
|
82
|
+
commit fae932ff617fe5f6435a5ce53b3d8cb4ae8f631e
|
|
83
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
84
|
+
AuthorDate: 2023-12-27 14:09:36 +0900
|
|
85
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
86
|
+
CommitDate: 2023-12-27 14:09:36 +0900
|
|
87
|
+
|
|
88
|
+
[DOC] Improve Etc documents
|
|
89
|
+
|
|
90
|
+
commit a71f773448601c838e07d655bbfeec501875e648
|
|
91
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
92
|
+
AuthorDate: 2023-12-27 12:56:23 +0900
|
|
93
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
94
|
+
CommitDate: 2023-12-27 13:08:26 +0900
|
|
95
|
+
|
|
96
|
+
[DOC] Move lib/io.rb only for rdoc to docs
|
|
97
|
+
|
|
98
|
+
commit 0353d7c8ee4c30849cba69e90147085333d25b47
|
|
99
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
100
|
+
AuthorDate: 2023-12-20 13:27:08 +0900
|
|
101
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
102
|
+
CommitDate: 2023-12-20 14:40:25 +0900
|
|
103
|
+
|
|
104
|
+
[DOC] Add empty io.rb for `IO#pathconf` to satisfy the coverage
|
|
105
|
+
|
|
106
|
+
commit a39e982129f30cfd68a66fe67b2656c904eaeeae
|
|
107
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
108
|
+
AuthorDate: 2023-12-18 16:12:47 +0900
|
|
109
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
110
|
+
CommitDate: 2023-12-20 14:40:25 +0900
|
|
111
|
+
|
|
112
|
+
[DOC] Missing constant
|
|
113
|
+
|
|
114
|
+
commit 44425427ab3e4aa6274e9d5dd48158e87aefdeef
|
|
115
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
116
|
+
AuthorDate: 2023-12-18 16:09:06 +0900
|
|
117
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
118
|
+
CommitDate: 2023-12-20 14:40:25 +0900
|
|
119
|
+
|
|
120
|
+
[DOC] Move rdoc files to .documnet
|
|
121
|
+
|
|
122
|
+
commit dc2f925118c4c4b5430dd156acdf2e9078336f85
|
|
123
|
+
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
124
|
+
AuthorDate: 2023-12-18 08:41:56 +0000
|
|
125
|
+
Commit: Hiroshi SHIBATA <hsbt@ruby-lang.org>
|
|
126
|
+
CommitDate: 2023-12-18 17:49:10 +0900
|
|
127
|
+
|
|
128
|
+
Bump actions/upload-artifact from 3 to 4
|
|
129
|
+
|
|
130
|
+
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
|
|
131
|
+
- [Release notes](https://github.com/actions/upload-artifact/releases)
|
|
132
|
+
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
updated-dependencies:
|
|
136
|
+
- dependency-name: actions/upload-artifact
|
|
137
|
+
dependency-type: direct:production
|
|
138
|
+
update-type: version-update:semver-major
|
|
139
|
+
...
|
|
140
|
+
|
|
141
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
142
|
+
|
|
143
|
+
commit 9d54a331d8f1312440c50b1862b5e04ef0ed67b2
|
|
144
|
+
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
145
|
+
AuthorDate: 2023-12-18 16:24:46 +0900
|
|
146
|
+
Commit: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
147
|
+
CommitDate: 2023-12-18 16:24:46 +0900
|
|
148
|
+
|
|
149
|
+
Rubygems 3.5 does not work with ruby 2.6
|
|
@@ -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
|