├── .gitignore ├── Gemfile ├── README.rdoc ├── lib ├── pilha.rb └── pilha │ └── stack_overflow │ ├── answer.rb │ ├── badge.rb │ ├── base.rb │ ├── comment.rb │ ├── question.rb │ ├── statistics.rb │ ├── tag.rb │ └── user.rb ├── pilha.gemspec └── spec ├── fixtures ├── all_tags.json ├── all_tags.json.gz ├── answer_by_id.json ├── answer_by_id.json.gz ├── answer_by_id_with_body.json ├── answer_by_id_with_body.json.gz ├── answer_comments.json ├── answer_with_comments.json ├── answer_with_comments.json.gz ├── answers_by_question_id.json ├── answers_by_question_id.json.gz ├── badges.json ├── badges.json.gz ├── badges_by_id.json ├── badges_by_id.json.gz ├── badges_by_id_page2.json ├── badges_by_id_page2.json.gz ├── badges_name.json ├── badges_name.json.gz ├── badges_tag_based.json ├── badges_tag_based.json.gz ├── comments.json ├── comments.json.gz ├── comments_by_mentioned_user_id.json ├── comments_by_mentioned_user_id.json.gz ├── comments_by_question_id.json ├── comments_by_question_id.json.gz ├── comments_by_user_id.json ├── comments_by_user_id.json.gz ├── comments_by_user_id_to_mentioned_user_id.json.gz ├── comments_by_user_to_mentioned_user.json ├── comments_by_user_to_mentioned_user.json.gz ├── comments_by_user_to_mentioned_user_id.json.gz ├── favorite_questions_by_user_id.json ├── favorite_questions_by_user_id.json.gz ├── question_by_id.json ├── question_by_id.json.gz ├── question_by_id_with_body.json ├── question_by_id_with_body.json.gz ├── question_by_user_id.json.gz ├── questions.json ├── questions.json.gz ├── questions_by_user_id.json ├── questions_by_user_id.json.gz ├── questions_tagged_gwt_and_googleappengine.json ├── questions_tagged_gwt_and_googleappengine.json.gz ├── questions_tagged_ruby.json ├── questions_tagged_ruby.json.gz ├── questions_unanswered.json ├── questions_unanswered.json.gz ├── stats.json ├── stats.json.gz ├── tags_by_user_id.json ├── tags_by_user_id.json.gz ├── user_tags.json ├── users.json ├── users_answers.json ├── users_answers.json.gz ├── users_by_id.json └── users_by_id.json.gz ├── pilha └── stack_overflow │ ├── answer_spec.rb │ ├── badge_spec.rb │ ├── base_spec.rb │ ├── comment_spec.rb │ ├── question_spec.rb │ ├── stack_overflow_spec.rb │ ├── statistics_spec.rb │ ├── tag_spec.rb │ └── user_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | coverage 3 | Gemfile.lock 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/Gemfile -------------------------------------------------------------------------------- /README.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/README.rdoc -------------------------------------------------------------------------------- /lib/pilha.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/answer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/answer.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/badge.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/badge.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/base.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/comment.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/question.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/question.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/statistics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/statistics.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/tag.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/tag.rb -------------------------------------------------------------------------------- /lib/pilha/stack_overflow/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/lib/pilha/stack_overflow/user.rb -------------------------------------------------------------------------------- /pilha.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/pilha.gemspec -------------------------------------------------------------------------------- /spec/fixtures/all_tags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/all_tags.json -------------------------------------------------------------------------------- /spec/fixtures/all_tags.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/all_tags.json.gz -------------------------------------------------------------------------------- /spec/fixtures/answer_by_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_by_id.json -------------------------------------------------------------------------------- /spec/fixtures/answer_by_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_by_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/answer_by_id_with_body.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_by_id_with_body.json -------------------------------------------------------------------------------- /spec/fixtures/answer_by_id_with_body.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_by_id_with_body.json.gz -------------------------------------------------------------------------------- /spec/fixtures/answer_comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_comments.json -------------------------------------------------------------------------------- /spec/fixtures/answer_with_comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_with_comments.json -------------------------------------------------------------------------------- /spec/fixtures/answer_with_comments.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answer_with_comments.json.gz -------------------------------------------------------------------------------- /spec/fixtures/answers_by_question_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answers_by_question_id.json -------------------------------------------------------------------------------- /spec/fixtures/answers_by_question_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/answers_by_question_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/badges.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges.json -------------------------------------------------------------------------------- /spec/fixtures/badges.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges.json.gz -------------------------------------------------------------------------------- /spec/fixtures/badges_by_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_by_id.json -------------------------------------------------------------------------------- /spec/fixtures/badges_by_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_by_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/badges_by_id_page2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_by_id_page2.json -------------------------------------------------------------------------------- /spec/fixtures/badges_by_id_page2.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_by_id_page2.json.gz -------------------------------------------------------------------------------- /spec/fixtures/badges_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_name.json -------------------------------------------------------------------------------- /spec/fixtures/badges_name.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_name.json.gz -------------------------------------------------------------------------------- /spec/fixtures/badges_tag_based.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_tag_based.json -------------------------------------------------------------------------------- /spec/fixtures/badges_tag_based.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/badges_tag_based.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments.json -------------------------------------------------------------------------------- /spec/fixtures/comments.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_mentioned_user_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_mentioned_user_id.json -------------------------------------------------------------------------------- /spec/fixtures/comments_by_mentioned_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_mentioned_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_question_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_question_id.json -------------------------------------------------------------------------------- /spec/fixtures/comments_by_question_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_question_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_id.json -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_id_to_mentioned_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_id_to_mentioned_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_to_mentioned_user.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_to_mentioned_user.json -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_to_mentioned_user.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_to_mentioned_user.json.gz -------------------------------------------------------------------------------- /spec/fixtures/comments_by_user_to_mentioned_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/comments_by_user_to_mentioned_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/favorite_questions_by_user_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/favorite_questions_by_user_id.json -------------------------------------------------------------------------------- /spec/fixtures/favorite_questions_by_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/favorite_questions_by_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/question_by_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/question_by_id.json -------------------------------------------------------------------------------- /spec/fixtures/question_by_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/question_by_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/question_by_id_with_body.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/question_by_id_with_body.json -------------------------------------------------------------------------------- /spec/fixtures/question_by_id_with_body.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/question_by_id_with_body.json.gz -------------------------------------------------------------------------------- /spec/fixtures/question_by_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/question_by_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/questions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions.json -------------------------------------------------------------------------------- /spec/fixtures/questions.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions.json.gz -------------------------------------------------------------------------------- /spec/fixtures/questions_by_user_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_by_user_id.json -------------------------------------------------------------------------------- /spec/fixtures/questions_by_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_by_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/questions_tagged_gwt_and_googleappengine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_tagged_gwt_and_googleappengine.json -------------------------------------------------------------------------------- /spec/fixtures/questions_tagged_gwt_and_googleappengine.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_tagged_gwt_and_googleappengine.json.gz -------------------------------------------------------------------------------- /spec/fixtures/questions_tagged_ruby.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_tagged_ruby.json -------------------------------------------------------------------------------- /spec/fixtures/questions_tagged_ruby.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_tagged_ruby.json.gz -------------------------------------------------------------------------------- /spec/fixtures/questions_unanswered.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_unanswered.json -------------------------------------------------------------------------------- /spec/fixtures/questions_unanswered.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/questions_unanswered.json.gz -------------------------------------------------------------------------------- /spec/fixtures/stats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/stats.json -------------------------------------------------------------------------------- /spec/fixtures/stats.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/stats.json.gz -------------------------------------------------------------------------------- /spec/fixtures/tags_by_user_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/tags_by_user_id.json -------------------------------------------------------------------------------- /spec/fixtures/tags_by_user_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/tags_by_user_id.json.gz -------------------------------------------------------------------------------- /spec/fixtures/user_tags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/user_tags.json -------------------------------------------------------------------------------- /spec/fixtures/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/users.json -------------------------------------------------------------------------------- /spec/fixtures/users_answers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/users_answers.json -------------------------------------------------------------------------------- /spec/fixtures/users_answers.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/users_answers.json.gz -------------------------------------------------------------------------------- /spec/fixtures/users_by_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/users_by_id.json -------------------------------------------------------------------------------- /spec/fixtures/users_by_id.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/fixtures/users_by_id.json.gz -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/answer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/answer_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/badge_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/badge_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/base_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/comment_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/comment_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/question_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/question_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/stack_overflow_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/stack_overflow_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/statistics_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/statistics_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/tag_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/tag_spec.rb -------------------------------------------------------------------------------- /spec/pilha/stack_overflow/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/pilha/stack_overflow/user_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlt/pilha/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------