Sha256: 45e62382a06a2f2e916ee7a0c3815984e2efbb079f9c9bf3abc927bba1c1d618

Contents?: true

Size: 533 Bytes

Versions: 10

Compression:

Stored size: 533 Bytes

Contents

module Locomotive
  module Wagon
    module Generators
      module Site

        # Template used when the remote LocomotiveCMS site is cloned
        # in order to have the minimal files.
        class Cloned < Base

          argument :connection_info

          def copy_sources
            directory('.', self.destination, { recursive: true }, {
              name:     self.name,
              version:  Locomotive::Wagon::VERSION
            }.merge(self.connection_info))
          end

        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
locomotivecms_wagon-1.4.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.3.3 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.3.2 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.3.1 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.3.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.2.2 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.2.1 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.2.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.1.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.0.2 lib/locomotive/wagon/generators/site/cloned.rb