Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Everything is working.

  • Loading branch information...
commit 88570dd5591ab546ff01f9210febe044819a97e1 1 parent 405dc18
@gabebw authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 lib/gitsucker/author.rb
  2. +1 −1  spec/gitsucker/author_spec.rb
View
4 lib/gitsucker/author.rb
@@ -16,6 +16,10 @@ def original_repo_count
github_profile.original_repo_count
end
+ def public_repo_count
+ github_profile.public_repo_count
+ end
+
def forked_repo_count
github_profile.forked_repo_count
end
View
2  spec/gitsucker/author_spec.rb
@@ -27,7 +27,7 @@
end
end
-%w(original_repo_count forked_repo_count js_repo_count ruby_repo_count).each do |method_name|
+%w(public_repo_count forked_repo_count js_repo_count ruby_repo_count original_repo_count).each do |method_name|
describe Gitsucker::Author, "##{method_name}" do
it 'delegates to the github profile' do
author = Gitsucker::Author.new('name')
Please sign in to comment.
Something went wrong with that request. Please try again.