Nobuyoshi Nakada
ec3f59309e
[Bug #17767 ] Now `ENV.clone` raises `TypeError` as well as `ENV.dup`
...
One year ago, the former method has been deprecated while the latter
has become an error. Then the 3.1 released, it is enough time to make
also the former an error.
2022-08-02 16:40:12 +09:00
David Rodríguez
3e4fedca4e
[rubygems/rubygems] Preserve the previous behavior of raising an error when in frozen mode
...
https://github.com/rubygems/rubygems/commit/6e35a6edfe
2022-08-02 16:10:19 +09:00
David Rodríguez
bc90090672
[rubygems/rubygems] Check for errors in error stream
...
https://github.com/rubygems/rubygems/commit/7b0f7804f2
2022-08-02 16:10:18 +09:00
David Rodríguez
f4f681463f
[rubygems/rubygems] Don't discard candidates matching ruby metadata
...
Do dependency filtering and materialization in one step. Before,
dependency filtering would not consider ruby metadata so it would
discard variants that end up not being materializable in the end.
https://github.com/rubygems/rubygems/commit/0c0d40d417
Co-authored-by: Ian Ker-Seymer <ian.kerseymer@shopify.com>
2022-08-02 16:10:18 +09:00
David Rodríguez
9189c2d5ef
[rubygems/rubygems] Materializing for resolution already filters platforms
...
https://github.com/rubygems/rubygems/commit/9f4ba9ebb0
2022-08-02 16:10:17 +09:00
David Rodríguez
8c98f7be57
[rubygems/rubygems] Remove unnecessary local variable
...
https://github.com/rubygems/rubygems/commit/a997210473
2022-08-02 16:10:17 +09:00
David Rodríguez
5487e76374
[rubygems/rubygems] Prefer reverse+find to select+last
...
https://github.com/rubygems/rubygems/commit/ffb161bb69
2022-08-02 16:10:16 +09:00
David Rodríguez
bc0de1e162
[rubygems/rubygems] Only need to filter platforms when materialization is not strict
...
https://github.com/rubygems/rubygems/commit/9d878cbda0
2022-08-02 16:10:16 +09:00
David Rodríguez
91b9bd6234
[rubygems/rubygems] This should go through the standard source search logic
...
https://github.com/rubygems/rubygems/commit/087e3e4e3b
2022-08-02 16:10:15 +09:00
David Rodríguez
35e508d13e
[rubygems/rubygems] Refactor materialization conditions
...
https://github.com/rubygems/rubygems/commit/08e1554fb6
2022-08-02 16:10:14 +09:00
David Rodríguez
ed9bbfd759
[rubygems/rubygems] Fix incorrect force_ruby_platform propagation
...
It was just working by chance.
(cherry picked from commit https://github.com/rubygems/rubygems/commit/16b2d6bfe893 )
https://github.com/rubygems/rubygems/commit/8f922d980f
2022-08-02 16:10:14 +09:00
David Rodríguez
7cc5a657ee
[rubygems/rubygems] Remove unnecessary special case for Bundler
...
https://github.com/rubygems/rubygems/commit/2777e79b8e
2022-08-02 16:10:13 +09:00
David Rodríguez
6ec8f684aa
[rubygems/rubygems] Move some logic to `LazySpecification#__materialize__`
...
https://github.com/rubygems/rubygems/commit/5e100df7c9
2022-08-02 16:10:13 +09:00
dependabot[bot]
24204d54ab
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.26 to 0.9.28.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.26...v0.9.28 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/edea8fbfa0
2022-08-02 04:14:48 +09:00
git
00777a9b35
* 2022-08-02 [ci skip]
2022-08-02 02:38:08 +09:00
dependabot[bot]
25022bad85
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.26 to 0.9.28.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.26...v0.9.28 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/831a001697
2022-08-02 02:37:55 +09:00
David Rodríguez
13305bf0c9
[rubygems/rubygems] Fix crash when running `bundle outdated` in debug mode
...
Previously it would crash like this:
````
$ /Users/deivid/.asdf/installs/ruby/3.1.2/bin/ruby -I/Users/deivid/Code/rubygems/rubygems/bundler/spec -r/Users/deivid/Code/rubygems/rubygems/bundler/spec/support/artifice/fail.rb -r/Users/deivid/Code/rubygems/rubygems/bundler/spec/support/hax.rb /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle outdated --patch --strict --filter-patch
Running `bundle outdated --filter-patch --patch --strict` with bundler 2.4.0.dev
Found changes from the lockfile, re-resolving dependencies because bundler is unlocking Using a local server, bundler won't use the CompactIndex API
Fetching source index from file:///Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/remote4/
Resolving dependencies...
--- ERROR REPORT TEMPLATE -------------------------------------------------------
```
RuntimeError: LazySpecification has not been materialized yet (calling :loaded_from [])
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/lazy_specification.rb:147:in `method_missing'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:214:in `gem_column_for'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:174:in `block in print_gems_table'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:173:in `map'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:173:in `print_gems_table'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:123:in `run'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:420:in `outdated'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:31:in `dispatch'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:25:in `start'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/exe/bundle:48:in `block in <top (required)>'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/exe/bundle:36:in `<top (required)>'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle:25:in `load'
/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle:25:in `<main>'
```
````
https://github.com/rubygems/rubygems/commit/23c46f3b57
2022-08-01 23:14:23 +09:00
David Rodríguez
5c13adb746
[rubygems/rubygems] Fix comment incorrectly copied from another spec
...
https://github.com/rubygems/rubygems/commit/9be5eae9cf
2022-08-01 23:14:22 +09:00
Koichi Sasada
5bbba76489
respect current frame of `rb_eval_string`
...
`self` is nearest Ruby method's `self`.
If there is no ruby frame, use toplevel `self` (`main`).
https://bugs.ruby-lang.org/issues/18780
2022-08-01 17:48:05 +09:00
Kazuhiro NISHIYAMA
1520936aa7
Fix a link [ci skip]
2022-08-01 12:34:03 +09:00
Wolf
c69ad738dc
Initialize node_id
...
In some causes node_id might have been left uninitialized leading to
undefined behavior on access. So always set it to -1, so we have *some*
valid value in there.
2022-08-01 10:36:36 +09:00
git
3b8279e91f
* 2022-08-01 [ci skip]
2022-08-01 01:31:40 +09:00
Takuya Noguchi
b0e6d07ce4
[rubygems/rubygems] Update bundle-platform(1) man
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
https://github.com/rubygems/rubygems/commit/1c3736f5af
2022-08-01 01:31:24 +09:00
git
118368c1dd
* 2022-07-31 [ci skip]
2022-07-31 03:18:59 +09:00
Burdette Lamar
4efbeb1190
[ruby/date] Enhanced RDoc ( https://github.com/ruby/date/pull/67 )
...
Treats:
::httpdate
#to_date
#to_time
#to_datetime
In behalf of ::httpdate, I've introduced section "Argument limit" that can be pointed to by various Date methods (similar to existing section "Argument start"). This will involve 8 already-enhanced methods plus 8 more not yet done.
https://github.com/ruby/date/commit/00326ff99c
2022-07-31 03:18:45 +09:00
Akinori MUSHA
d050f162a7
Mention Enumerator.product/Enumerator::Product in the NEWS.md
2022-07-30 20:05:14 +09:00
Akinori MUSHA
1a73a6cdd2
Implement Enumerator::Product and Enumerator.product [Feature #18685 ]
2022-07-30 20:05:14 +09:00
Nobuyoshi Nakada
2338845421
Update .git-blame-ignore-revs [ci skip]
2022-07-30 17:32:57 +09:00
Nobuyoshi Nakada
4ba2c66761
Revert "* expand tabs. [ci skip]"
...
This reverts commit 0d842fecb4
.
2022-07-30 17:29:56 +09:00
git
0d842fecb4
* expand tabs. [ci skip]
...
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-07-30 17:26:37 +09:00
Nobuyoshi Nakada
c258fb2775
Update .git-blame-ignore-revs [ci skip]
2022-07-30 17:26:22 +09:00
Nobuyoshi Nakada
f28287d34c
[ruby/io-nonblock] Revert tab expansion
2022-07-30 17:24:43 +09:00
Nobuyoshi Nakada
1bebf21570
Update .git-blame-ignore-revs [ci skip]
2022-07-30 17:13:00 +09:00
Hiroshi SHIBATA
39dc9f9093
Revert "* expand tabs. [ci skip]"
...
This reverts commit 8a65cf3b61
.
2022-07-30 17:03:13 +09:00
git
8a65cf3b61
* expand tabs. [ci skip]
...
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-07-30 16:41:32 +09:00
Nobuyoshi Nakada
48b09aae7e
[ruby/digest] Revert tab-expansion in external files
...
https://github.com/ruby/digest/commit/5ca2b5b91e
2022-07-30 16:41:19 +09:00
Nobuyoshi Nakada
af265d73fb
[ruby/rdoc] Fix blockquote with word in verbatim
...
https://github.com/ruby/rdoc/commit/75eee668a5
2022-07-30 11:04:11 +09:00
John Hawthorn
0e85586ecc
Add --enable-yjit=dev_nodebug configure option
2022-07-29 16:32:14 -07:00
John Hawthorn
fbd24793cb
Add --enable-yjit=stats configure option
2022-07-29 16:32:14 -07:00
Burdette Lamar
53175643ef
[ruby/date] [DOC] Enhanced RDoc ( https://github.com/ruby/date/pull/66 )
...
Treats:
#===
#to_s
#inspect
#strftme
#asctime
#iso3601
#rfc3339
#rfc2822
#httpdate
#jisx0301
https://github.com/ruby/date/commit/aed66fedf6
2022-07-30 04:51:10 +09:00
git
2346f3be64
* 2022-07-30 [ci skip]
2022-07-30 04:24:39 +09:00
David Rodríguez
030050cdfa
[rubygems/rubygems] Make `--standalone` play nice with `--local`
...
I'm not sure if using relative paths in the generated script is best for
this case, since it makes the script not movable, but that can be
improved later.
https://github.com/rubygems/rubygems/commit/7f5bdbb842
2022-07-30 04:24:25 +09:00
David Rodríguez
b515fdcc32
[rubygems/rubygems] No need to set anything at all unless standalone is given
...
https://github.com/rubygems/rubygems/commit/d695c8da3e
2022-07-30 04:24:24 +09:00
Burdette Lamar
f78e46d404
[ruby/rdoc] Add block quotes ( https://github.com/ruby/rdoc/pull/907 )
...
Also adjusts which blocks may be nested.
https://github.com/ruby/rdoc/commit/dde1860441
2022-07-29 23:40:26 +09:00
Hiroshi SHIBATA
62849b3379
Keep gitignore for libyaml source with psych
2022-07-29 19:10:10 +09:00
Hiroshi SHIBATA
4e886d2ade
Update parser-text.rb with 4ecc13c9cb
2022-07-29 19:10:10 +09:00
Ethan
b2cc74a50d
[flori/json] test parsing of unicode, mixing literal characters with escaped
...
https://github.com/flori/json/commit/82fe866da2
2022-07-29 19:10:10 +09:00
Jean Boussier
66b52f046f
[flori/json] Stop including the parser source __LINE__ in exceptions
...
It makes testing for JSON errors very tedious. You either have
to use a Regexp or to regularly update all your assertions
when JSON is upgraded.
https://github.com/flori/json/commit/de9eb1d28e
2022-07-29 19:10:10 +09:00
Luka Dornhecker
4bf97a8ec4
fix typo in Time#xmlschema documentation
2022-07-29 19:10:10 +09:00
konsolebox
419ad1e13e
[ruby/optparse] Also accept '-' as an optional argument ( https://github.com/ruby/optparse/pull/35 )
...
https://github.com/ruby/optparse/commit/f2b8318631
2022-07-29 19:10:10 +09:00