cmdlet 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41363a7b668499bcf713e9018b2d6f75dd578bce4d9ddcf8b8063de9947bf907
4
- data.tar.gz: 79b454e623c65c6d816aff06acd461cfec5d8e9ab0518a1ffef7dceda25f67e1
3
+ metadata.gz: d2e2477b21ca006e275e015cdee37a1cf587b2685db7bc09a37ffa701f733906
4
+ data.tar.gz: b135e42c5dd9dd31890ea8029dff8a50f64240b1acc8492e45efa5585eba0bac
5
5
  SHA512:
6
- metadata.gz: 1ae84acac217c821270abdaed3332ef36bb5339aa671c403790f78a754727d3aee7d7f1b3a409022b257237f1c1bdf46273a5628f014a9494cf696e1097bc095
7
- data.tar.gz: 122aa45896cca8d67c4d5a19348e8dadf069e42e0c4bb85a8a4910a9875c085b0f56ed392ddc2e68cef5ad6e25ab746b69caff5248e5bfa25584f74cb0f5a523
6
+ metadata.gz: c2d5fe99521eae7d2bbc707c0b2bec3c7995fd90d2e8ef6a8ba32deb86fde3c367485d6669e6ca3a210ae31362f4d654d7b232cfff173a4df4edd5df750a00fc
7
+ data.tar.gz: 17cefc44b6c4241d045dbb184c471f6427c13e142966e0c6332e9ade0de3b7e25745fd4af80e028b50881628fa3521bd2c2062baf2694e90103bea2133421887
@@ -26,32 +26,6 @@
26
26
  ],
27
27
  "ruby": " value = '' if value.nil?\n value\n"
28
28
  },
29
- {
30
- "name": "omit",
31
- "aliases": [
32
- "ignore",
33
- "comment_out"
34
- ],
35
- "description": "this content will not get written out, useful for commenting out code",
36
- "result": "empty stting",
37
- "category": "misc",
38
- "category_description": "Miscellaneous cmdlets",
39
- "base_class_require": null,
40
- "base_class": null,
41
- "parameters": [
42
- {
43
- "name": "value",
44
- "description": "value to omit",
45
- "splat": null,
46
- "default": null,
47
- "param_type": "String|Int"
48
- }
49
- ],
50
- "examples": [
51
-
52
- ],
53
- "ruby": " ''\n"
54
- },
55
29
  {
56
30
  "name": "format_json",
57
31
  "aliases": [
@@ -16,18 +16,6 @@ KManager.action :misc_commands do
16
16
  value
17
17
  RUBY
18
18
  end
19
- .cmdlet do
20
- name :omit
21
- aliases %i[ignore comment_out]
22
- description 'this content will not get written out, useful for commenting out code'
23
- result 'empty stting'
24
-
25
- parameter :value, 'value to omit', param_type: 'String|Int'
26
-
27
- ruby <<-RUBY
28
- ''
29
- RUBY
30
- end
31
19
  .cmdlet do
32
20
  name :format_json
33
21
  description 'FormatJson will take an object and write it out as pretty JSON'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.12.1](https://github.com/klueless-io/cmdlet/compare/v0.12.0...v0.12.1) (2023-07-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add test ([9895bf9](https://github.com/klueless-io/cmdlet/commit/9895bf9d0a1a709307f1b427e5d18ad093f07318))
7
+
1
8
  # [0.12.0](https://github.com/klueless-io/cmdlet/compare/v0.11.0...v0.12.0) (2023-07-18)
2
9
 
3
10
 
data/lib/cmdlet/_.rb CHANGED
@@ -32,7 +32,6 @@ require_relative 'inflection/pluralize_number'
32
32
  require_relative 'inflection/pluralize_number_word'
33
33
  require_relative 'inflection/singularize'
34
34
  require_relative 'misc/format_json'
35
- require_relative 'misc/omit'
36
35
  require_relative 'misc/safe'
37
36
  require_relative 'str/padl'
38
37
  require_relative 'str/padr'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cmdlet
4
- VERSION = '0.12.1'
4
+ VERSION = '0.12.2'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "cmdlet",
9
- "version": "0.12.1",
9
+ "version": "0.12.2",
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.12.1",
3
+ "version": "0.12.2",
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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-18 00:00:00.000000000 Z
11
+ date: 2023-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -130,7 +130,6 @@ files:
130
130
  - lib/cmdlet/inflection/pluralize_number_word.rb
131
131
  - lib/cmdlet/inflection/singularize.rb
132
132
  - lib/cmdlet/misc/format_json.rb
133
- - lib/cmdlet/misc/omit.rb
134
133
  - lib/cmdlet/misc/safe.rb
135
134
  - lib/cmdlet/str/padl.rb
136
135
  - lib/cmdlet/str/padr.rb
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Cmdlet
4
- # Miscellaneous cmdlets
5
- module Misc
6
- # Omit: this content will not get written out, useful for commenting out code
7
- class Omit < Cmdlet::BaseCmdlet
8
- #
9
- # @param [String|Int] value - value to omit
10
- # @return [String] empty stting
11
- def call(_value)
12
- ''
13
- end
14
- end
15
- end
16
- end