lib/avrolution/compatibility_check.rb in avrolution-0.4.0 vs lib/avrolution/compatibility_check.rb in avrolution-0.4.1.rc0

- old
+ new

@@ -34,10 +34,13 @@ end private def check_schemas(path) - Dir[File.join(path, '**/*.avsc')].each do |schema_file| + vendor_bundle_path = File.join(path, 'vendor/bundle/') + Dir[File.join(path, '**/*.avsc')].reject do |file| + file.start_with?(vendor_bundle_path) + end.each do |schema_file| check_schema_compatibility(schema_file) end end def check_schema_compatibility(file)