Commit 82c0257

mo <mo.khan@gmail.com>
2018-03-07 00:21:43
update rubocop and fix errors.
1 parent 2ae5d99
.rubocop.yml
@@ -75,7 +75,10 @@ Style/EachWithObject:
 Style/StringLiterals:
   EnforcedStyle: 'single_quotes'
 
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
+  Enabled: false
+
+Style/TrailingCommaInHashLiteral:
   Enabled: false
 
 RSpec/ExampleLength:
xml-kit.gemspec
@@ -1,7 +1,7 @@
 
 # frozen_string_literal: true
 
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('lib', __dir__)
 $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 require 'xml/kit/version'