sf_cli 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sf_cli/sf/core/base.rb +5 -2
- data/lib/sf_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eaa5b952281b6d65ee9985c4627ed2e28cdca208bc8a9de215bfe933ae71d2a
|
4
|
+
data.tar.gz: 7ee7b1020b429e05edc68fed332267e24a3d3806ff2fffd2dfaf7279a3e00759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27ad97ba8c8478f9e75b50c446101ebf7a1045772d4734ac8b89a4ef0a4f0195ff849be5694dce36e5bc9033906f5754a4936355d5181910db55a5fec02ec546
|
7
|
+
data.tar.gz: a986236aa5b63bfb86202148df5a2fc5251d9f125a3bc9fb795578137a6d180af2f8f4edcbd61cd2065d1c7f532b7b21e5807b35b268368007016f83a04e7d03
|
data/lib/sf_cli/sf/core/base.rb
CHANGED
@@ -47,8 +47,11 @@ module SfCli
|
|
47
47
|
if format.to_sym == :json
|
48
48
|
' ' + {json: true}.merge(hash).each_with_object([]){|(k,v), arr| arr << %(--#{k}) if v}.join(' ')
|
49
49
|
else
|
50
|
-
|
51
|
-
|
50
|
+
options = hash.each_with_object([]){|(k,v), arr| arr << %(--#{k}) if v}.join(' ')
|
51
|
+
return '' if options.empty?
|
52
|
+
|
53
|
+
options = ' ' + options unless options.start_with?(' ')
|
54
|
+
return options
|
52
55
|
end
|
53
56
|
end
|
54
57
|
|
data/lib/sf_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sf_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takanobu Maekawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A library for introducing Salesforce CLI to Ruby scripting.
|
14
14
|
email:
|