Module: Dropcaster
- Defined in:
- lib/dropcaster.rb,
lib/dropcaster/item.rb,
lib/dropcaster/errors.rb,
lib/dropcaster/channel.rb,
lib/dropcaster/version.rb,
lib/dropcaster/contributors.rb,
lib/dropcaster/log_formatter.rb,
lib/dropcaster/channel_file_locator.rb
Defined Under Namespace
Classes: AmbiguousSourcesError, Channel, ChannelFileLocator, ConfigurationError, Item, LogFormatter, MissingAttributeError, TemplateNotFoundError
Constant Summary collapse
- CHANNEL_YML =
'channel.yml'
- VERSION =
'0.0.7'
- @@logger =
Logger.new(STDERR)
Class Method Summary collapse
Class Method Details
.contributors ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/dropcaster/contributors.rb', line 4 def self.contributors cbtors = Octokit.contributors('nerab/dropcaster', true) cbtors.sort!{|x,y| y.contributions <=> x.contributions } cbtors.map!{|c| "* [#{Octokit.user(c.login).name}](#{c.html_url}) (#{c.contributions} contributions)"} cbtors.join("\n") end |