ruby-lol 0.9.18 → 0.9.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -0
  3. data/lib/lol/league.rb +2 -3
  4. data/lib/lol/league_entry.rb +1 -5
  5. data/lib/lol/league_request.rb +30 -23
  6. data/lib/lol/match_history_request.rb +10 -0
  7. data/lib/lol/match_request.rb +10 -0
  8. data/lib/lol/request.rb +4 -1
  9. data/lib/lol/team_request.rb +9 -6
  10. data/lib/lol/version.rb +1 -1
  11. data/spec/acceptance_spec.rb +53 -19
  12. data/spec/api_version_spec.rb +4 -2
  13. data/spec/fixtures/v2.4/get-team-by-id.json +1 -0
  14. data/spec/fixtures/v2.4/get-team.json +1 -0
  15. data/spec/fixtures/v2.5/get-league-by-team.json +1 -0
  16. data/spec/fixtures/v2.5/get-league-challenger.json +1 -0
  17. data/spec/fixtures/v2.5/get-league-entry-by-team.json +1 -0
  18. data/spec/fixtures/v2.5/get-league-entry.json +1 -0
  19. data/spec/fixtures/v2.5/get-league.json +1 -0
  20. data/spec/lol/champion_request_spec.rb +8 -11
  21. data/spec/lol/game_request_spec.rb +8 -9
  22. data/spec/lol/league_request_spec.rb +69 -6
  23. data/spec/lol/league_spec.rb +1 -1
  24. data/spec/lol/mastery_page_spec.rb +1 -1
  25. data/spec/lol/match_history_request_spec.rb +7 -0
  26. data/spec/lol/match_request_spec.rb +7 -0
  27. data/spec/lol/request_spec.rb +9 -9
  28. data/spec/lol/rune_page_spec.rb +1 -1
  29. data/spec/lol/static_request_spec.rb +16 -38
  30. data/spec/lol/stats_request_spec.rb +53 -39
  31. data/spec/lol/summoner_request_spec.rb +25 -37
  32. data/spec/lol/team_request_spec.rb +18 -28
  33. data/spec/spec_helper.rb +4 -38
  34. data/spec/support/helpers.rb +47 -0
  35. metadata +24 -30
  36. data/spec/fixtures/v1.1/get-champion.json +0 -1512
  37. data/spec/fixtures/v1.2/get-ranked_stats.json +0 -1448
  38. data/spec/fixtures/v1.2/get-stats.json +0 -115
  39. data/spec/fixtures/v1.3/get-summoner-by-name.json +0 -16
  40. data/spec/fixtures/v1.3/get-summoner-masteries.json +0 -2316
  41. data/spec/fixtures/v1.3/get-summoner-name.json +0 -4
  42. data/spec/fixtures/v1.3/get-summoner-runes.json +0 -6374
  43. data/spec/fixtures/v1.3/get-summoner.json +0 -16
  44. data/spec/fixtures/v2.2/get-team.json +0 -678
  45. data/spec/fixtures/v2.2/getbyid-team.json +0 -286
  46. data/spec/fixtures/v2.3/get-league.json +0 -1470
  47. data/spec/fixtures/v2.3/get-team.json +0 -1
  48. data/spec/fixtures/v2.3/getbyid-team.json +0 -1
  49. data/spec/fixtures/v2.4/get-league.json +0 -1

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.