Commit 4b8607e

mokha <mokha@cisco.com>
2019-02-22 01:35:50
fix linter errors
1 parent 6f400c9
lib/scim/kit/v2/attribute_type.rb
@@ -81,8 +81,8 @@ module Scim
             %i[
               canonicalValues caseExact description multiValued mutability
               referenceTypes required returned uniqueness
-            ].each do |key|
-              x.public_send("#{key.to_s.underscore}=", hash[key]) if hash.key?(key)
+            ].each do |y|
+              x.public_send("#{y.to_s.underscore}=", hash[y]) if hash.key?(y)
             end
             x
           end
lib/scim/kit/v2/configuration.rb
@@ -74,7 +74,7 @@ module Scim
         def headers
           {
             'Accept' => 'application/scim+json',
-            'Content-Type' => 'application/scim+json',
+            'Content-Type' => 'application/scim+json'
           }
         end
       end
.rubocop.yml
@@ -20,6 +20,8 @@ Metrics/BlockLength:
 Metrics/LineLength:
   Exclude:
     - 'spec/**/*.rb'
+  IgnoredPatterns:
+    - '^#*'
 
 Naming/FileName:
   Exclude:
scim-kit.gemspec
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
   end
   spec.require_paths = ['lib']
   spec.required_ruby_version = '>= 2.5.0'
-  spec.metadata["yard.run"] = "yri"
+  spec.metadata['yard.run'] = 'yri'
 
   spec.add_dependency 'activemodel', '>= 5.2.0'
   spec.add_dependency 'net-hippie', '~> 0.2'