cmdlet 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27e7a1e05d48209204f34c1e04f991ed01d3d3eca2ecbe9f841826cadc177df7
4
- data.tar.gz: 847c0632e9e33f52b014eb04bd27fcda83dea0e1837d9dcc9d7d515cc2aeb02b
3
+ metadata.gz: 8f7f5033d225df4b35b6a961a515faf199316fe55fc3ef9ab18b3d5acf93ce08
4
+ data.tar.gz: 6920780dde8303786350981f8312463cc7badb02b986c9c672de838889da2cd0
5
5
  SHA512:
6
- metadata.gz: b4501a96777d21750f4c1ea03e47305b297605e96cd6f076bfdd8af2953fa47f465ddf0a9847fb5fa87dceecd5c33cb8eee2d421a65d4b08d9047c5e07482f02
7
- data.tar.gz: 0dfb170d52bfdbca451e2888be1e2b501a448cd0392ed0931404ce7c166c53f30f860b8fac46e57c8180c8f02958a578d86c322b1f1b2bfe160645ce8daa831b
6
+ metadata.gz: ff16d31f2830a656da55e744cab680818e3ef6a44682f54b5456af19416e2e3188507020929ba82cca92a72c24506cd661b3d4b0d9738f2a96fa9a179731f4dc
7
+ data.tar.gz: 244346de4337b08d1ef29faf115da1b01a4ce31f98c1e0486bf2b9294d089d3644218783304638984a62bea3d0e21d4edf87126e10fa31d1b398bca12aa4dd45
@@ -14,8 +14,8 @@
14
14
  "base_class": null,
15
15
  "parameters": [
16
16
  {
17
- "name": "values",
18
- "description": "valure to pass throught",
17
+ "name": "value",
18
+ "description": "value to pass through",
19
19
  "splat": null,
20
20
  "default": null,
21
21
  "param_type": "String|Int"
@@ -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 :values, 'valure to pass throught', param_type: 'String|Int'
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
 
@@ -6,9 +6,9 @@ module Cmdlet
6
6
  # Safe: pass through the value with &lt;&gt; and single and double quotes left as is
7
7
  class Safe < Cmdlet::BaseCmdlet
8
8
  #
9
- # @param [String|Int] values - valure to pass throught
9
+ # @param [String|Int] value - value to pass through
10
10
  # @return [String] the value with &lt;&gt; and single and double quotes left as is
11
- def call(_values)
11
+ def call(value)
12
12
  value = '' if value.nil?
13
13
  value
14
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cmdlet
4
- VERSION = '0.8.0'
4
+ VERSION = '0.9.0'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.8.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.8.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Cmdlet provides a set of functions (wrapped in the command pattern) that perform simple actions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
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.8.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-15 00:00:00.000000000 Z
11
+ date: 2022-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport