Skip to content

Commit c5d4de1

Browse files
committed
Update Ruby gems implementation - config-only approach
1 parent fc43d63 commit c5d4de1

File tree

5 files changed

+9
-134
lines changed

5 files changed

+9
-134
lines changed

RUBY_GEMS_IMPLEMENTATION_SUMMARY.md

Lines changed: 0 additions & 125 deletions
This file was deleted.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ require (
191191

192192
// replace github.com/jfrog/build-info-go => github.com/jfrog/build-info-go v1.8.9-0.20250529104758-6d769a684388
193193

194-
replace github.com/jfrog/jfrog-cli-artifactory => github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616070426-5fa99bcf30de
194+
replace github.com/jfrog/jfrog-cli-artifactory => github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616073440-d0a25690c9b9
195195

196196
replace github.com/jfrog/jfrog-cli-core/v2 => github.com/agrasth/jfrog-cli-core/v2 v2.0.0-20250613074107-730ccf25f2ed
197197

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d h1:licZJFw2RwpH
2121
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d/go.mod h1:asat636LX7Bqt5lYEZ27JNDcqxfjdBQuJ/MM4CN/Lzo=
2222
github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KOX7eoM=
2323
github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU=
24-
github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616070426-5fa99bcf30de h1:tjsX8iP9D1OfncWa994MUfUxH0zQcv4NRfKRFKbBPkI=
25-
github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616070426-5fa99bcf30de/go.mod h1:bln7qCqF1P1+DOCkZuse3vF3uyOODgPZRZUHQShRDPc=
24+
github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616073440-d0a25690c9b9 h1:eKLisljjr0jjBQzQIh75p90kr4HxqRMzFZv//p0+3NQ=
25+
github.com/agrasth/jfrog-cli-artifactory v0.2.2-0.20250616073440-d0a25690c9b9/go.mod h1:bln7qCqF1P1+DOCkZuse3vF3uyOODgPZRZUHQShRDPc=
2626
github.com/agrasth/jfrog-cli-core/v2 v2.0.0-20250613074107-730ccf25f2ed h1:NGBzgISO9ZctOf9wlXfU9AdfJwRrxo7EMFzGQO1I2h4=
2727
github.com/agrasth/jfrog-cli-core/v2 v2.0.0-20250613074107-730ccf25f2ed/go.mod h1:1zZB8vn4yIh/hPj3ed82pI5IhKK9/SzeHsofMcknN68=
2828
github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7XdTA=

ruby-test/.jfrog/projects/ruby.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version: 1
2+
type: ruby
3+
resolver:
4+
repo: my-gems-repo
5+
serverId: ecosysjfrog

utils/cliutils/commandsflags.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,11 +1711,6 @@ var flagsMap = map[string]cli.Flag{
17111711
runNative: cli.BoolFlag{
17121712
Name: runNative,
17131713
Usage: "[Default: false] Set to true if you'd like to use the native client configurations. Note: This flag would invoke native client behind the scenes, has performance implications and does not support deployment view and detailed summary` `",
1714-
1715-
},
1716-
validateSha: cli.BoolFlag{
1717-
Name: validateSha,
1718-
Usage: "[Default: false] Set to true to enable SHA validation during Docker push.` `",
17191714
},
17201715
validateSha: cli.BoolFlag{
17211716
Name: validateSha,
@@ -1944,7 +1939,7 @@ var commandFlags = map[string][]string{
19441939
BuildName, BuildNumber, module, Project,
19451940
},
19461941
RubyConfig: {
1947-
global, serverIdResolve, repoResolve,
1942+
global, serverIdResolve, serverIdDeploy, repoResolve, repoDeploy,
19481943
},
19491944
TemplateConsumer: {
19501945
url, user, password, accessToken, sshPassphrase, sshKeyPath, serverId, ClientCertPath,

0 commit comments

Comments
 (0)