lateral_recommender 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +27 -0
  3. data/.gitignore +2 -1
  4. data/.rubocop.yml +21 -0
  5. data/.travis.yml +1 -1
  6. data/README.md +33 -44
  7. data/lateral_recommender.gemspec +8 -10
  8. data/lib/lateral_recommender/version.rb +1 -1
  9. data/lib/lateral_recommender.rb +21 -113
  10. data/spec/fixtures/tapes/add.yml +19 -15
  11. data/spec/fixtures/tapes/invalid_key.yml +21 -19
  12. data/spec/fixtures/tapes/recommend_by_id.yml +40 -0
  13. data/spec/fixtures/tapes/recommend_by_id_arxiv.yml +201 -0
  14. data/spec/fixtures/tapes/recommend_by_id_news.yml +379 -0
  15. data/spec/fixtures/tapes/recommend_by_id_sec.yml +12392 -0
  16. data/spec/fixtures/tapes/recommend_by_id_wikipedia.yml +125 -0
  17. data/spec/fixtures/tapes/recommend_by_text.yml +40 -0
  18. data/spec/fixtures/tapes/recommend_by_text_arxiv.yml +236 -0
  19. data/spec/fixtures/tapes/recommend_by_text_news.yml +294 -0
  20. data/spec/fixtures/tapes/recommend_by_text_pubmed.yml +251 -0
  21. data/spec/fixtures/tapes/recommend_by_text_sec.yml +11469 -0
  22. data/spec/fixtures/tapes/recommend_by_text_wikipedia.yml +118 -0
  23. data/spec/lateral_recommender_spec.rb +67 -101
  24. metadata +89 -78
  25. data/spec/fixtures/tapes/add_user.yml +0 -56
  26. data/spec/fixtures/tapes/add_user_document.yml +0 -879
  27. data/spec/fixtures/tapes/near_id.yml +0 -47
  28. data/spec/fixtures/tapes/near_id_arxiv.yml +0 -68
  29. data/spec/fixtures/tapes/near_text.yml +0 -47
  30. data/spec/fixtures/tapes/near_text_arxiv.yml +0 -91
  31. data/spec/fixtures/tapes/near_text_movies.yml +0 -1262
  32. data/spec/fixtures/tapes/near_text_news.yml +0 -400
  33. data/spec/fixtures/tapes/near_text_pubmed.yml +0 -70
  34. data/spec/fixtures/tapes/near_text_wikipedia.yml +0 -55
  35. data/spec/fixtures/tapes/near_user.yml +0 -56
  36. data/spec/fixtures/tapes/near_user_arxiv.yml +0 -152
  37. data/spec/fixtures/tapes/near_user_movies.yml +0 -1262
  38. data/spec/fixtures/tapes/near_user_news.yml +0 -400
  39. data/spec/fixtures/tapes/near_user_pubmed.yml +0 -116
  40. data/spec/fixtures/tapes/near_user_wikipedia.yml +0 -88

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.