thor-zsh_completion 0.1.7 → 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: 80edce6f394ea4b9fc61c8ec1d3de8120cc6fc67dd0ea4a3f696802582bf368d
4
- data.tar.gz: e57bca556d1cb99cf7ab21ab359777a244f2bf92fe106f5668191dd5a2a20b2a
3
+ metadata.gz: 4b90d76e9815261b0779e269ba221b43b5d429629acae0c459c9c3973d409fab
4
+ data.tar.gz: b7474ee0f9673644d0b5f9428db86bcccc19660a1203c23f6823fab013733353
5
5
  SHA512:
6
- metadata.gz: d12f3e04253be27957e5cb0aad094988e95bd93fc7d9a4bd82179fd769b61e7ef8e53cbd454c9b8e5bafd4c75485ae58e322654b0ba7251969019f9eaea33747
7
- data.tar.gz: 0e7464b50012941279344e9ab849a3f1cc6cff8d1a9752b1ee5d5ab8f93d9b6f2d65bcb26e1101fcf6218c536007fc70b01443208391346fb46200543a2c076e
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,3 +1,15 @@
1
+ ### 0.1.9
2
+
3
+ Bugfixes
4
+
5
+ - fix file mode to avoid LoadError on the gem installed by another user (reported by @gisenberg)
6
+
7
+ ### 0.1.8
8
+
9
+ Misc
10
+
11
+ - update `thor` dependency
12
+
1
13
  ### 0.1.7
2
14
 
3
15
  Misc
@@ -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.7".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.add_dependency "thor", "~> 0"
21
+ spec.required_ruby_version = ">= 2.6"
22
+ spec.add_dependency "thor", "< 2"
22
23
  end
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.7
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: 2020-06-25 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
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: '0'
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: '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
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: []