Sha256: 0fbdc6f035502b89a2ab9978c5eae73045a4232f2d94a79654cdce04e1e40005
Contents?: true
Size: 292 Bytes
Versions: 2
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true module Avrolution class DiscoverSchemas def self.discover(path) vendor_bundle_path = File.join(path, 'vendor/bundle/') Dir[File.join(path, '**/*.avsc')].reject do |file| file.start_with?(vendor_bundle_path) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
avrolution-0.9.0 | lib/avrolution/discover_schemas.rb |
avrolution-0.8.0 | lib/avrolution/discover_schemas.rb |