Commit graph

28 commits

Author SHA1 Message Date
David Rodríguez
1a8d338337 Initialize gems tmp when initializing bundled_gems_spec suite
That way it works even if no Bundler specs have run before.
2025-05-29 10:09:28 +09:00
Hiroshi SHIBATA
b47a04eb91 Refactor bundled condition 2025-04-10 17:29:39 +09:00
Hiroshi SHIBATA
3390b6a515 Added simple failing example 2025-04-10 17:29:39 +09:00
David Rodríguez
c83370671b Improve bundled gems warning messages
Currently evenn if the require actually fails, they suggest that the
file was actually loaded, which is confusing. I reworded them to reduce
this confusion.
2025-02-06 13:07:55 +09:00
David Rodríguez
433f4e30b3 Simplify bundled gems warnings implementation
Most of the stuff is not actually necessary.
2025-02-06 13:07:55 +09:00
David Rodríguez
68bb6ceeaf Remove unnecessary SINCE_FAST_PATH constant
If anything, I think this may be causing some false positives.
2025-02-06 13:07:55 +09:00
Hiroshi SHIBATA
68095ffc16 irb and reline are now bundled gems, we don't need to skip workaround for them 2025-01-24 15:46:46 +09:00
Hiroshi SHIBATA
7494646101
Use pure ruby library instead of C ext library for dependency warning example 2025-01-23 16:09:29 +09:00
Hiroshi SHIBATA
d11ca207e9
Use openssl instead of fiddle and erb for native extension test 2025-01-23 16:08:56 +09:00
Hiroshi SHIBATA
fcecef7752 Added logger dependency for Bundler's example 2025-01-10 10:19:39 +09:00
Hiroshi SHIBATA
adb4029bc1 Removed logger from stub data 2025-01-08 17:12:19 +09:00
Hiroshi SHIBATA
32fb364de8 Replace target list with stub constants at example of bundled_gems.rb 2025-01-08 17:12:19 +09:00
Hiroshi SHIBATA
27c9ccb30e Also stub-out with directry using with test script or -e option 2025-01-08 11:55:39 +09:00
Hiroshi SHIBATA
4a02a72ca5 Dont't use stub constants like LIBDIR in bundled_gems.rb 2025-01-08 11:55:39 +09:00
Hiroshi SHIBATA
aaf36f4f8e Use heredoc to script runner for another ruby process 2025-01-08 11:55:39 +09:00
Hiroshi SHIBATA
945fdf6091 Relax regexp for Ruby 3.5 2024-12-25 20:10:18 +09:00
David Rodríguez
42026ec3da Fix bundled gems warning for sub feature locations 2024-12-24 12:07:54 +09:00
Hiroshi SHIBATA
4de6680a88
Added limitation of bundled_gems.rb with sub-feature example 2024-12-23 16:21:27 +09:00
David Rodríguez
3cbfd21916 Fix code location in bundled gems warnings 2024-12-23 16:01:30 +09:00
David Rodríguez
62a727536c Fix spec description
We're actually expecting the warning to not be displayed here.
2024-12-23 16:01:30 +09:00
Hiroshi SHIBATA
1a8f1379bc
Skip failure tests with Windows platform 2024-11-28 12:23:56 +09:00
Hiroshi SHIBATA
24889e44f7 Rename environment name to more descriptive 2024-11-27 16:45:10 +09:00
Hiroshi SHIBATA
0780e76803 Removed needless require for build_metadata 2024-11-21 15:32:12 +09:00
Hiroshi SHIBATA
d9a9d5a0c0 Move configuration to RSpec.configure 2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
2dc8c48e09 Need to install all of dependency for bundler test suite 2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
c17ab1eea0 Fixed required path with example location 2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
1a416920f1 Load required helpers from bundler examples and invoke bundled_gems_spec.rb at test-bundled-gems 2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
df077a498e Move spec directory from bundler examples 2024-11-18 20:46:07 +09:00
Renamed from spec/bundler/bundled_gems_spec.rb (Browse further)