Project

General

Profile

Actions

Feature #19846

closed

Extend warnings message of bundled gems for gem author

Added by hsbt (Hiroshi SHIBATA) 8 months ago. Updated 8 months ago.

Status:
Closed
Target version:
-
[ruby-core:114479]

Description

This is my task reminder. The current warnings feature of bundled gems only notice for Gemfile.

Like this:

$ cat Gemfile
# frozen_string_literal: true

source "https://rubygems.org"

gem "activesupport"
$ bundle exec irb
>> require "active_support/all"
/Users/hsbt/.local/share/gem/gems/activesupport-7.0.7.2/lib/active_support/core_ext/big_decimal/conversions.rb:3: warning: bigdecimal will be not part of the default gems since Ruby 3.4.0. Add it to your Gemfile.
/Users/hsbt/.local/share/gem/gems/activesupport-7.0.7.2/lib/active_support/notifications/fanout.rb:3: warning: mutex_m will be not part of the default gems since Ruby 3.4.0. Add it to your Gemfile.

But we should also notice above message for maintainer of activesupport like "Add "mutex_m" with add_dependency to activesupport gemspec."

Actions #1

Updated by hsbt (Hiroshi SHIBATA) 8 months ago

  • Status changed from Assigned to Closed

Applied in changeset git|f7359e112a2834e7360dcee3836508d2031b7e72.


Suggest to add bundled gems into gemspec if 3rd party gem try to load gem from Gem::BUNDLED_GEMS::SINCE

[Feature #19846]

Actions

Also available in: Atom PDF

Like0
Like0