thor-zsh_completion 0.1.7 → 0.1.10
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 +4 -4
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +12 -0
- data/lib/thor/zsh_completion/generator.rb +2 -2
- data/lib/thor/zsh_completion/version.rb +1 -1
- data/thor-zsh_completion.gemspec +2 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b90d76e9815261b0779e269ba221b43b5d429629acae0c459c9c3973d409fab
|
4
|
+
data.tar.gz: b7474ee0f9673644d0b5f9428db86bcccc19660a1203c23f6823fab013733353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f157c919244864e978556b1d10b45f90fd7d450db0ad87d7a6adc4b6eea6f617937462f2b18a0d88a4eeb590e6cac291a8a62b70997c8fc2532d8a0551c12317
|
7
|
+
data.tar.gz: f4f6f0d2a593c25db62ca1fa1bfdf214e5c2954f453066cc780adc03cc8bc65ec2c0c9eb3195b5ea308e248ee07f14b32ede8f7e4f2703aa994f811d0d07f619
|
data/.rubocop.yml
CHANGED
@@ -3,6 +3,7 @@ AllCops:
|
|
3
3
|
- bin/*
|
4
4
|
- node_modules/**/*
|
5
5
|
NewCops: enable
|
6
|
+
TargetRubyVersion: 2.6
|
6
7
|
|
7
8
|
Layout/CaseIndentation:
|
8
9
|
EnforcedStyle: end
|
@@ -105,6 +106,9 @@ Style/PercentLiteralDelimiters:
|
|
105
106
|
Style/SpecialGlobalVars:
|
106
107
|
Enabled: false
|
107
108
|
|
109
|
+
Style/StringConcatenation:
|
110
|
+
Enabled: false
|
111
|
+
|
108
112
|
Style/StringLiterals:
|
109
113
|
EnforcedStyle: double_quotes
|
110
114
|
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class Thor
|
2
2
|
module ZshCompletion
|
3
3
|
class Generator
|
4
|
-
SUBCOMMAND_FUNCTION_TEMPLATE = ERB.new(File.read("#{File.dirname(__FILE__)}/template/subcommand_function.erb"),
|
4
|
+
SUBCOMMAND_FUNCTION_TEMPLATE = ERB.new(File.read("#{File.dirname(__FILE__)}/template/subcommand_function.erb"), trim_mode: "-")
|
5
5
|
attr_reader :thor, :name
|
6
6
|
|
7
7
|
def initialize(thor, name)
|
@@ -51,7 +51,7 @@ class Thor
|
|
51
51
|
}
|
52
52
|
|
53
53
|
erb = File.read("#{File.dirname(__FILE__)}/template/main.erb")
|
54
|
-
ERB.new(erb,
|
54
|
+
ERB.new(erb, trim_mode: "-").result(binding)
|
55
55
|
end
|
56
56
|
|
57
57
|
private
|
data/thor-zsh_completion.gemspec
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor-zsh_completion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- labocho
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2'
|
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: '
|
26
|
+
version: '2'
|
27
27
|
description: Create zsh completion script for Thor subclass
|
28
28
|
email:
|
29
29
|
- labocho@penguinlab.jp
|
@@ -56,7 +56,7 @@ homepage: https://github.com/labocho/thor-zsh_completion
|
|
56
56
|
licenses:
|
57
57
|
- MIT
|
58
58
|
metadata: {}
|
59
|
-
post_install_message:
|
59
|
+
post_install_message:
|
60
60
|
rdoc_options: []
|
61
61
|
require_paths:
|
62
62
|
- lib
|
@@ -64,15 +64,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '2.6'
|
68
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
74
|
+
rubygems_version: 3.3.3
|
75
|
+
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Create zsh completion script for Thor subclass
|
78
78
|
test_files: []
|