Sha256: 084b1b69a26d1e9dd5c0f6c579fbdd0696499dcb57ea1e0ac4a72dce8fde4ffa

Contents?: true

Size: 595 Bytes

Versions: 14

Compression:

Stored size: 595 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

          def bundle_install
            super
          end

        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotivecms_wagon-1.5.8 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.7 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.6 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-2.0.0.pre.alpha.3 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-2.0.0.pre.alpha.2 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-2.0.0.pre.alpha.1 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-2.0.0.pre.alpha lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.5 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.4 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.3 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.2 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.1 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.0 lib/locomotive/wagon/generators/site/cloned.rb
locomotivecms_wagon-1.5.0.rc1 lib/locomotive/wagon/generators/site/cloned.rb