Sha256: 9df49690f95008d36bc2e8ed5e809b0e1192a0c01585f1a4cddb277b21a485b6

Contents?: true

Size: 537 Bytes

Versions: 26

Compression:

Stored size: 537 Bytes

Contents

module Writefully::Workers::Helpers::Handyman
  module Builder
    extend ActiveSupport::Concern

    def complete_site_setup repo, hook
      site_repository = { name: repo.name, id: repo.id, hook_id: hook.id }
      site.update_attributes(repository: site_repository, processing: false, healthy: true)
    end

    def initialize_sample_content
      added_sample_content = @initializer.add_sample_content
      created_directory    = @initializer.build_content_folder

      [added_sample_content, created_directory]
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
writefully-0.8.2 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.8.1 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.8.0 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.7.1 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.12 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.11 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.10 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.9 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.7 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.6 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.5 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.4 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.3 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.6.2 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.5.1 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.5.0 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.4.10 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.4.8 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.4.7 lib/writefully/workers/helpers/handyman/builder.rb
writefully-0.4.6 lib/writefully/workers/helpers/handyman/builder.rb