Sha256: 5d83430c914bce8d21b3981a783ee91c8993fd69eb4637391424928a41575127

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

module Shinkansen

  module Templates

    class Default < Shinkansen::TemplateRunner

      # Descriptions
      desc "Runs the default shinkansen Rails 3.1 stack task"

      # The method to run when the template is invoked
      def on_invocation

        # Dup our options so we can modify them
        opts = options.dup

      end

      private

      def git_user_name
        `git config --global user.name`.chomp.gsub('"', '\"') || "We Are Titans"
      end

      def git_user_email
        `git config --global user.email`.chomp || "team@wearetitans.net"
      end

      def user_password
        'asdoajsndokasodnaosdjn'
      end

    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shinkansen-0.1 templates/default/default.rb