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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5197a7ec9bc58a2f224de749802ddf4986d669e0760913eb9af0d180f2173770
4
- data.tar.gz: af2706ba6b7b7ce44726414b4a4ef1e31992d45d836376ed643e2b0a7d0779a7
3
+ metadata.gz: 4b90d76e9815261b0779e269ba221b43b5d429629acae0c459c9c3973d409fab
4
+ data.tar.gz: b7474ee0f9673644d0b5f9428db86bcccc19660a1203c23f6823fab013733353
5
5
  SHA512:
6
- metadata.gz: 33a9a5b35afc4878ccf8319e0012cd5ae85f4aa9a15be621adad8a50d30742040217851c944cc3702bf27d7fdff02e2856db529787ba8d8ca0f5485075b7a877
7
- data.tar.gz: 2de8cd832aa3c42028b0c3f4ea6097acee9221557f20a9d33cc0c8800e7bf9fcb8ae0b2a6fb6653b3c6544f5bf898e9927b5ad10ba9cfbd005c4b1ce0eb4d4dc
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Bugfixes
4
4
 
5
- - fix file mode to avoid LoadError on the gem installed by another user (reported by @belden)
5
+ - fix file mode to avoid LoadError on the gem installed by another user (reported by @gisenberg)
6
6
 
7
7
  ### 0.1.8
8
8
 
@@ -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"), nil, "-")
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, nil, "-").result(binding)
54
+ ERB.new(erb, trim_mode: "-").result(binding)
55
55
  end
56
56
 
57
57
  private
@@ -1,5 +1,5 @@
1
1
  class Thor
2
2
  module ZshCompletion
3
- VERSION = "0.1.9".freeze
3
+ VERSION = "0.1.10".freeze
4
4
  end
5
5
  end
@@ -18,5 +18,6 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r(^exe/)) {|f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.required_ruby_version = ">= 2.6"
21
22
  spec.add_dependency "thor", "< 2"
22
23
  end
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.9
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: 2020-12-01 00:00:00.000000000 Z
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: '0'
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.1.2
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