thor-zsh_completion 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +1 -1
- data/lib/thor/zsh_completion/generator.rb +2 -2
- data/lib/thor/zsh_completion/version.rb +1 -1
- data/thor-zsh_completion.gemspec +1 -0
- metadata +4 -4
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,14 +1,14 @@
|
|
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
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
|
@@ -64,14 +64,14 @@ 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.
|
74
|
+
rubygems_version: 3.3.3
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Create zsh completion script for Thor subclass
|