tmsapi 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. data/.project +1 -0
  2. data/Readme.md +38 -5
  3. data/lib/tmsapi/model/organization.rb +13 -0
  4. data/lib/tmsapi/model/program.rb +2 -0
  5. data/lib/tmsapi/model/sport_info.rb +11 -0
  6. data/lib/tmsapi/model/sport_organization.rb +11 -0
  7. data/lib/tmsapi/model/team.rb +10 -0
  8. data/lib/tmsapi/model/university.rb +12 -0
  9. data/lib/tmsapi/resource/sports.rb +94 -2
  10. data/lib/tmsapi/resource/stations.rb +1 -1
  11. data/lib/tmsapi/version.rb +1 -1
  12. data/spec/api_spec.rb +180 -0
  13. data/spec/factories.rb +4 -8
  14. data/spec/vcr/cassettes/TMSAPI_API/_sports/_details/should_find_details_and_organizations_for_all_sports.yml +222 -0
  15. data/spec/vcr/cassettes/TMSAPI_API/_sports/_event_airings/should_find_some_airings.yml +116 -0
  16. data/spec/vcr/cassettes/TMSAPI_API/_sports/_nonevent_airings/should_return_nonevent_airings.yml +3882 -0
  17. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_airings/should_return_airings.yml +142 -0
  18. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_a_string_param.yml +107 -0
  19. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_an_int_param.yml +107 -0
  20. data/spec/vcr/cassettes/TMSAPI_API/_sports/_team_airings/should_return_airings.yml +73 -0
  21. data/spec/vcr/cassettes/TMSAPI_API/_sports/_team_details/should_have_team_information.yml +71 -0
  22. data/spec/vcr/cassettes/TMSAPI_API/_sports/_universities/should_return_all_universities.yml +2431 -0
  23. data/spec/vcr/cassettes/TMSAPI_API/_sports/_university_teams/should_return_teams_for_this_university.yml +147 -0
  24. data/tmsapi.gemspec +1 -1
  25. metadata +57 -9
  26. checksums.yaml +0 -7
@@ -0,0 +1,147 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/universities/1?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&includeTeam=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDMubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxODo1MDoyNiBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
+ MS4xIHZhcm5pc2g=
53
+ !binary "eC12YXJ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OiIyMjEi
141
+ LCJwcmVmZXJyZWRJbWFnZSI6eyJ1cmkiOiJodHRwOi8vZGVtby50bXNpbWcu
142
+ Y29tL3Nwb3J0c2xvZ29zL2gzL0FsbFBob3Rvcy8xL3UxX2xfaDNfYWEucG5n
143
+ IiwiaGVpZ2h0IjoiMjcwIiwid2lkdGgiOiIzNjAiLCJwcmltYXJ5IjoidHJ1
144
+ ZSIsImNhdGVnb3J5IjoiTG9nbyJ9fV0=
145
+ http_version:
146
+ recorded_at: Fri, 03 Jan 2014 18:50:26 GMT
147
+ recorded_with: VCR 2.8.0
@@ -36,7 +36,7 @@ Gem::Specification.new do |gem|
36
36
 
37
37
  gem.add_development_dependency 'vcr', '~> 2.4'
38
38
  gem.add_development_dependency 'fakeweb', '~> 1.3.0'
39
- gem.add_development_dependency 'rake', '~> 10.1.0'
39
+ gem.add_development_dependency 'rake', '~> 10.1.1'
40
40
  gem.add_development_dependency 'coveralls', '~> 0.7.0'
41
41
  gem.add_development_dependency 'factory_girl', '~> 4.0'
42
42
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmsapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Justin DiPierro
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-12-23 00:00:00.000000000 Z
12
+ date: 2014-01-03 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: faraday
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: faraday_middleware
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: json
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rash
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: virtus
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: rspec
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -97,6 +110,7 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: vcr
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
115
  - - ~>
102
116
  - !ruby/object:Gem::Version
@@ -104,6 +118,7 @@ dependencies:
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
123
  - - ~>
109
124
  - !ruby/object:Gem::Version
@@ -111,6 +126,7 @@ dependencies:
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: fakeweb
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
131
  - - ~>
116
132
  - !ruby/object:Gem::Version
@@ -118,6 +134,7 @@ dependencies:
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
139
  - - ~>
123
140
  - !ruby/object:Gem::Version
@@ -125,20 +142,23 @@ dependencies:
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: rake
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
147
  - - ~>
130
148
  - !ruby/object:Gem::Version
131
- version: 10.1.0
149
+ version: 10.1.1
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
155
  - - ~>
137
156
  - !ruby/object:Gem::Version
138
- version: 10.1.0
157
+ version: 10.1.1
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: coveralls
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
163
  - - ~>
144
164
  - !ruby/object:Gem::Version
@@ -146,6 +166,7 @@ dependencies:
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
171
  - - ~>
151
172
  - !ruby/object:Gem::Version
@@ -153,6 +174,7 @@ dependencies:
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: factory_girl
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
179
  - - ~>
158
180
  - !ruby/object:Gem::Version
@@ -160,6 +182,7 @@ dependencies:
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
187
  - - ~>
165
188
  - !ruby/object:Gem::Version
@@ -192,6 +215,7 @@ files:
192
215
  - lib/tmsapi/model/image.rb
