cmdlet 0.12.5 → 0.13.1

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: 0d22e403077818fd2b6aed9df61a360e26dc40b513eb8de45804c9ab9f7a0f72
4
- data.tar.gz: 00d2c70ace58cacd741ab797e3e3817ebc7d3ea30f54eab77adcd488031da353
3
+ metadata.gz: b9aa507763dc8072d585fc03642c460e09a87d798606b52d55083241987b4d7e
4
+ data.tar.gz: 37cfcb6466ae02b3932fb6d2bd6b7048186506808532fec28bc05642ac78cb1a
5
5
  SHA512:
6
- metadata.gz: 8478e2994711430d95ebd9185aa751684870a43f8796d75a4577f8ec89609aa7ba7bbb59f687a12a15ab080fca4170fce32035922177474d6a95fd4c50123cf9
7
- data.tar.gz: 838436d40bdd4f9a9903b38e8fe6d02b0c7215f90cf7e8c4aa5032835cf7c81839d9d18a1c02810f8a7478dba47989beb796895b733829badf276171a2ffb32b
6
+ metadata.gz: e53bec5ff3d6d09579e5431b27b20e173854ac5889b19b3d9c9809f51e0f8784d35dd6b006a9a10afffe4ac0f5659e4f9b4a17b6cf77e3540bebcd4501f6e884
7
+ data.tar.gz: c96987675744a8c99fcc53e5f6800538dfff6e0e24664efe12df8b5c50ce0c3de7f11831047aaf899e0d646270e781584bc742cb396c5beea19ddf7a014868dc
@@ -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 string'
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 :makebold
33
21
  description 'Sample to bold some text'
@@ -58,3 +46,16 @@ KManager.action :misc_commands do
58
46
  # .debug
59
47
  end
60
48
  end
49
+
50
+ # .cmdlet do
51
+ # name :omit
52
+ # aliases %i[ignore comment_out]
53
+ # description 'this content will not get written out, useful for commenting out code'
54
+ # result 'empty string'
55
+
56
+ # parameter :value, 'value to omit', param_type: 'String|Int'
57
+
58
+ # ruby <<-RUBY
59
+ # ''
60
+ # RUBY
61
+ # end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [0.13.0](https://github.com/klueless-io/cmdlet/compare/v0.12.5...v0.13.0) (2023-07-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * synchronise versions ([7dc147c](https://github.com/klueless-io/cmdlet/commit/7dc147ced049136865f3d14a2cb7dcba4b5c3a07))
7
+
8
+ ## [0.12.5](https://github.com/klueless-io/cmdlet/compare/v0.12.4...v0.12.5) (2023-07-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * remove makebold test ([5523071](https://github.com/klueless-io/cmdlet/commit/5523071b15e9e998a187922cc9e98d656bdfd841))
14
+
1
15
  ## [0.12.4](https://github.com/klueless-io/cmdlet/compare/v0.12.3...v0.12.4) (2023-07-19)
2
16
 
3
17
 
data/lib/cmdlet/_.rb CHANGED
@@ -32,7 +32,7 @@ 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'
35
+ # require_relative 'misc/omit'
36
36
  require_relative 'misc/safe'
37
37
  require_relative 'str/padl'
38
38
  require_relative 'str/padr'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cmdlet
4
- VERSION = '0.12.5'
4
+ VERSION = '0.13.1'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.12.5",
3
+ "version": "0.13.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "cmdlet",
9
- "version": "0.12.5",
9
+ "version": "0.13.1",
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.5",
3
+ "version": "0.13.1",
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.5
4
+ version: 0.13.1
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-19 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '7'
19
+ version: 7.0.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '7'
26
+ version: 7.0.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: k_config
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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 string
11
- def call(_value)
12
- ''
13
- end
14
- end
15
- end
16
- end