<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/install/gemfile/platform_spec.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/rubygems] Fix triple spacing when generating lockfile</title>
<updated>2025-11-14T00:19:56+00:00</updated>
<author>
<name>Jimmy Lin</name>
<email>jmlntw@gmail.com</email>
</author>
<published>2021-09-05T11:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5924765b897dd419bcaf81f34cdfcb49c838af7e'/>
<id>5924765b897dd419bcaf81f34cdfcb49c838af7e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/d3baf4110e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/d3baf4110e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Build bundler gem just once for specs</title>
<updated>2025-07-25T02:10:37+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-23T18:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e67f595e8f3f76f20d7a6b9fd0498ff7b641391c'/>
<id>e67f595e8f3f76f20d7a6b9fd0498ff7b641391c</id>
<content type='text'>
When we need to reset system gems during specs, there's no need to
rebuild bundler, we can copy over the original gem home.

https://github.com/rubygems/rubygems/commit/7b4f80747b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we need to reset system gems during specs, there's no need to
rebuild bundler, we can copy over the original gem home.

https://github.com/rubygems/rubygems/commit/7b4f80747b
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Refactor specs to not try to remove folders that don't exist</title>
<updated>2025-03-12T09:02:09+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-03-07T19:47:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f656d34f103d9cc53259239d164ffa86d4117f9c'/>
<id>f656d34f103d9cc53259239d164ffa86d4117f9c</id>
<content type='text'>
This has the following benefits:

* Avoid duplicated work in some specs that first build a repo, and then
  overwrite it with a completely different set of gems.
* Reduce RSpec nesting and improve readability.
* The change also made surfaces several specs that were incorrect since
  they were unintentionally not testing the right thing.

https://github.com/rubygems/rubygems/commit/ed430883e0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has the following benefits:

* Avoid duplicated work in some specs that first build a repo, and then
  overwrite it with a completely different set of gems.
* Reduce RSpec nesting and improve readability.
* The change also made surfaces several specs that were incorrect since
  they were unintentionally not testing the right thing.

https://github.com/rubygems/rubygems/commit/ed430883e0
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use preferred `:windows` value for Windows exclusively</title>
<updated>2025-02-14T07:13:27+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-02-10T19:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=91a17fbbadff3b811cd25a056b4f592810bc4ad2'/>
<id>91a17fbbadff3b811cd25a056b4f592810bc4ad2</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/aee52d2874

Co-authored-by: johnnyshields &lt;27655+johnnyshields@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/aee52d2874

Co-authored-by: johnnyshields &lt;27655+johnnyshields@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove unnecessary platform helpers</title>
<updated>2025-01-28T06:31:49+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-01-23T10:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=09b04fefb728bf0514e0e911aac894e05abaa605'/>
<id>09b04fefb728bf0514e0e911aac894e05abaa605</id>
<content type='text'>
I think they add unnecessary indirection and inconsistency to the specs.

https://github.com/rubygems/rubygems/commit/609924d985
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I think they add unnecessary indirection and inconsistency to the specs.

https://github.com/rubygems/rubygems/commit/609924d985
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix some JRuby warnings when using `bundler/setup` with Ruby's -w flag</title>
<updated>2024-11-06T11:37:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-04T19:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8c184885b09d600b4c35fe04be3da0c9c5b36adf'/>
<id>8c184885b09d600b4c35fe04be3da0c9c5b36adf</id>
<content type='text'>
When using the `bundler/setup` entrypoint, Bundler prints the following
warnings in JRuby in `-w` is passed to Ruby.

```
/path/to/bundler/shared_helpers.rb:10: warning: constant Bundler::WINDOWS is deprecated
/path/to/bundler/shared_helpers.rb:11: warning: constant Bundler::FREEBSD is deprecated
/path/to/bundler/lib/bundler/shared_helpers.rb:12: warning: constant Bundler::NULL is deprecated
```

This does not happen in CRuby.

This seems like a JRuby bug but we can skip it by autoloading the
constants.

https://github.com/rubygems/rubygems/commit/761ca29fa2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the `bundler/setup` entrypoint, Bundler prints the following
warnings in JRuby in `-w` is passed to Ruby.

```
/path/to/bundler/shared_helpers.rb:10: warning: constant Bundler::WINDOWS is deprecated
/path/to/bundler/shared_helpers.rb:11: warning: constant Bundler::FREEBSD is deprecated
/path/to/bundler/lib/bundler/shared_helpers.rb:12: warning: constant Bundler::NULL is deprecated
```

This does not happen in CRuby.

This seems like a JRuby bug but we can skip it by autoloading the
constants.

https://github.com/rubygems/rubygems/commit/761ca29fa2
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Enable checksums on Bundler 3 for fresh lockfiles</title>
<updated>2024-07-23T19:40:09+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-06-27T17:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=481c83453b447f2645a146bc5c45199659c71860'/>
<id>481c83453b447f2645a146bc5c45199659c71860</id>
<content type='text'>
And get specs passing.

https://github.com/rubygems/rubygems/commit/c23b5f5b84
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And get specs passing.

https://github.com/rubygems/rubygems/commit/c23b5f5b84
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Enforce passing a block to `simulate_platform`</title>
<updated>2024-07-23T19:40:07+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-06-27T17:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1758d436e74c8a5527af4b6f172dcb4437030765'/>
<id>1758d436e74c8a5527af4b6f172dcb4437030765</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0658903e25
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0658903e25
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Minor Bundler spec improvements</title>
<updated>2024-07-09T14:43:18+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-07-05T13:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d97c46b35f1299bd1718728a4ece0211fdf34b2'/>
<id>1d97c46b35f1299bd1718728a4ece0211fdf34b2</id>
<content type='text'>
While working on something else I noticed:

* Usage of uppercased "RUBY" and "JAVA" as platforms, when those don't
  really exist.
* Usage of some test gems with "1.0" as gemspec version and "1.0.0" as
  actual version.

This commit fixes both inconsistencies to make things more expectable.

https://github.com/rubygems/rubygems/commit/e3ec32e247
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While working on something else I noticed:

* Usage of uppercased "RUBY" and "JAVA" as platforms, when those don't
  really exist.
* Usage of some test gems with "1.0" as gemspec version and "1.0.0" as
  actual version.

This commit fixes both inconsistencies to make things more expectable.

https://github.com/rubygems/rubygems/commit/e3ec32e247
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use preferred add_dependency instead of add_runtime_dependency</title>
<updated>2024-07-05T02:24:53+00:00</updated>
<author>
<name>Jerome Dalbert</name>
<email>jerome.dalbert@gmail.com</email>
</author>
<published>2024-07-04T19:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bbb4da78c7e35e41cc91af0791eb8f51c371d964'/>
<id>bbb4da78c7e35e41cc91af0791eb8f51c371d964</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/9a08043858
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/9a08043858
</pre>
</div>
</content>
</entry>
</feed>
