Commit graph

23 commits

Author SHA1 Message Date
Hiroshi SHIBATA
e0c0e06154 Skip fiddle assertions if fiddle is not available 2025-02-25 15:36:46 +09:00
Hiroshi SHIBATA
b7c87ccd79 [rubygems/rubygems] Added fiddle dependency for TestGemExtCargoBuilder
a7c6696ffd
2025-02-25 15:36:46 +09:00
Nobuyoshi Nakada
7176c186d0 [rubygems/rubygems] Fix Fiddle::Handle leaks
Windows disallows to unlink opened files.

e0b63754bf
2024-02-26 15:27:38 +09:00
Hiroshi SHIBATA
4bbeed6134 Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285 2023-05-30 21:50:07 +09:00
Hiroshi SHIBATA
cbeea5f3e6 [rubygems/rubygems] Unify java_platform? to Gem.java_platform?
7f27ab32b8
2023-04-05 05:49:24 +00:00
Hiroshi SHIBATA
822f01b36c [rubygems/rubygems] Disabled to test rustc with msys2 platform.
8123290246

5c3b0a112e
2023-04-04 06:08:04 +00:00
Hiroshi SHIBATA
1a60012612 [rubygems/rubygems] util/rubocop -A --only Lint/RescueException
e8a5db50af
2023-03-23 17:18:49 +09:00
Hiroshi SHIBATA
4bb5ce8188 [rubygems/rubygems] util/rubocop -A --only Style/StringLiteralsInInterpolation
cb554f6eb7
2023-03-17 18:50:55 +09:00
Yusuke Endoh
6384f7981c Prevent "warning: ambiguity between regexp and two divisions"
20230221T031004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20230221T031004Z/ruby/test/rubygems/test_gem_ext_cargo_builder.rb:90: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
```
2023-02-21 13:46:11 +09:00
Mat Sadler
b4defea362 [rubygems/rubygems] install rust extensions into expected directory nesting
85ea86d348
2023-01-30 17:39:47 +00:00
Mat Sadler
ca951f6719 [rubygems/rubygems] use cargo to get crate name
the final copying of the extension into place has been slimmed
down, reflecting that it only needs to copy a single file, rather
than replicating the more involved process used for a C ext

this also refactors #build so that #cargo_crate_name only needs
to be called once, and hopefully the build flow is easier to
understand

5a0d7f2e6c
2023-01-30 17:39:47 +00:00
Hiroshi SHIBATA
f6620037ba Merge RubyGems-3.4.0 and Bundler-2.4.0 2022-12-24 16:57:07 +09:00
Ian Ker-Seymer
88497b2167 [rubygems/rubygems] Better tests are better
17abb80c2c
2022-12-07 11:31:25 +00:00
Ian Ker-Seymer
ef50934721 [rubygems/rubygems] Fix string match in test
82554f2bfd
2022-12-07 11:31:25 +00:00
Ian Ker-Seymer
554161236a [rubygems/rubygems] Always build in release mode
7b84fc1f19
2022-12-07 11:31:25 +00:00
Hiroshi SHIBATA
71794a75db Merge rubygems/bundler HEAD
Pick from 8331e63263
2022-08-03 13:14:10 +09:00
Takuya Noguchi
d7ffd3fea4
RubyGems: Enable Style/StringLiterals cop
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-07-22 12:07:23 +09:00
David Rodríguez
12a5fa408b Sync RubyGems & Bundler with upstream repo 2022-06-24 10:52:02 +09:00
Hiroshi SHIBATA
0626e6f959 Skip test for cargo builder 2022-04-28 19:08:49 +09:00
David Rodríguez
cd2410f9d8 [rubygems/rubygems] Original env is already set by common test setup
59449557dd
2022-04-28 19:08:49 +09:00
David Rodríguez
fbb4b8d235 [rubygems/rubygems] Fix test errors when cargo not present
Currently our tests try to detect whether `cargo` is installed or not,
and if not, set tests that need `cargo` as pending.

However, when this happens that test `setup` method is completely
skipped, meaning that the `teardown` method will blow up when trying to
switch back to the original folder, since it was not set.

This commit fixes that.

1e4c1e6492
2022-04-28 19:08:49 +09:00
Hiroshi SHIBATA
678d58c850 Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5 2022-04-28 19:08:49 +09:00
Hiroshi SHIBATA
6dc314ac6d Merge RubyGems/Bundler master
fe96fb6e2a
2022-04-28 19:08:49 +09:00