Hiroshi SHIBATA
6191f4a169
[rubygems/rubygems] Simplified test-case for original issue
...
https://github.com/rubygems/rubygems/commit/89086c5458
2024-01-24 09:11:54 +00:00
Hiroshi SHIBATA
723deec9cf
[rubygems/rubygems] Keep compatibility of past versions
...
https://github.com/rubygems/rubygems/commit/54b67fb251
2024-01-24 09:11:53 +00:00
Hiroshi SHIBATA
1018dca09a
[rubygems/rubygems] Skip to load commented out words
...
https://github.com/rubygems/rubygems/commit/e6a9148ba2
2024-01-24 09:11:53 +00:00
Jean Boussier
b4b35b1468
Add an autoload spec for the behavior inside autoload but after the constant is defined
2024-01-22 13:45:24 +01:00
Hiroshi SHIBATA
f2dce4e6e0
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/csv/**/*.rb
2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
b5b98546cf
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/syslog/**/*.rb
2024-01-22 15:59:40 +09:00
KJ Tsanaktsidis
33290896dc
Disable NSS modules when using the leakchecker
...
The leakchecker will report leaked file descriptors when tests do things
like access `Etc.getgrgid`, for example, if NSS modules (like `sss`)
handle these lookups by connecting to a daemon like `sssd` and leave the
connection open.
To address this, we can call glibc's `__nss_configure_lookup` to
override NSS modules configured in /etc/nsswitch.conf and only use
ordinary file/DNS lookups.
(This is a cherry-pick of a patch applied to ruby/mspec here:
https://github.com/ruby/mspec/pull/62 )
2024-01-22 13:44:52 +11:00
Hiroshi SHIBATA
87f16fbc6d
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/drb/start_service_spec.rb
2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
f4670b46c4
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/abbrev/**/*.rb
2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA
8b551b0e7a
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/observer/**/*.rb
2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA
7cb1125446
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/core/rational/coerce_spec.rb
2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA
44d74f22c8
Guard bigdecimal related examples
...
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/core/integer/coerce_spec.rb
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/shared/rational/coerce.rb
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/bigmath/log_spec.rb
and example of at_spec.rb
2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA
4328f190ea
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/bigdecimal/**/*_spec.rb
2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA
6c016a4197
Inject base64 for basic auth examples of bundler
2024-01-17 08:28:31 +09:00
Hiroshi SHIBATA
afb30eb265
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/base64/**/*_spec.rb
2024-01-17 08:28:31 +09:00
Nobuyoshi Nakada
d6b6e14c87
Specify ruby mode [ci skip]
2024-01-16 22:13:16 +09:00
Nobuyoshi Nakada
01459f1644
Set `CHECK_LEAKS` in spec/default.mspec
...
Because of `.NOEXPORT:` in template/Makefile.in, variables in
common.mk will not be exported.
2024-01-16 20:29:06 +09:00
Hiroshi SHIBATA
b3ff564967
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/getoptlong/**/*.rb
2024-01-16 17:07:10 +09:00
Nobuyoshi Nakada
be7c91db44
Do not pollute toplevel namespace
2024-01-16 12:43:53 +09:00
Hiroshi SHIBATA
0a27142cf1
Ignore windows_31j module with mswin
2024-01-12 20:02:50 +09:00
Hiroshi SHIBATA
3113bc8d44
stat command is not provided on Windows
2024-01-12 20:02:50 +09:00
Hiroshi SHIBATA
3103ed4159
Use timeout instead of sleep on Windows
2024-01-12 20:02:50 +09:00
Hiroshi SHIBATA
80feecd6a3
Don't use cat command on native Windows
2024-01-12 20:02:50 +09:00
David Rodríguez
f4a347b90f
[rubygems/rubygems] Fix Bundler daily CI
...
There is another place artifice usage was making the copy of vendored
http in ruby-core be loaded instead of the one under test.
Remove unnecessary usage of artifice.
https://github.com/rubygems/rubygems/commit/d2488199b0
2024-01-11 13:51:52 +09:00
David Rodríguez
ef0705b3c2
[rubygems/rubygems] Fix development dependency not being added if introduced by two gemspecs
...
https://github.com/rubygems/rubygems/commit/adc05bf1c3
2024-01-11 13:51:52 +09:00
David Rodríguez
b8f859f0bf
Complete missing specs for platforms after resolution
...
If two platform specific variants have different dependencies, then
resolution may fallback to the non platform specific variant. However,
the platform specific variants that have the same dependencies as the
non specific one can still be kept.
Do a pass to complete those after resolution.
2024-01-11 13:51:52 +09:00
David Rodríguez
580d4a4053
[rubygems/rubygems] Show diff on source control errors
...
https://github.com/rubygems/rubygems/commit/d728fa1b04
2024-01-11 13:51:52 +09:00
Martin Emde
098d97e96d
[rubygems/rubygems] Quote Etag in `If-None-Match` header of compact index request
...
https://github.com/rubygems/rubygems/commit/d26bcd7551
2024-01-05 02:06:58 +00:00
Hiroshi SHIBATA
50b783ccac
[ruby/syntax_suggest] Typofix by misspell
...
https://github.com/ruby/syntax_suggest/commit/66e1cf0b3e
2023-12-26 02:10:25 +00:00
Takashi Kokubun
6e13cde457
Re-skip a failing spec
2023-12-25 01:25:36 -08:00
Nobuyoshi Nakada
b641b7e640
Move non-portable pragmas to rubyspec.h
...
In the extension libraries in spec/ruby/optional/capi, do not care
about deprecated declarations.
2023-12-25 14:11:49 +09:00
Hiroshi SHIBATA
863ded45a1
Typofix under bootstraptest, spec and yjit directories
2023-12-25 13:50:23 +09:00
Nobuyoshi Nakada
fd3dede7f4
Fix for older set versions
...
`Set::VERSION` was not defined in old set.rb bundled with ruby 3.2 or
earlier.
Also add comment for spec/mspec/tool/remove_old_guards.rb.
2023-12-23 18:57:47 +09:00
Nobuyoshi Nakada
dc7785e16b
Set 1.1 now checks subclass-ness stricter
2023-12-23 18:15:26 +09:00
Hiroshi SHIBATA
7d7a84e99f
Merge RubyGems-3.5.3 and Bundler-2.5.3
2023-12-23 09:34:26 +09:00
Koichi Sasada
2fe9e08578
MN: skip RUBY_DESCRIPTION spec on MN enabled
2023-12-23 08:10:41 +09:00
Hiroshi SHIBATA
82496f2b38
Merge RubyGems-3.5.2 and Bundler-2.5.2
2023-12-22 07:24:04 +09:00
Hiroshi SHIBATA
d7d10f3ee8
Adjust rubygems style
2023-12-17 05:45:33 +08:00
Hiroshi SHIBATA
8db0de92a8
Restore tracked_files for ruby core repo
2023-12-17 05:39:16 +08:00
Hiroshi SHIBATA
40113454b1
Use regex instead of hard coded paths
2023-12-16 21:02:45 +09:00
Hiroshi SHIBATA
ab87cd0baa
We don't use tracked_files in before(:suite). It breaks with release package.
2023-12-16 21:02:45 +09:00
David Rodríguez
7cd4282cc8
[rubygems/rubygems] Fix Bundler daily CI
...
A default Bundler copy with vendored net-http is causing a Bundler spec
to end up loading that copy instead of the copy of Bundler under test.
This is because of vcr, but we don't really need vcr in the command
that's failing, so I avoided loading it.
https://github.com/rubygems/rubygems/commit/304ab6e1b9
2023-12-16 10:07:52 +08:00
David Rodríguez
c8e9cd2b8b
[rubygems/rubygems] Fix Ruby DSL no longer working as expected
...
https://github.com/rubygems/rubygems/commit/f6258e5679
Co-authored-by: AndrewSwerlick <andrew.swerlick@gmail.com>
2023-12-16 10:04:38 +08:00
Martin Emde
1cfe874ef8
[rubygems/rubygems] Remove test-only & unused methods from Checksum::Store
...
https://github.com/rubygems/rubygems/commit/79636dec12
2023-12-15 19:36:24 +00:00
David Rodríguez
d718654bb1
[rubygems/rubygems] Remove extension building sync stuff no longer present in RubyGems
...
https://github.com/rubygems/rubygems/commit/59a85388b9
2023-12-14 20:22:48 +08:00
David Rodríguez
b300f5a0e1
[rubygems/rubygems] Revert "Improve default gem handling"
...
This reverts commit https://github.com/rubygems/rubygems/commit/091b4fcf2b99 .
https://github.com/rubygems/rubygems/commit/dcade3235f
2023-12-14 20:22:48 +08:00
Martin Emde
c1f4bfd41f
[rubygems/rubygems] Revert "Merge pull request #7167 from nevinera/add-json-output-option-to-bundle-outdated"
...
This reverts commit https://github.com/rubygems/rubygems/commit/a4ac5116b8ea , reversing
changes made to https://github.com/rubygems/rubygems/commit/8a6b180d0ae5 .
https://github.com/rubygems/rubygems/commit/a1efe4015d
2023-12-13 22:50:45 +00:00
Samuel Giddins
6aa26af683
[rubygems/rubygems] Add 3.4 as a supported ruby version
...
Since ruby trunk will be 3.4 very soon
https://github.com/rubygems/rubygems/commit/36dd9a35dc
2023-12-13 19:02:24 +00:00
David Rodríguez
ac939d9ca3
[rubygems/rubygems] Improve default gem handling
...
If a gem is specified in the Gemfile (or resolved as a transitive
dependency), it's always resolved from remote/installed sources. Default
gems are only used as a fallback for gems not included in the bundle.
I believe this leads to more consistent behavior and more portable apps,
since all gems will be installed to the configured bundle path,
regardless of whether they are default gems or not.
https://github.com/rubygems/rubygems/commit/091b4fcf2b
2023-12-13 13:02:22 +09:00
David Rodríguez
6b3c9cebe9
Normalize bundler bindir
...
This makes bundler consistent with all other gems, and makes the default
installation of Bundler in the release package look like any other
bundler installation.
Before (on preview3, for example), Bundler executable is installed at:
lib/ruby/gems/3.3.0+0/gems/bundler-2.5.0.dev/libexec/bundle
Now it's installed in the standard location:
lib/ruby/gems/3.3.0+0/gems/bundler-2.5.0.dev/exe/bundle
2023-12-13 12:59:23 +09:00