cmdlet 0.6.0 → 0.7.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: d2f90c89d289ef06c536a7d11f99415ce7edd32e81dafa7b4886ba9bc54a87ac
4
- data.tar.gz: 26d34c6d9a0d54be7cdcf403a92096919391dc14e547f6971e18aab22601ee6c
3
+ metadata.gz: 1a771cd2d8fa2bfade099b8bf53bdcf316154153f62e43d54683e6d6c9678597
4
+ data.tar.gz: e56520fb8f041fb3e91fe67bfd0eb98d5d4d1ccf96773b9dc9f3d5de758b97b5
5
5
  SHA512:
6
- metadata.gz: eed56d8e114624213419b305e1c5b609ed39a67d88749a9bc676a4d96b72e0cfceba6301102ecba142837834b18421d5e19ae73a3537e56636b6cac8411668db
7
- data.tar.gz: d5e22d7073e0edb2b781a69a15b861f572b85602e22dea4e8736eea72228db6f696b368a3ce402a48b53eebe8610b0076c6d5f71e9191941a68011e4ea4d8b86
6
+ metadata.gz: f1638db622ba4b5b0f7d50bb47b0cdc42d37e5c08a37fcc8905fcdddbab62e42f7fa6ced9293c7d812ab902db91b8f9d2d53e0e8a0a900c715fdb303bc237719
7
+ data.tar.gz: 57f564741a775cb099898ad6104af75cdf9a823119d192009d629b73041af09da14eab5fb6c6335eecaf21723ad1099664af7927336b996094a1f49a3bc3fa43
data/.builders/boot.rb CHANGED
@@ -8,34 +8,11 @@ CONFIG_KEY = :cmdlet
8
8
 
9
9
  log.kv 'working folder', Dir.pwd
10
10
 
11
- Handlebars::Helpers.configure do |config|
12
- config.helper_config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_helpers.json')
13
- config.string_formatter_config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_string_formatters.json')
14
- end
15
-
16
- def camel
17
- require 'handlebars/helpers/string_formatting/camel'
18
- Handlebars::Helpers::StringFormatting::Camel.new
19
- end
20
-
21
- def titleize
22
- require 'handlebars/helpers/string_formatting/titleize'
23
- Handlebars::Helpers::StringFormatting::Titleize.new
24
- end
25
-
26
- def pluralize
27
- require 'handlebars/helpers/inflection/pluralize'
28
- Handlebars::Helpers::Inflection::Pluralize.new
29
- end
30
-
31
- def singularize
32
- require 'handlebars/helpers/inflection/singularize'
33
- Handlebars::Helpers::Inflection::Singularize.new
34
- end
35
-
36
- def dasherize
37
- require 'handlebars/helpers/string_formatting/dasherize'
38
- Handlebars::Helpers::StringFormatting::Dasherize.new
11
+ KConfig.configure do |config|
12
+ config.handlebars.defaults.add_array_defaults
13
+ config.handlebars.defaults.add_case_defaults
14
+ config.handlebars.defaults.add_comparison_defaults
15
+ config.handlebars.defaults.add_inflection_defaults
39
16
  end
40
17
 
41
18
  def k_builder
@@ -54,7 +54,7 @@ class CmdletDirector < KDirector::Directors::BaseDirector
54
54
  category = builder.cmdlets.first[:category]
55
55
  handlebars_category_configuration_file = "handlebarsjs/helpers/#{category}/default_configuration.rb"
56
56
 
57
- oadd(handlebars_category_configuration_file, template_file: 'handlebars_helper_default_configuration.rb', cmdlets: builder.cmdlets)
57
+ add(handlebars_category_configuration_file, template_file: 'handlebars_helper_default_configuration.rb', cmdlets: builder.cmdlets)
58
58
  end
59
59
 
60
60
 
@@ -51,6 +51,6 @@ KManager.action :array_commands do
51
51
  RUBY
52
52
  end
53
53
  .generate
54
- .debug
54
+ # .debug
55
55
  end
56
56
  end
data/.rubocop.yml CHANGED
@@ -41,7 +41,7 @@ Metrics/MethodLength:
41
41
  Layout/LineLength:
42
42
  Max: 200
43
43
  # Ignores annotate output
44
- # IgnoredPatterns: ['\A# \*\*'] # this is renamed to AllowedPatterns and I need to come up with a template for this
44
+ AllowedPatterns: ['\A# \*\*'] # this is renamed to AllowedPatterns and I need to come up with a template for this
45
45
  IgnoreCopDirectives: true
46
46
 
47
47
  Lint/UnusedMethodArgument:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [0.6.2](https://github.com/klueless-io/cmdlet/compare/v0.6.1...v0.6.2) (2022-07-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove alias :parse, :call ([375deb4](https://github.com/klueless-io/cmdlet/commit/375deb4a69f40e56265abaed9b52dd552e7235ef))
7
+
8
+ ## [0.6.1](https://github.com/klueless-io/cmdlet/compare/v0.6.0...v0.6.1) (2022-07-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add alias :parse, :call ([328e0e5](https://github.com/klueless-io/cmdlet/commit/328e0e56050277fcee5c4e867f628afaf21f0d25))
14
+ * add alias :parse, :call ([ea54e24](https://github.com/klueless-io/cmdlet/commit/ea54e2444f3b22d4c790c0aba9dc82c232527bcc))
15
+
16
+ # [0.6.0](https://github.com/klueless-io/cmdlet/compare/v0.5.0...v0.6.0) (2022-07-13)
17
+
18
+
19
+ ### Features
20
+
21
+ * align cmdlet/helper GEM versions ([3fcf532](https://github.com/klueless-io/cmdlet/commit/3fcf532686d646492095cbb31ab08a9213b283b9))
22
+
1
23
  # [0.5.0](https://github.com/klueless-io/cmdlet/compare/v0.4.2...v0.5.0) (2022-07-12)
2
24
 
3
25
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cmdlet
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "cmdlet",
9
- "version": "0.6.0",
9
+ "version": "0.7.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.6.0",
3
+ "version": "0.7.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.6.0
4
+ version: 0.7.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-13 00:00:00.000000000 Z
11
+ date: 2022-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6'
19
+ version: '7'
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: '6'
26
+ version: '7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: k_config
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.3
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.3
40
+ version: '0'
41
41
  description: " Cmdlet provides a set of functions (wrapped in the command pattern)
42
42
  that perform simple actions\n"
43
43
  email: