Sha256: 502b0f1bad774b4490b477b8835027685bacba0934210d98ca67e2756a621430
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
#!/usr/bin/env ruby require 'githubstats' contrib = GithubStats.new ARGV.first puts "Contribution data for #{contrib.user}: Today's score: #{contrib.today} Current streak: #{contrib.streak.length} Longest streak: #{contrib.longest_streak.length} High score: #{contrib.max.score} on #{contrib.max.date} Quartile boundaries: #{contrib.quartile_boundaries(github = false).inspect} Github-adjusted boundaries: #{contrib.quartile_boundaries(github = true).inspect}" # Uses https://github.com/holman/spark system('spark', *contrib.data.pop(60).map { |point| point.score.to_s })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
githubstats-0.1.7 | bin/githubstats |