Slide 32
Slide 32 text
Statistics
require 'octokit'
comments = [
"Can you please provide a sample application that reproduces the error?",
"The wiki is maintained by the community. So if there aren't any up to
date instructions, we recommend you to explore the solution yourself and hopefully
contribute your findings back!",
"Please use the mailing list or StackOverflow for questions",
"You need to give us more information on how to reproduce this issue,
otherwise there is nothing we can do. Please read CONTRIBUTING.md file for more
information about creating bug reports. Thanks!",
":heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:"
]
client = Octokit::Client.new(auto_traversal: true)
count = client.issues_comments('plataformatec/devise', sort: 'created',
direction: 'desc',
since:
'2012-11-13T07:45:54-08:00Z').select do |comment|
comment.user.login == 'josevalim' && comments.include?(comment.body)
end.count
p count
Saturday, February 23, 13