bnet_scraper 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +51 -31
- data/bnet_scraper.gemspec +3 -1
- data/fixtures/vcr_cassettes/demon_achievements.yml +246 -0
- data/fixtures/vcr_cassettes/demon_leagues.yml +359 -0
- data/fixtures/vcr_cassettes/demon_match_history.yml +241 -0
- data/fixtures/vcr_cassettes/demon_matches.yml +240 -0
- data/fixtures/vcr_cassettes/demon_profile.yml +1428 -0
- data/fixtures/vcr_cassettes/demon_profile_leagues.yml +1291 -0
- data/fixtures/vcr_cassettes/full_demon_scrape.yml +5449 -0
- data/fixtures/vcr_cassettes/invalid_achievement.yml +199 -0
- data/fixtures/vcr_cassettes/invalid_leagues.yml +199 -0
- data/fixtures/vcr_cassettes/invalid_matches.yml +199 -0
- data/fixtures/vcr_cassettes/invalid_profile.yml +199 -0
- data/fixtures/vcr_cassettes/new_league.yml +595 -0
- data/fixtures/vcr_cassettes/profile_invalid.yml +199 -0
- data/fixtures/vcr_cassettes/profile_not_laddered.yml +443 -0
- data/fixtures/vcr_cassettes/realm_status.yml +578 -0
- data/lib/bnet_scraper/starcraft2.rb +7 -8
- data/lib/bnet_scraper/starcraft2/achievement_scraper.rb +5 -5
- data/lib/bnet_scraper/starcraft2/league.rb +54 -0
- data/lib/bnet_scraper/starcraft2/league_scraper.rb +3 -1
- data/lib/bnet_scraper/starcraft2/match.rb +15 -0
- data/lib/bnet_scraper/starcraft2/match_history_scraper.rb +9 -18
- data/lib/bnet_scraper/starcraft2/profile.rb +45 -0
- data/lib/bnet_scraper/starcraft2/profile_scraper.rb +68 -44
- data/spec/spec_helper.rb +14 -0
- data/spec/starcraft2/achievement_scraper_spec.rb +67 -83
- data/spec/starcraft2/league_scraper_spec.rb +25 -59
- data/spec/starcraft2/league_spec.rb +43 -0
- data/spec/starcraft2/match_history_scraper_spec.rb +19 -39
- data/spec/starcraft2/profile_scraper_spec.rb +36 -141
- data/spec/starcraft2/profile_spec.rb +46 -0
- data/spec/starcraft2/status_scraper_spec.rb +12 -5
- data/spec/starcraft2_spec.rb +19 -36
- data/spec/support/shared/sc2_scraper.rb +28 -13
- metadata +57 -42
- data/spec/support/achievements.html +0 -1156
- data/spec/support/failure.html +0 -565
- data/spec/support/initial_league.html +0 -1082
- data/spec/support/initial_leagues.html +0 -3598
- data/spec/support/league.html +0 -8310
- data/spec/support/leagues.html +0 -3810
- data/spec/support/load_fakeweb.rb +0 -42
- data/spec/support/matches.html +0 -1228
- data/spec/support/no_ladder.html +0 -967
- data/spec/support/no_ladder_leagues.html +0 -664
- data/spec/support/profile.html +0 -1074
- data/spec/support/status.html +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.