Commit graph

21 commits

Author SHA1 Message Date
Nobuyoshi Nakada
90abfe6fb7
Remove git-related files in unpacked gems
These files, including `.github` directory, are useless unless the
repository itself is contained as well.
2025-06-28 20:17:35 +09:00
Nobuyoshi Nakada
7a56c31641
Revert "[Bug #21388] Make snapshots of gems"
This reverts commit e90282be7b, a commit miss.
2025-06-07 18:43:56 +09:00
Nobuyoshi Nakada
e90282be7b
[Bug #21388] Make snapshots of gems
If the revision of bundled gems is specified for ruby master (and
`git` is usable), checkout that revision and build a snapshot gem, and
use it for `test-spec` instead of the downloaded release version.
2025-06-07 18:41:36 +09:00
Hiroshi SHIBATA
86575e243e Use rdoc provided by bundled gems for generating ruby documentation 2025-01-15 16:52:56 +09:00
Yusuke Endoh
f090d1fa59 Try to find bundled gem version from lib/*/version.rb 2024-09-13 15:49:28 +09:00
Hiroshi SHIBATA
7f0e26b7f9 Re-use strscan with ruby repo 2024-05-20 18:10:09 +09:00
Hiroshi SHIBATA
874e9fc34d Don't need to remove ruby2_keywords dependency from drb 2024-03-01 12:32:40 +09:00
Hiroshi SHIBATA
0301473fb5
Fixed dependencies list format 2024-02-16 17:59:38 +09:00
Hiroshi SHIBATA
9f708d48f6 Clear runtime dependencies if default gems is specified.
The current build system uses runtime dependencies from only
`.bundle` directory. We shouldn't install runtime dependencies
from rubygems.org when `make test-bundled-gems` is invoked.
2024-02-16 17:28:00 +09:00
Hiroshi SHIBATA
59646e8798 Allow to use development version of bundled gems for packaging 2023-05-09 12:57:12 +09:00
Hiroshi SHIBATA
bb75e83d9f We should not validate development version of bundled gems with fetch timing.
We want to notify above situation when release time. So, I move this check into ruby/actions.
2023-05-09 12:57:12 +09:00
Hiroshi SHIBATA
1163204021 code style 2023-03-08 17:48:43 +09:00
Hiroshi SHIBATA
a7cee4da97 Added debug info to gemspec version check 2023-03-08 17:48:43 +09:00
Nobuyoshi Nakada
ac5a949c2a
Refine exception messages when git failed 2023-02-22 10:23:05 +09:00
Nobuyoshi Nakada
37b6d98840 Use Gem::Package#build instead of the class method for old baseruby 2023-02-22 02:07:59 +09:00
Nobuyoshi Nakada
289080e4d8 Clone and create dummy gemspec in sequential build 2023-02-22 02:07:59 +09:00
Nobuyoshi Nakada
241c4cfdd4 Move dummy gemspec file creation for extract-gems-sequential 2023-02-22 02:07:59 +09:00
Yusuke Endoh
759d23584e Create a dummy minitest.gemspec for a bundled gem
To use the repository version of bundled gems, we need to build a gem by
"gem build", but the repository of minitest does not include
minitest.gemspec because it uses hoe.

This change creats a dummy minitest.gemspec to pass the CI.
2023-02-19 21:06:13 +09:00
Nobuyoshi Nakada
17f5631c6e [Bug #19340] Fix bundle gems with test revision
Build temporary gem package from cloned repository if test revision is
set.
2023-01-26 12:50:39 +09:00
Nobuyoshi Nakada
5791171201
Load gemspec file at that directory
Gemspec files generated by old bundler run `git` without changing the
working directory.
Or some gemspec files expect an owned file at the top exists ath the
current working directory.
2022-08-05 09:52:20 +09:00
Nobuyoshi Nakada
44a0a66559
Move to tool/lib/bundled_gem.rb 2022-08-05 09:44:18 +09:00
Renamed from tool/gem-unpack.rb (Browse further)