Sha256: 68bfba8a8a3c0db804516e5557947aa989a65f47f27e5028f142308a846e6c5f

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

module LicenseFinder
  module BundleSyncer
    extend self

    def sync!
      source_dependencies = Bundle.new.gems.map(&:to_dependency)
      target_dependencies = Dependency.all.select {|d| d.source == "bundle" }
      SourceSyncer.new(source_dependencies, target_dependencies).sync!
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license_finder-0.7.3 lib/license_finder/bundle_syncer.rb
license_finder-0.7.1 lib/license_finder/bundle_syncer.rb
license_finder-0.7.0 lib/license_finder/bundle_syncer.rb