Sha256: b734c111c397c26da2d7357b7bf20cc2e6918267c459d10c88c6c3330e0229cf
Contents?: true
Size: 558 Bytes
Versions: 10
Compression:
Stored size: 558 Bytes
Contents
class Jeweler class Generator module GithubMixin def self.extended(generator) generator.github_username = generator.options[:github_username] generator.should_create_remote_repo = generator.options[:create_repo] raise NoGitHubUser unless generator.github_username 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
10 entries across 10 versions & 1 rubygems