Sha256: 365748ffadf119b2a1a2504e83dda0d23204c5fd45a464bd69578b2fcc1f8c33
Contents?: true
Size: 581 Bytes
Versions: 17
Compression:
Stored size: 581 Bytes
Contents
class Juwelier class Generator module GithubMixin def self.extended(generator) generator.github_username = generator.options[:github_username] generator.should_create_remote_repo = generator.options[:create_repo] unless generator.github_username raise NoGitHubUser end end def git_remote @git_remote ||= "git@github.com:#{github_username}/#{project_name}.git" end def homepage @homepage ||= "http://github.com/#{github_username}/#{project_name}" end end end end
Version data entries
17 entries across 17 versions & 1 rubygems