diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:35:38 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:35:38 -0700 |
commit | 607d247c9a4bcef57a905e82454d5cd10bea5e7e (patch) | |
tree | 0854bee0f5dbe75caad74f67b1778d602e9bfad9 /mixlib-authentication.gemspec | |
parent | 0fd5b792f8f7eaf38bb5308ff015e59513242c61 (diff) | |
download | mixlib-authentication-607d247c9a4bcef57a905e82454d5cd10bea5e7e.tar.gz |
Replace __FILE__ with __dir__ and use safe operatorschefstyle
A few new chefstyle rules to improve readability here.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-authentication.gemspec')
-rw-r--r-- | mixlib-authentication.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib-authentication.gemspec b/mixlib-authentication.gemspec index 38a30a4..2bcf30e 100644 --- a/mixlib-authentication.gemspec +++ b/mixlib-authentication.gemspec @@ -1,4 +1,4 @@ -$:.unshift(File.dirname(__FILE__) + "/lib") +$:.unshift(__dir__ + "/lib") require "mixlib/authentication/version" Gem::Specification.new do |s| |