Sha256: 479d1e65e0dc4d3acff002af284ed7aea2bcdcc7f8fdc9ad0eea59b37a60ca4d

Contents?: true

Size: 852 Bytes

Versions: 4

Compression:

Stored size: 852 Bytes

Contents

# frozen_string_literal: true

require "neeto_compliance/sync_neeto_commons/sync_bin"
require "neeto_compliance/sync_neeto_commons/sync_formatters"
require "neeto_compliance/sync_neeto_commons/sync_husky"
require "neeto_compliance/sync_neeto_commons/sync_misc"
require "neeto_compliance/sync_neeto_commons/sync_test_support"
require "neeto_compliance/neeto_commons"

module NeetoCompliance
  class SyncNeetoCommons
    def self.neeto_commons_url
      NeetoCompliance::NeetoCommons.path.join "common_files/"
    end

    def process
      sync_with_neeto_commons
    end

    private

      def sync_with_neeto_commons
        syncers = [
          SyncBin,
          SyncFormatters,
          SyncHusky,
          SyncMisc,
          SyncTestSupport
        ]

        syncers.each do |syncer|
          syncer.process
        end
      end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
neeto-compliance-1.0.58 lib/neeto_compliance/sync_neeto_commons.rb
neetob-0.1.2 neeto_compliance/lib/neeto_compliance/sync_neeto_commons.rb
neetob-0.1.1 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons.rb
neetob-0.1.0 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons.rb