Commit graph

27 commits

Author SHA1 Message Date
Hiroshi SHIBATA
42f368ead5
Surpressing additional message if it missed to detect gem name 2023-11-02 15:48:34 +09:00
Hiroshi SHIBATA
e10f7c9d5b
Fix to detect gem name logic. It's mistake to migrate bundled_gems.rb from rubygems_integration.rb
https://github.com/ioquatix/bake/pull/15#issuecomment-1777985097
2023-11-02 15:48:34 +09:00
Hiroshi SHIBATA
e34e8b93f8
Support Pathname object for warning feature of bundled gems 2023-11-02 13:32:53 +09:00
Hiroshi SHIBATA
1640dbdedd
Sort gem names 2023-10-20 09:13:55 +09:00
Hiroshi SHIBATA
2a56a6c3af
racc is also extracted to bundled gems 2023-10-20 09:13:55 +09:00
Hiroshi SHIBATA
ac8ece81f2 Tweak the grammar 2023-10-18 14:51:48 +09:00
Hiroshi SHIBATA
46766e922b normalize gem name without .so or .bundle 2023-10-18 14:51:48 +09:00
Hiroshi SHIBATA
3b690b726d reject bundled gems if they are declared in Gemfile 2023-10-18 14:51:48 +09:00
Hiroshi SHIBATA
35edc14ee1 Ignore duplicated warning with native extension 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
c6728caeb7 Fix wrong gem name 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
fe5329f032 Ignore warning on LoadError when running under Bundler 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
62eea99a1c Added recovery instructions for RubyGems 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
fdf0589a95 Surpressing double warnings 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
b49346ee73 Warn only LoadError without Bundler environment 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
57c2ae206f Move additional warnings for Gem author under Gem::BUNDLED_GEMS. 2023-10-13 16:22:09 +09:00
Hiroshi SHIBATA
ea05ddbeff Move path normalization into Gem from Bundler class 2023-10-13 16:22:09 +09:00
Nobuyoshi Nakada
7d32011399 [Bug #19852] Use gem name without suffix 2023-08-26 02:47:04 +09:00
Hiroshi SHIBATA
70272ca65c
Warn for bigdecimal.so case too 2023-08-25 13:11:06 +09:00
Hiroshi SHIBATA
3a70afad32
prime is bundled gems since Ruby 3.1.0. We should warn it under the bundler environment 2023-08-25 12:56:47 +09:00
Hiroshi SHIBATA
28b2cb10d5
We should also warn when loading 'bigdecimal/*' libraries 2023-08-25 12:52:10 +09:00
Hiroshi SHIBATA
bdd535eac6
Decorate Hash syntax for Gem::BUNDLED_GEMS::EXACT 2023-08-25 12:52:10 +09:00
Hiroshi SHIBATA
1c93288f8b
Added bigdecimal to warning targets for the bundled gems.
[Bug #19843]
2023-08-22 14:35:25 +09:00
Nobuyoshi Nakada
4e6861d337 Fix Gem::BUNDLED_GEMS.find_gem return value
If the required name is different from the found gem name, return the
gem name, instead of true that means the required name is an exact gem
name.
2023-08-05 18:56:37 +09:00
Hiroshi SHIBATA
ede3c5ee0f Use future tense if current version is older than list version 2023-08-04 21:12:09 +09:00
Hiroshi SHIBATA
2deeb0e0bf Removed unnecessary methods 2023-07-28 14:57:10 +09:00
Nobuyoshi Nakada
989f3add62 Warn default gems which will be gemified in future 2023-07-28 14:57:10 +09:00
Hiroshi SHIBATA
6500f85927
Added Gem::BUNDLED_GEMS for warning feature of Bundler 2023-07-26 08:51:57 +09:00