Skip to content

Commit 8baacf1

Browse files
committed
🚨 Lint cleanup
1 parent dc7f1a3 commit 8baacf1

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

oauth-tty.gemspec

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
66
spec.add_dependency("version_gem", "~> 1.1")
77

88
spec.cert_chain = ["certs/pboling.pem"]
9-
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
9+
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
1010

1111
spec.name = "oauth-tty"
1212
spec.version = OAuth::TTY::Version::VERSION
@@ -29,8 +29,16 @@ Gem::Specification.new do |spec|
2929
spec.metadata["mailing_list_uri"] = "https://groups.google.com/g/oauth-ruby"
3030
spec.metadata["rubygems_mfa_required"] = "true"
3131

32-
spec.files = Dir.glob("lib/**/*.rb") + ["LICENSE.txt", "README.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md",
33-
"SECURITY.md", "CONTRIBUTING.md", "exe/oauth"]
32+
spec.files = Dir[
33+
"lib/**/*",
34+
"CHANGELOG.md",
35+
"CODE_OF_CONDUCT.md",
36+
"CONTRIBUTING.md",
37+
"exe/oauth",
38+
"LICENSE.txt",
39+
"README.md",
40+
"SECURITY.md",
41+
]
3442

3543
spec.bindir = "exe"
3644
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)