ruby-build/fix-test-requiring-git-repository.patch

16 lines
460 B
Diff
Raw Normal View History

diff --git a/test/rbenv.bats b/test/rbenv.bats
Accepting request 1124141 from home:expeehaa:branches:devel:languages:ruby:extensions - Update to version 20231107. Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 * ruby-build now prints external commands as they are executed - @mislav in #2230 Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 * Add `ruby-build(1)` man page by @mislav in #2297 * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 * Remove support for Topaz and Maglev by @mislav in #2294 * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 OBS-URL: https://build.opensuse.org/request/show/1124141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=132
2023-11-08 01:18:07 +01:00
index 4496b1f..a73ad79 100644
--- a/test/rbenv.bats
+++ b/test/rbenv.bats
Accepting request 1124141 from home:expeehaa:branches:devel:languages:ruby:extensions - Update to version 20231107. Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 * ruby-build now prints external commands as they are executed - @mislav in #2230 Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 * Add `ruby-build(1)` man page by @mislav in #2297 * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 * Remove support for Topaz and Maglev by @mislav in #2294 * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 OBS-URL: https://build.opensuse.org/request/show/1124141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=132
2023-11-08 01:18:07 +01:00
@@ -103,9 +103,7 @@ The following versions contain \`1.9.3' in the name:
Accepting request 1124141 from home:expeehaa:branches:devel:languages:ruby:extensions - Update to version 20231107. Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 * ruby-build now prints external commands as they are executed - @mislav in #2230 Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 * Add `ruby-build(1)` man page by @mislav in #2297 * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 * Remove support for Topaz and Maglev by @mislav in #2294 * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 OBS-URL: https://build.opensuse.org/request/show/1124141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=132
2023-11-08 01:18:07 +01:00
See all available versions with \`rbenv install --list-all'.
-If the version you need is missing, try upgrading ruby-build:
-
Accepting request 1124141 from home:expeehaa:branches:devel:languages:ruby:extensions - Update to version 20231107. Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 * ruby-build now prints external commands as they are executed - @mislav in #2230 Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 * Add `ruby-build(1)` man page by @mislav in #2297 * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 * Remove support for Topaz and Maglev by @mislav in #2294 * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 OBS-URL: https://build.opensuse.org/request/show/1124141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=132
2023-11-08 01:18:07 +01:00
- git -C ${BATS_TEST_DIRNAME/$HOME\//~/}/.. pull
+If the version you need is missing, try upgrading ruby-build.
OUT
unstub brew