cmdlet 0.12.4 → 0.13.0

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: 6ac1f9cec2a63ca7a67176e3fb1a4454728983197774656e150f2a6ee7d831c4
4
- data.tar.gz: 418abd752083b08235e10b2940a8b66d62b8502f5a920a1d0cab958e13a6a23c
3
+ metadata.gz: 2f0823c4c414c9ec3f0860942a8001baae3b46a8707d22c7606dec08c756bfea
4
+ data.tar.gz: d84201463f8ecd86b3a95826dc52aab4429d3ba158b548908d1a7a4affd25c1e
5
5
  SHA512:
6
- metadata.gz: 911ddef9bd40a35be8fdc9c9e99badc401795d3d5e1ad999ccfcdeb71b9c6075ebc21e5d6c5969e90e33b2d46bf92a9f4062012ab7ea06592f77d083237d8dcf
7
- data.tar.gz: a32764b510e3636e5dc08041b40c551c7af9a887b894103f63be16cc3d4f885ea87568cdb31b6a4e5b5a404128bacf768b71cc2b79d566f8b3b70ca020f7247e
6
+ metadata.gz: e4a2a8e247714078b0a7a592f38159e9c7106790af7d531952aa7df5efc416e632d0b55d786b8044b9a951d6908ea780c21264d0da78e2456ca1d517d8a3b680
7
+ data.tar.gz: 85174d73fcb182cd51faf0d09f59727d25eb8b717de11cef01b9633262d0aea9c30f976c84c92db55009cbd7437782d53c9d94e6dbfd272d079f2c08c30ab306
@@ -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/.rubocop.yml CHANGED
@@ -15,7 +15,7 @@ Metrics/BlockLength:
15
15
  Exclude:
16
16
  - "**/spec/**/*"
17
17
  - "*.gemspec"
18
- AllowedMethods:
18
+ IgnoredMethods:
19
19
  - configure
20
20
  - context
21
21
  - define
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [0.12.5](https://github.com/klueless-io/cmdlet/compare/v0.12.4...v0.12.5) (2023-07-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove makebold test ([5523071](https://github.com/klueless-io/cmdlet/commit/5523071b15e9e998a187922cc9e98d656bdfd841))
7
+
8
+ ## [0.12.4](https://github.com/klueless-io/cmdlet/compare/v0.12.3...v0.12.4) (2023-07-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add sample command ([fa1fa5f](https://github.com/klueless-io/cmdlet/commit/fa1fa5f1930bb6e217c10a8ecddbf9ce690915cc))
14
+ * add sample command ([7d27579](https://github.com/klueless-io/cmdlet/commit/7d27579dd02027db8b3bb2d56a548e843f69d962))
15
+
1
16
  ## [0.12.3](https://github.com/klueless-io/cmdlet/compare/v0.12.2...v0.12.3) (2023-07-19)
2
17
 
3
18
 
data/lib/cmdlet/_.rb CHANGED
@@ -32,8 +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/makebold'
36
- require_relative 'misc/omit'
35
+ # require_relative 'misc/omit'
37
36
  require_relative 'misc/safe'
38
37
  require_relative 'str/padl'
39
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.4'
4
+ VERSION = '0.13.0'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.12.4",
3
+ "version": "0.13.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "cmdlet",
9
- "version": "0.12.4",
9
+ "version": "0.13.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.12.4",
3
+ "version": "0.13.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdlet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -130,8 +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/makebold.rb
134
- - lib/cmdlet/misc/omit.rb
135
133
  - lib/cmdlet/misc/safe.rb
136
134
  - lib/cmdlet/str/padl.rb
137
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
- # Makebold: Sample to bold some text
7
- class Makebold < Cmdlet::BaseCmdlet
8
- #
9
- # @param [Handlebars Block] value - block
10
- # @return [String] Testing an ID
11
- def call(value)
12
- "<b>#{value}</b>"
13
- end
14
- end
15
- end
16
- end
@@ -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