thor-completion 0.0.1 → 0.0.2

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: f3c79e30be2195c35c21530d4c302a007d40262d831d50c7026a8ddebee4b064
4
- data.tar.gz: 61197a3c4e7dc6aaaaefbf6142d6db610a677768d8de3382a07459a62e343757
3
+ metadata.gz: c9a09943a60c0fa1ee8dc204e7f1ce67f86683d31651ce15f284c087313c1ce2
4
+ data.tar.gz: 8b82e6ded0bd726a29d701fa71ccaccadda97d76308385b5333766a83a06a66f
5
5
  SHA512:
6
- metadata.gz: 18c78b02ce1a05b9ca8fd5c7b1d60edd5f23253cf7ca684fe3b2bc20ef2d00639cdb54c9c7087e3e7ab4c497e313cb50063961600d13d2bb46568a95f13cf5f4
7
- data.tar.gz: 236c05dfe69aad1b439bf204ae95cdc8e9b5cfe0fff1909f75b8ddfc2b84e0ce4eb0ee97924d43ebf36108d3c11ce18ba12063972e92d9a3d5be2f37733c9a4c
6
+ metadata.gz: 3feea415e81693e107ef457275d38207e1f495de6ea439e43a889b23ec7a59ae8f94f2e8329dc77b683e2b0de5adc239ce5384e87a4a849eebabe6358eea5b1f
7
+ data.tar.gz: e339618aa4c8e0a6054178a4d729fa9bcdfe3b898e104671fb3247bf96eac273d6dee2e73b00de156f95e749b810e7a9b9f8858b49d0e793e1990ad9d7725134
data/CHANGELOG.md CHANGED
@@ -11,6 +11,11 @@ Prefix your message with one of the following:
11
11
  - [Security] in case of vulnerabilities.
12
12
  -->
13
13
 
14
+ ## v0.0.2
15
+
16
+ - [Fixed] Fix completion property format to match schema (object instead of
17
+ string).
18
+
14
19
  ## v0.0.1
15
20
 
16
21
  - [Changed] Support ruby 3.3+.
@@ -134,7 +134,7 @@ class Thor
134
134
  }
135
135
 
136
136
  if (completion = resolve_completion(option.name))
137
- opt_hash[:completion] = completion
137
+ opt_hash[:completion] = {type: completion}
138
138
  end
139
139
 
140
140
  # Only add short if there are aliases
@@ -2,6 +2,6 @@
2
2
 
3
3
  class Thor
4
4
  module Completion
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-completion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -165,10 +165,10 @@ metadata:
165
165
  rubygems_mfa_required: 'true'
166
166
  homepage_uri: https://github.com/fnando/thor-completion
167
167
  bug_tracker_uri: https://github.com/fnando/thor-completion/issues
168
- source_code_uri: https://github.com/fnando/thor-completion/tree/v0.0.1
169
- changelog_uri: https://github.com/fnando/thor-completion/tree/v0.0.1/CHANGELOG.md
170
- documentation_uri: https://github.com/fnando/thor-completion/tree/v0.0.1/README.md
171
- license_uri: https://github.com/fnando/thor-completion/tree/v0.0.1/LICENSE.md
168
+ source_code_uri: https://github.com/fnando/thor-completion/tree/v0.0.2
169
+ changelog_uri: https://github.com/fnando/thor-completion/tree/v0.0.2/CHANGELOG.md
170
+ documentation_uri: https://github.com/fnando/thor-completion/tree/v0.0.2/README.md
171
+ license_uri: https://github.com/fnando/thor-completion/tree/v0.0.2/LICENSE.md
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib