<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/dsl.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge RubyGems-3.6.7 and Bundler-2.6.7</title>
<updated>2025-04-09T00:54:29+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-09T00:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e580145171c16d3ca31ee0732e3ed87ff7dfd774'/>
<id>e580145171c16d3ca31ee0732e3ed87ff7dfd774</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.6.4 and Bundler-2.6.4</title>
<updated>2025-02-21T00:50:20+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-21T00:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a0025b6e5d440139ebc16a555cddb4dc9dd45449'/>
<id>a0025b6e5d440139ebc16a555cddb4dc9dd45449</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Enable `Performance/MapCompact` cop</title>
<updated>2024-11-26T06:11:05+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-18T19:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=963f98a94f978552c9ceb413dab085d2cdfc1236'/>
<id>963f98a94f978552c9ceb413dab085d2cdfc1236</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0c3a65871a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0c3a65871a
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Undeprecate Gemfiles without a global source</title>
<updated>2024-11-07T10:03:54+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-05T16:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ffcfaf4ce4eba4975f6ef79bf4b6c898180107f2'/>
<id>ffcfaf4ce4eba4975f6ef79bf4b6c898180107f2</id>
<content type='text'>
After having a second look at this deprecation, the explanation that
we're giving does not make a lot of sense. When working only with local
gems, Bundler will indeed generate a different lockfile depending on
the latest installed version of each gem is at `bundle install` time.

That's the same situation that happens with remote sources: Bundler will
generate a different lockfile depending on the latest version of each
gem available remotely.

So, I don't think "a consistent lockfile not getting generated" is a
good motivation for deprecating this.

Also, this deprecation brings additional challenges, since for example,
it should arguably not get printed when using `bundle install --local`?

The original problem when this deprecation was introduced was an
incorrect message about a missing gem having been yanked.

So, I think a better solution is to, as long as we give proper error
messages when things go wrong, let users do what's best for them and
undo the deprecation.

https://github.com/rubygems/rubygems/commit/17499cb83f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After having a second look at this deprecation, the explanation that
we're giving does not make a lot of sense. When working only with local
gems, Bundler will indeed generate a different lockfile depending on
the latest installed version of each gem is at `bundle install` time.

That's the same situation that happens with remote sources: Bundler will
generate a different lockfile depending on the latest version of each
gem available remotely.

So, I don't think "a consistent lockfile not getting generated" is a
good motivation for deprecating this.

Also, this deprecation brings additional challenges, since for example,
it should arguably not get printed when using `bundle install --local`?

The original problem when this deprecation was introduced was an
incorrect message about a missing gem having been yanked.

So, I think a better solution is to, as long as we give proper error
messages when things go wrong, let users do what's best for them and
undo the deprecation.

https://github.com/rubygems/rubygems/commit/17499cb83f
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Allow using `gemspec` DSL twice with same dependency and compatible requirements</title>
<updated>2024-10-17T07:10:38+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-03T16:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d4a18d4a78faff703b553e707704a9e997194c75'/>
<id>d4a18d4a78faff703b553e707704a9e997194c75</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/a8d14c1fc2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/a8d14c1fc2
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling</title>
<updated>2024-10-08T22:14:44+00:00</updated>
<author>
<name>John Bampton</name>
<email>jbampton@gmail.com</email>
</author>
<published>2024-10-08T17:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fc1495c305bca14ab30d458e74dcc42424195d1'/>
<id>3fc1495c305bca14ab30d458e74dcc42424195d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Only raise DSLError during Gemfile parsing when it's actually useful</title>
<updated>2024-09-11T11:28:12+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-05T18:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=89eba5074e8ffc28a54646d40f6915d279be367d'/>
<id>89eba5074e8ffc28a54646d40f6915d279be367d</id>
<content type='text'>
DSLError prints the specific line in a Gemfile where the error was
raised. That's helpful when the error was explicitly raised by the
Gemfile DSL or, in the case it's implicitly raised, when the offending
code lives right in the Gemfile.

If it's an internal error, or something buried dowm in user code called
from the Gemfile, `DSLError` is not helpful since it hides the actual
culprit.

This commit tries to only raise `DSLError` in the cases mentioned above
and otherwise let the original error be raised.

https://github.com/rubygems/rubygems/commit/b30ff5a682
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DSLError prints the specific line in a Gemfile where the error was
raised. That's helpful when the error was explicitly raised by the
Gemfile DSL or, in the case it's implicitly raised, when the offending
code lives right in the Gemfile.

If it's an internal error, or something buried dowm in user code called
from the Gemfile, `DSLError` is not helpful since it hides the actual
culprit.

This commit tries to only raise `DSLError` in the cases mentioned above
and otherwise let the original error be raised.

https://github.com/rubygems/rubygems/commit/b30ff5a682
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Don't rescue Exception when evaluating Gemfile</title>
<updated>2024-09-11T11:28:12+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-05T14:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d72b3bd1a1ebaaca89b50a8b6f391b7358c0986'/>
<id>1d72b3bd1a1ebaaca89b50a8b6f391b7358c0986</id>
<content type='text'>
Things like OOM, or StackOverflow should be raised immediately.

https://github.com/rubygems/rubygems/commit/11691ce492
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Things like OOM, or StackOverflow should be raised immediately.

https://github.com/rubygems/rubygems/commit/11691ce492
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Refactor setting current gemfile in DSL</title>
<updated>2024-09-11T11:28:11+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-05T12:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f0b9baa2d6c79d5a9f1c23e54ec8bb2cf33a1c18'/>
<id>f0b9baa2d6c79d5a9f1c23e54ec8bb2cf33a1c18</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/b4ecb66224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/b4ecb66224
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] The `dsl_path` parameter in DSLError is documented as a string</title>
<updated>2024-09-11T11:28:11+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-05T12:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d768ebd712293e1a3d87e537a0b0d4dbdd7c54e'/>
<id>1d768ebd712293e1a3d87e537a0b0d4dbdd7c54e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/ab44fa9ee4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/ab44fa9ee4
</pre>
</div>
</content>
</entry>
</feed>