193
216
  - lib/tmsapi/model/lineup.rb
194
217
  - lib/tmsapi/model/movie.rb
218
+ - lib/tmsapi/model/organization.rb
195
219
  - lib/tmsapi/model/person.rb
196
220
  - lib/tmsapi/model/program.rb
197
221
  - lib/tmsapi/model/quality_rating.rb
@@ -199,10 +223,13 @@ files:
199
223
  - lib/tmsapi/model/recommendation.rb
200
224
  - lib/tmsapi/model/showtime.rb
201
225
  - lib/tmsapi/model/sport_event.rb
226
+ - lib/tmsapi/model/sport_info.rb
227
+ - lib/tmsapi/model/sport_organization.rb
202
228
  - lib/tmsapi/model/station.rb
203
229
  - lib/tmsapi/model/station_airings.rb
204
230
  - lib/tmsapi/model/team.rb
205
231
  - lib/tmsapi/model/theatre.rb
232
+ - lib/tmsapi/model/university.rb
206
233
  - lib/tmsapi/resource.rb
207
234
  - lib/tmsapi/resource/base.rb
208
235
  - lib/tmsapi/resource/lineups.rb
@@ -239,32 +266,43 @@ files:
239
266
  - spec/vcr/cassettes/TMSAPI_API/_series/_airings/should_list_airings.yml
240
267
  - spec/vcr/cassettes/TMSAPI_API/_series/_details/should_find_the_series.yml
241
268
  - spec/vcr/cassettes/TMSAPI_API/_series/_episodes/should_return_episodes.yml
269
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_details/should_find_details_and_organizations_for_all_sports.yml
270
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_event_airings/should_find_some_airings.yml
271
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_nonevent_airings/should_return_nonevent_airings.yml
272
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_airings/should_return_airings.yml
273
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_a_string_param.yml
274
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_an_int_param.yml
275
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_team_airings/should_return_airings.yml
276
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_team_details/should_have_team_information.yml
277
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_universities/should_return_all_universities.yml
278
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_university_teams/should_return_teams_for_this_university.yml
242
279
  - spec/vcr/cassettes/TMSAPI_API/_stations/_airings/should_list_airings.yml
243
280
  - spec/vcr/cassettes/TMSAPI_API/_stations/_details/should_get_station_details.yml
244
281
  - tmsapi.gemspec
245
282
  homepage: https://github.com/jdipierro/tmsapi
246
283
  licenses:
247
284
  - MIT
248
- metadata: {}
249
285
  post_install_message:
250
286
  rdoc_options: []
251
287
  require_paths:
252
288
  - lib
253
289
  required_ruby_version: !ruby/object:Gem::Requirement
290
+ none: false
254
291
  requirements:
255
- - - '>='
292
+ - - ! '>='
256
293
  - !ruby/object:Gem::Version
257
294
  version: '0'
258
295
  required_rubygems_version: !ruby/object:Gem::Requirement
296
+ none: false
259
297
  requirements:
260
- - - '>='
298
+ - - ! '>='
261
299
  - !ruby/object:Gem::Version
262
300
  version: '0'
263
301
  requirements: []
264
302
  rubyforge_project:
265
- rubygems_version: 2.0.14
303
+ rubygems_version: 1.8.28
266
304
  signing_key:
267
- specification_version: 4
305
+ specification_version: 3
268
306
  summary: This gem wraps the TMS API documented at https://developer.tmsapi.com
269
307
  test_files:
270
308
  - spec/api_spec.rb
@@ -292,5 +330,15 @@ test_files:
292
330
  - spec/vcr/cassettes/TMSAPI_API/_series/_airings/should_list_airings.yml
293
331
  - spec/vcr/cassettes/TMSAPI_API/_series/_details/should_find_the_series.yml
294
332
  - spec/vcr/cassettes/TMSAPI_API/_series/_episodes/should_return_episodes.yml
333
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_details/should_find_details_and_organizations_for_all_sports.yml
334
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_event_airings/should_find_some_airings.yml
335
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_nonevent_airings/should_return_nonevent_airings.yml
336
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_airings/should_return_airings.yml
337
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_a_string_param.yml
338
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_an_int_param.yml
339
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_team_airings/should_return_airings.yml
340
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_team_details/should_have_team_information.yml
341
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_universities/should_return_all_universities.yml
342
+ - spec/vcr/cassettes/TMSAPI_API/_sports/_university_teams/should_return_teams_for_this_university.yml
295
343
  - spec/vcr/cassettes/TMSAPI_API/_stations/_airings/should_list_airings.yml
296
344
  - spec/vcr/cassettes/TMSAPI_API/_stations/_details/should_get_station_details.yml
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 9b01ee59db3a47937a63cea09c17aac262612367
4
- data.tar.gz: c1d6f43454a2b9cd2c0dbaef16a35c2412d2d457
5
- SHA512:
6
- metadata.gz: 25e7a6b9514b70c41326871cd990c11218543615d6ee340f18c99ab811b697e6ac637b0e176ae214784c54ba08247f93c57af7a4ad304900a6ad431b89da16a7
7
- data.tar.gz: e1b45b87d6c51b2b2263dcea420590a4ef64d310efa4f4b859840103d2481fe966247c9c8e3e5228511aff79241c2526779f810a299e0135cfb9acc7ed746de4