foot_stats 0.0.1

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 (40) hide show
  1. data/.gitignore +18 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +72 -0
  6. data/Rakefile +1 -0
  7. data/foot_stats.gemspec +26 -0
  8. data/lib/foot_stats/championship.rb +66 -0
  9. data/lib/foot_stats/championship_classification.rb +55 -0
  10. data/lib/foot_stats/error_response.rb +13 -0
  11. data/lib/foot_stats/match.rb +77 -0
  12. data/lib/foot_stats/narration.rb +69 -0
  13. data/lib/foot_stats/request.rb +58 -0
  14. data/lib/foot_stats/resource.rb +27 -0
  15. data/lib/foot_stats/response.rb +61 -0
  16. data/lib/foot_stats/setup.rb +27 -0
  17. data/lib/foot_stats/team.rb +37 -0
  18. data/lib/foot_stats/version.rb +3 -0
  19. data/lib/foot_stats.rb +14 -0
  20. data/spec/cassettes/championship.yml +62 -0
  21. data/spec/cassettes/championship_classification.yml +76 -0
  22. data/spec/cassettes/championship_classification_error_response.yml +63 -0
  23. data/spec/cassettes/championship_match.yml +82 -0
  24. data/spec/cassettes/championship_match_error_response.yml +63 -0
  25. data/spec/cassettes/championship_teams.yml +68 -0
  26. data/spec/cassettes/championship_teams_error_response.yml +63 -0
  27. data/spec/cassettes/error_response.yml +62 -0
  28. data/spec/cassettes/match_narration.yml +83 -0
  29. data/spec/cassettes/match_narration_error_response.yml +63 -0
  30. data/spec/cassettes/match_null_narration.yml +73 -0
  31. data/spec/foot_stats/championship_classification_spec.rb +53 -0
  32. data/spec/foot_stats/championship_spec.rb +77 -0
  33. data/spec/foot_stats/match_spec.rb +67 -0
  34. data/spec/foot_stats/narration_spec.rb +69 -0
  35. data/spec/foot_stats/request_spec.rb +43 -0
  36. data/spec/foot_stats/response_spec.rb +72 -0
  37. data/spec/foot_stats/setup_spec.rb +6 -0
  38. data/spec/foot_stats/team_spec.rb +38 -0
  39. data/spec/spec_helper.rb +15 -0
  40. metadata +184 -0
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: foot_stats
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tomas D'Stefano
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rest-client
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: vcr
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: fakeweb
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ description: FootStats API Client in Ruby.
95
+ email:
96
+ - tomas_stefano@successoft.com
97
+ executables: []
98
+ extensions: []
99
+ extra_rdoc_files: []
100
+ files:
101
+ - .gitignore
102
+ - .rspec
103
+ - Gemfile
104
+ - LICENSE.txt
105
+ - README.md
106
+ - Rakefile
107
+ - foot_stats.gemspec
108
+ - lib/foot_stats.rb
109
+ - lib/foot_stats/championship.rb
110
+ - lib/foot_stats/championship_classification.rb
111
+ - lib/foot_stats/error_response.rb
112
+ - lib/foot_stats/match.rb
113
+ - lib/foot_stats/narration.rb
114
+ - lib/foot_stats/request.rb
115
+ - lib/foot_stats/resource.rb
116
+ - lib/foot_stats/response.rb
117
+ - lib/foot_stats/setup.rb
118
+ - lib/foot_stats/team.rb
119
+ - lib/foot_stats/version.rb
120
+ - spec/cassettes/championship.yml
121
+ - spec/cassettes/championship_classification.yml
122
+ - spec/cassettes/championship_classification_error_response.yml
123
+ - spec/cassettes/championship_match.yml
124
+ - spec/cassettes/championship_match_error_response.yml
125
+ - spec/cassettes/championship_teams.yml
126
+ - spec/cassettes/championship_teams_error_response.yml
127
+ - spec/cassettes/error_response.yml
128
+ - spec/cassettes/match_narration.yml
129
+ - spec/cassettes/match_narration_error_response.yml
130
+ - spec/cassettes/match_null_narration.yml
131
+ - spec/foot_stats/championship_classification_spec.rb
132
+ - spec/foot_stats/championship_spec.rb
133
+ - spec/foot_stats/match_spec.rb
134
+ - spec/foot_stats/narration_spec.rb
135
+ - spec/foot_stats/request_spec.rb
136
+ - spec/foot_stats/response_spec.rb
137
+ - spec/foot_stats/setup_spec.rb
138
+ - spec/foot_stats/team_spec.rb
139
+ - spec/spec_helper.rb
140
+ homepage: https://github.com/tomas-stefano/foot_stats
141
+ licenses: []
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ requirements: []
159
+ rubyforge_project:
160
+ rubygems_version: 1.8.24
161
+ signing_key:
162
+ specification_version: 3
163
+ summary: FootStats API Client.
164
+ test_files:
165
+ - spec/cassettes/championship.yml
166
+ - spec/cassettes/championship_classification.yml
167
+ - spec/cassettes/championship_classification_error_response.yml
168
+ - spec/cassettes/championship_match.yml
169
+ - spec/cassettes/championship_match_error_response.yml
170
+ - spec/cassettes/championship_teams.yml
171
+ - spec/cassettes/championship_teams_error_response.yml
172
+ - spec/cassettes/error_response.yml
173
+ - spec/cassettes/match_narration.yml
174
+ - spec/cassettes/match_narration_error_response.yml
175
+ - spec/cassettes/match_null_narration.yml
176
+ - spec/foot_stats/championship_classification_spec.rb
177
+ - spec/foot_stats/championship_spec.rb
178
+ - spec/foot_stats/match_spec.rb
179
+ - spec/foot_stats/narration_spec.rb
180
+ - spec/foot_stats/request_spec.rb
181
+ - spec/foot_stats/response_spec.rb
182
+ - spec/foot_stats/setup_spec.rb
183
+ - spec/foot_stats/team_spec.rb
184
+ - spec/spec_helper.rb