Sha256: c4db61873660a9c349d529a232f1fc11d8fbf0279b022229e785f9724559f8ef

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 Bytes

Contents

module Gypsum

  module Templates

    class Default < Gypsum::TemplateRunner

      # Descriptions
      desc "Runs the default gypsum 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

2 entries across 2 versions & 1 rubygems

Version Path
gypsum-0.9.1 templates/default/default.rb
gypsum-0.9.0 templates/default/default.rb