Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ruby-build for openSUSE:Factory 
checked in at 2022-10-04 20:38:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby-build (Old)
 and      /work/SRC/openSUSE:Factory/.ruby-build.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby-build"

Tue Oct  4 20:38:21 2022 rev:12 rq:1007937 version:20221004

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby-build/ruby-build.changes    2022-10-01 
17:44:13.601786908 +0200
+++ /work/SRC/openSUSE:Factory/.ruby-build.new.2275/ruby-build.changes  
2022-10-04 20:38:24.784974914 +0200
@@ -1,0 +2,7 @@
+Tue Oct  4 14:54:38 UTC 2022 - Lukas M??ller <expee...@outlook.com>
+
+- Update to version 20221004.
+  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20221004
+  * Fix rbenv install --list exit status by @mislav in #2059
+
+-------------------------------------------------------------------

Old:
----
  ruby-build-20220930.tar.gz

New:
----
  ruby-build-20221004.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ruby-build.spec ++++++
--- /var/tmp/diff_new_pack.I2qxHh/_old  2022-10-04 20:38:25.248975573 +0200
+++ /var/tmp/diff_new_pack.I2qxHh/_new  2022-10-04 20:38:25.252975579 +0200
@@ -24,7 +24,7 @@
 %endif
 
 Name:           ruby-build
-Version:        20220930
+Version:        20221004
 Release:        0
 BuildArch:      noarch
 License:        MIT

++++++ ruby-build-20220930.tar.gz -> ruby-build-20221004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruby-build-20220930/bin/rbenv-install 
new/ruby-build-20221004/bin/rbenv-install
--- old/ruby-build-20220930/bin/rbenv-install   2022-09-30 20:17:36.000000000 
+0200
+++ new/ruby-build-20221004/bin/rbenv-install   2022-10-04 16:21:34.000000000 
+0200
@@ -97,7 +97,7 @@
     ;;
   "l" | "list" )
     ruby-build --list
-    [ -t 1 ] && {
+    [ ! -t 1 ] || {
       echo
       echo "Only latest stable releases for each Ruby implementation are 
shown."
       echo "Use 'rbenv install --list-all / -L' to show all local versions."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruby-build-20220930/bin/ruby-build 
new/ruby-build-20221004/bin/ruby-build
--- old/ruby-build-20220930/bin/ruby-build      2022-09-30 20:17:36.000000000 
+0200
+++ new/ruby-build-20221004/bin/ruby-build      2022-10-04 16:21:34.000000000 
+0200
@@ -14,7 +14,7 @@
 #   --version        Show version of ruby-build
 #
 
-RUBY_BUILD_VERSION="20220930"
+RUBY_BUILD_VERSION="20221004"
 
 OLDIFS="$IFS"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruby-build-20220930/test/rbenv.bats 
new/ruby-build-20221004/test/rbenv.bats
--- old/ruby-build-20220930/test/rbenv.bats     2022-09-30 20:17:36.000000000 
+0200
+++ new/ruby-build-20221004/test/rbenv.bats     2022-10-04 16:21:34.000000000 
+0200
@@ -51,6 +51,15 @@
   unstub rbenv-local
 }
 
+@test "list latest versions" {
+  stub_ruby_build "--list : echo 2.1.2"
+
+  run rbenv-install --list
+  assert_success "2.1.2"
+
+  unstub ruby-build
+}
+
 @test "list available versions" {
   stub_ruby_build \
     "--definitions : echo 1.8.7 1.9.3-p0 1.9.3-p194 2.1.2 | tr ' ' $'\\n'"

Reply via email to