vapor 0.0.1 → 0.0.2

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 (38) hide show
  1. data/.gitignore +15 -19
  2. data/.rspec +2 -0
  3. data/.rvmrc +48 -0
  4. data/Gemfile +4 -0
  5. data/{LICENSE → LICENSE.txt} +4 -2
  6. data/README.md +29 -0
  7. data/Rakefile +1 -53
  8. data/lib/vapor.rb +12 -0
  9. data/lib/vapor/api.rb +44 -0
  10. data/lib/vapor/crawler.rb +17 -0
  11. data/lib/vapor/game.rb +15 -0
  12. data/lib/vapor/games_list.rb +20 -0
  13. data/lib/vapor/user.rb +40 -0
  14. data/lib/vapor/version.rb +3 -0
  15. data/spec/cassettes/Vapor_API/fetches_player_summaries_for_an_user.yml +87 -0
  16. data/spec/cassettes/Vapor_Crawler/_games_for/fetches_a_games_list_for_an_user.yml +1306 -0
  17. data/spec/cassettes/Vapor_Game/finds_the_correct_id.yml +1107 -0
  18. data/spec/cassettes/Vapor_Game/finds_the_correct_name.yml +1107 -0
  19. data/spec/cassettes/Vapor_Game/finds_the_correct_time_spent_in_hours.yml +1133 -0
  20. data/spec/cassettes/Vapor_GamesList/creates_game_objects.yml +1113 -0
  21. data/spec/cassettes/Vapor_GamesList/has_the_right_amount_of_games.yml +1107 -0
  22. data/spec/cassettes/Vapor_User/fetches_the_right_Steam_Id_using_the_users_webpage.yml +57 -0
  23. data/spec/cassettes/Vapor_User/games/fetches_the_right_amount_of_games.yml +1195 -0
  24. data/spec/cassettes/Vapor_User/profile_info/has_a_profile_url.yml +40 -0
  25. data/spec/cassettes/Vapor_User/raises_a_valid_error_when_Steam_API_is_not_available.yml +57 -0
  26. data/spec/spec_helper.rb +17 -0
  27. data/spec/vapor/api_spec.rb +13 -0
  28. data/spec/vapor/crawler_spec.rb +15 -0
  29. data/spec/vapor/game_spec.rb +19 -0
  30. data/spec/vapor/games_list_spec.rb +13 -0
  31. data/spec/vapor/user_spec.rb +26 -0
  32. data/vapor.gemspec +28 -0
  33. metadata +213 -62
  34. data/.document +0 -5
  35. data/README.rdoc +0 -17
  36. data/VERSION +0 -1
  37. data/test/helper.rb +0 -10
  38. data/test/test_vapor.rb +0 -7
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
@@ -1,17 +0,0 @@
1
- = vapor
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2010 Guillermo Iguaran. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.1
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'shoulda'
4
-
5
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
- $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'vapor'
8
-
9
- class Test::Unit::TestCase
10
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestVapor < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end