diff --git a/common/rbinstall.spec b/common/rbinstall.spec index 27f2abc..33f3311 100644 --- a/common/rbinstall.spec +++ b/common/rbinstall.spec @@ -10,7 +10,7 @@ Summary: Utility for installing prebuilt Ruby to rbenv Name: rbinstall -Version: 3.1.0 +Version: 3.1.1 Release: 0%{?dist} Group: Applications/System License: Apache License, Version 2.0 @@ -38,7 +38,7 @@ Utility for installing different prebuilt versions of Ruby to rbenv. %package gen Summary: Utility for generating RBInstall index -Version: 3.0.3 +Version: 3.0.4 Release: 0%{?dist} Group: Development/Tools @@ -50,7 +50,7 @@ Utility for generating RBInstall index. %package clone Summary: Utility for cloning RBInstall repository -Version: 3.0.3 +Version: 3.0.4 Release: 0%{?dist} Group: Development/Tools @@ -118,6 +118,10 @@ rm -rf %{buildroot} ################################################################################ %changelog +* Tue Oct 03 2023 Anton Novojilov - 3.1.1-0 +- [gen] Fixed bug with searching base version +- Dependencies update + * Fri Sep 01 2023 Anton Novojilov - 3.1.0-0 - [cli] Added option -X/--reinstall-updated for updating rebuilt versions - [cli] Fixed color disabling using -nc/--no-color option diff --git a/gen/gen.go b/gen/gen.go index b3e4b72..a6bf208 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -40,7 +40,7 @@ import ( // App info const ( APP = "RBInstall Gen" - VER = "3.0.3" + VER = "3.0.4" DESC = "Utility for generating RBInstall index" ) @@ -250,7 +250,7 @@ func buildIndex(dataDir string) { fileList := fsutil.ListAllFiles( dataDir, true, fsutil.ListingFilter{ - Perms: "FR", + Perms: "FRS", MatchPatterns: []string{"*.tzst"}, }) @@ -367,8 +367,8 @@ func processFiles(files []string) []FileInfo { result = append(result, FileInfo{ OS: fileInfoSlice[0], Arch: fileInfoSlice[1], - Category: guessCategory(fileInfoSlice[2]), File: fileInfoSlice[2], + Category: guessCategory(fileInfoSlice[2]), }) } @@ -500,6 +500,8 @@ func getVariationBaseName(name string) string { func fmtVersionName(v string) string { v = strings.ReplaceAll(v, ".tzst", "") v = strings.ReplaceAll(v, "-p", ".") + v = strings.ReplaceAll(v, "-railsexpress", ".1") + v = strings.ReplaceAll(v, "-jemalloc", ".2") return v }