Sha256: ed53bca6f8ffcf5dbee529e60f8bb8492dc7773c70577399b01c838cdeb2eb05

Contents?: true

Size: 498 Bytes

Versions: 22

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

require_relative '../../migration/version'

module Dsu
  module Presenters
    module Import
      module ImportEntry
        def overriding_project?
          options&.fetch(:override, false)
        end

        private

        def import_entry?(entry_group_entry)
          entry_group_entry[:version].to_i == Dsu::Migration::VERSION &&
            (overriding_project? || entry_group_entry[:project_name] == project_name)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
dsu-3.0.5 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.4 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.3 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.1 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.beta.3 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.beta.2 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.beta.1 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.beta.0 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.12 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.11 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.10 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.9 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.8 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.7 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.6 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.5 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.4 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.3 lib/dsu/presenters/import/import_entry.rb
dsu-3.0.0.alpha.2 lib/dsu/presenters/import/import_entry.rb