You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2024-04-12-march-rubygems-updates.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,12 @@ Welcome to the RubyGems monthly update! As part of our efforts at Ruby Central,
9
9
10
10
## RubyGems News
11
11
12
-
This month, RubyGems released RubyGems [3.5.7](https://github.com/rubygems/rubygems/blob/master/CHANGELOG.md#357--2024-03-22) and Bundler [2.5.7](https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md#257-march-22-2024). These updates introduce a range of enhancements and bug fixes, all aimed at enhancing the developer experience. They include: [the introduction of an attribute in `Gem::SafeYAML.safe_load` to control whether YAML aliases is enabled](https://github.com/rubygems/rubygems/pull/7464), [a warning mechanism for when the `required_ruby_version` specification attribute is empty](https://github.com/rubygems/rubygems/pull/5010), and [the removal of unnecessary configurations in the RuboCop setup generated by `bundle gem`](https://github.com/rubygems/rubygems/pull/7478).
12
+
This month, RubyGems released RubyGems [3.5.7](https://github.com/rubygems/rubygems/blob/master/CHANGELOG.md#357--2024-03-22) and Bundler [2.5.7](https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md#257-march-22-2024). These updates introduce a range of enhancements and bug fixes, all aimed at enhancing the developer experience. They include: [the introduction of an attribute](https://github.com/rubygems/rubygems/pull/7464) in `Gem::SafeYAML.safe_load` to control whether YAML aliases is enabled, [a warning mechanism](https://github.com/rubygems/rubygems/pull/5010)for when the `required_ruby_version` specification attribute is empty, and [the removal of unnecessary configurations](https://github.com/rubygems/rubygems/pull/7478)in the RuboCop setup generated by `bundle gem`.
13
13
14
14
Some other important accomplishments from the team this month include:
15
15
16
-
**[Make `gem install` respect the umask of the target system](https://github.com/rubygems/rubygems/pull/7518)**:
16
+
17
+
**[Making `gem install` respect the umask of the target system](https://github.com/rubygems/rubygems/pull/7518):**
17
18
18
19
- The goal of this change is to address the issue where RubyGems may install files with permissions that are broader than desired, giving write permissions to users other than the current user. This issue arises when the original packaging of files includes these broad permissions, likely due to an unsafe umask set by the gem's author.
19
20
- The solution implemented by [@deivid-rodriguez](https://github.com/deivid-rodriguez) was to adopt a more straightforward approach than the previous attempt (which was reverted due to test failures in `ruby core`) by applying the target system’s umask to regular files (excluding directories) before setting their permissions.
@@ -38,7 +39,8 @@ The following are highlights of what the team worked on this month:
38
39
- The upgrade process utilized `pgbouncer` and a manually managed blue/green environment to achieve zero downtime. For detailed scripts and an explanation of the procedure, visit the [project’s GitHub page](https://github.com/rubygems/pg-major-update).
39
40
- A detailed blog post with additional details will be released soon.
40
41
41
-
In March, RubyGems.org gained [69 new commits](https://github.com/rubygems/rubygems.org/compare/master@%7B2024-2-01%7D...master@%7B2024-2-31%7D) contributed by 12 authors. There were 466 additions and 1,263 deletions across 75 files.
42
+
In March, RubyGems.org gained [69 new commits](https://github.com/rubygems/rubygems.org/compare/master@%7B2024-3-01%7D...master@%7B2024-3-31%7D) contributed by 12 authors. There were 466 additions and 1,263 deletions across 75 files.
43
+
42
44
43
45
## Thank you
44
46
@@ -58,6 +60,10 @@ Thank you to all the contributors of RubyGems and RubyGems.org for this month! Y
58
60
-[@agrobbin](https://github.com/agrobbin) Alex Robbin
0 commit comments