Sha256: 65d454cafa2b91bf84fa8ccbfac25f7c051a07ddd89e578d4b67d4d5efc04550

Contents?: true

Size: 1.08 KB

Versions: 16

Compression:

Stored size: 1.08 KB

Contents

<%= section_title.titleize unless section_title.nil? -%>
===========================================================

<% if data.is_a?(Array) then data = data[0] end -%>
<% arr = case section_title
    when 'deployment'
      [:date,:time,:rails_env,:task,:inferred_command,:host,:release_name]
    when 'source_control'
      [:scm,:released,:branch,:revision,:deploy_via,:deploy_to,:repository]
    when 'latest_release'
      [:latest_release,:latest_revision,:real_revision,:release_path,:current_path]
    when 'previous_release'
      [:current_release,:current_revision,:previous_release,:previous_revision,:releases]
    when 'other_deployment_info'
      [:ip_address,:run_method,:source,:strategy,:version_dir,:shared_dir,:current_dir,:releases_path,:shared_path]
    end -%>
<% if !arr.nil? && arr.is_a?(Array) %>
  <% arr.each do |key| -%>
    <% if key.is_a?(Symbol) && !data[key].nil?-%>
        <%= key.to_s.titleize %>                <%= data[key].is_a?(Array) ? data[key].to_sentence : data[key].is_a?(String) ? data[key] : data[key].inspect %>
    <% end -%>
  <% end -%>
<% end -%>

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
capistrano_mailer_railsless-3.2.11 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer_railsless-3.2.10 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer_railsless-3.2.9 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer_railsless-3.2.8 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer_railsless-3.2.7 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer_railsless-3.2.6 views/cap_railsless_mailer/_section.text.erb
capistrano_mailer-3.2.5 views/cap_mailer/_section.text.erb
capistrano_mailer-3.2.4 views/cap_mailer/_section.text.erb
capistrano_mailer-3.2.3 views/cap_mailer/_section.text.erb
capistrano_mailer-3.2.2 views/cap_mailer/_section.text.erb
capistrano_mailer-3.2.1 views/cap_mailer/_section.text.erb
textgoeshere-capistrano_mailer-3.2.0 views/cap_mailer/_section.text.erb
capistrano_mailer-3.1.10 views/cap_mailer/_section.text.erb
capistrano_mailer-3.1.9 views/cap_mailer/_section.text.erb
capistrano_mailer-3.1.8 views/cap_mailer/_section.text.erb
capistrano_mailer-3.1.7 views/cap_mailer/_section.text.erb