Sha256: 94a0145936ef0ea395cee7db7c1ba8fdc450da25581f6b6c73431ed88fe2bdcc

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

module SiteHook
  module ConfigSections
    class Projects
      def self.example
        [
            'projects:',
            '  PROJECT.NAME:',
            "    config: _config.yml",
            "    src: /path/2/site/source",
            "    dst: /path/2/destination/",
            "    host: git*.com",
            "    repo: USER/REPO",
            "    hookpass: SOMERANDOMSTRING",
            "    private: true/false"
        ]
      end
      def initialize(**answers)
        @answers = answers
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
site_hook-0.8.2 lib/site_hook/config_sections/projects.rb
site_hook-0.8.1 lib/site_hook/config_sections/projects.rb