cmdlet 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.builders/data/cmdlets/misc.json +2 -2
- data/.builders/generators/cmdlets/misc.rb +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/cmdlet/misc/safe.rb +2 -2
- data/lib/cmdlet/version.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +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: 8f7f5033d225df4b35b6a961a515faf199316fe55fc3ef9ab18b3d5acf93ce08
|
4
|
+
data.tar.gz: 6920780dde8303786350981f8312463cc7badb02b986c9c672de838889da2cd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff16d31f2830a656da55e744cab680818e3ef6a44682f54b5456af19416e2e3188507020929ba82cca92a72c24506cd661b3d4b0d9738f2a96fa9a179731f4dc
|
7
|
+
data.tar.gz: 244346de4337b08d1ef29faf115da1b01a4ce31f98c1e0486bf2b9294d089d3644218783304638984a62bea3d0e21d4edf87126e10fa31d1b398bca12aa4dd45
|
@@ -9,7 +9,7 @@ KManager.action :misc_commands do
|
|
9
9
|
description 'pass through the value with <> and single and double quotes left as is'
|
10
10
|
result 'the value with <> and single and double quotes left as is'
|
11
11
|
|
12
|
-
parameter :
|
12
|
+
parameter :value, 'value to pass through', param_type: 'String|Int'
|
13
13
|
|
14
14
|
ruby <<-RUBY
|
15
15
|
value = '' if value.nil?
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [0.8.0](https://github.com/klueless-io/cmdlet/compare/v0.7.1...v0.8.0) (2022-07-15)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* add misc: :safe ([3a24c37](https://github.com/klueless-io/cmdlet/commit/3a24c3796b478164a4e36486d4619396a84880b9))
|
7
|
+
|
1
8
|
## [0.7.1](https://github.com/klueless-io/cmdlet/compare/v0.7.0...v0.7.1) (2022-07-15)
|
2
9
|
|
3
10
|
|
data/lib/cmdlet/misc/safe.rb
CHANGED
@@ -6,9 +6,9 @@ module Cmdlet
|
|
6
6
|
# Safe: pass through the value with <> and single and double quotes left as is
|
7
7
|
class Safe < Cmdlet::BaseCmdlet
|
8
8
|
#
|
9
|
-
# @param [String|Int]
|
9
|
+
# @param [String|Int] value - value to pass through
|
10
10
|
# @return [String] the value with <> and single and double quotes left as is
|
11
|
-
def call(
|
11
|
+
def call(value)
|
12
12
|
value = '' if value.nil?
|
13
13
|
value
|
14
14
|
end
|
data/lib/cmdlet/version.rb
CHANGED
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "cmdlet",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.9.0",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "cmdlet",
|
9
|
-
"version": "0.
|
9
|
+
"version": "0.9.0",
|
10
10
|
"devDependencies": {
|
11
11
|
"@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
|
12
12
|
"@semantic-release/changelog": "^6.0.1",
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmdlet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|