jtv 0.0.3 → 1.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/LICENSE +2 -2
- data/README.md +44 -92
- data/jtv.gemspec +10 -5
- data/lib/jtv.rb +12 -49
- data/lib/jtv/client.rb +44 -0
- data/lib/jtv/configuration.rb +9 -0
- data/lib/jtv/defaults.rb +23 -0
- data/lib/jtv/stream.rb +18 -0
- data/lib/jtv/version.rb +1 -1
- data/spec/features/stream_spec.rb +33 -0
- data/spec/jtv/client_spec.rb +28 -0
- data/spec/jtv/configuration_spec.rb +16 -0
- data/spec/jtv/defaults_spec.rb +25 -0
- data/spec/jtv/stream_spec.rb +29 -0
- data/spec/jtv_spec.rb +20 -23
- data/spec/vcr_cassettes/Jtv_Stream.yml +81 -0
- data/spec/vcr_cassettes/Jtv_Stream/_list.yml +408 -0
- data/spec/vcr_cassettes/Jtv_Stream/_search.yml +156 -0
- data/spec/vcr_cassettes/Jtv_Stream/_summary.yml +81 -0
- data/spec/vcr_config.rb +11 -0
- metadata +107 -33
- data/lib/jtv/jtv_channel.rb +0 -40
- data/lib/jtv/jtv_clip.rb +0 -28
- data/lib/jtv/jtv_search.rb +0 -34
- data/spec/jtv/jtv_channel_spec.rb +0 -23
- data/spec/jtv/jtv_clip_spec.rb +0 -20
- data/spec/jtv/jtv_search_spec.rb +0 -25
@@ -0,0 +1,156 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.justin.tv/stream/search/league%20of%20legends.json?limit=10
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- application/json
|
12
|
+
user-agent:
|
13
|
+
- Jtv Gem
|
14
|
+
authorization:
|
15
|
+
- OAuth oauth_nonce="82140c558228099fa451273b1df6f853", oauth_signature="I5I9HZ375XgNWNMVjvny3v7o6o8%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1358401234", oauth_version="1.0"
|
17
|
+
accept-encoding:
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: !binary |-
|
23
|
+
T0s=
|
24
|
+
headers:
|
25
|
+
!binary "c2VydmVy":
|
26
|
+
- !binary |-
|
27
|
+
bmdpbng=
|
28
|
+
!binary "ZGF0ZQ==":
|
29
|
+
- !binary |-
|
30
|
+
VGh1LCAxNyBKYW4gMjAxMyAwNTo0MDozNSBHTVQ=
|
31
|
+
!binary "Y29udGVudC10eXBl":
|
32
|
+
- !binary |-
|
33
|
+
YXBwbGljYXRpb24vanNvbg==
|
34
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
35
|
+
- !binary |-
|
36
|
+
Y2h1bmtlZA==
|
37
|
+
!binary "Y29ubmVjdGlvbg==":
|
38
|
+
- !binary |-
|
39
|
+
Y2xvc2U=
|
40
|
+
!binary "c3RhdHVz":
|
41
|
+
- !binary |-
|
42
|
+
MjAwIE9L
|
43
|
+
!binary "dmlh":
|
44
|
+
- !binary |-
|
45
|
+
VHdpY2UgMC4yIHR3aWNlODozMzU2
|
46
|
+
!binary "eC1ydW50aW1l":
|
47
|
+
- !binary |-
|
48
|
+
MC42MTQ1NDg=
|
49
|
+
!binary "eC1nZW8=":
|
50
|
+
- !binary |-
|
51
|
+
VVM=
|
52
|
+
!binary "eC1yZXF1ZXN0LWlk":
|
53
|
+
- !binary |-
|
54
|
+
OGU3NDcxYmFjY2UxN2MwOWFiMWIyYTE2MzVlNmI3ZWQ=
|
55
|
+
!binary "ZXRhZw==":
|
56
|
+
- !binary |-
|
57
|
+
IjAwNGQ0MDJlZTRlYTk5YWE0MmY1NTU0NmY5NDE4OTM2Ig==
|
58
|
+
!binary "eC11YS1jb21wYXRpYmxl":
|
59
|
+
- !binary |-
|
60
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
61
|
+
!binary "Y2FjaGUtY29udHJvbA==":
|
62
|
+
- !binary |-
|
63
|
+
bXVzdC1yZXZhbGlkYXRlLCBwcml2YXRlLCBtYXgtYWdlPTA=
|
64
|
+
!binary "eC1yYWNrLWNhY2hl":
|
65
|
+
- !binary |-
|
66
|
+
bWlzcw==
|
67
|
+
!binary "ZnJvbnQtZW5kLWh0dHBz":
|
68
|
+
- !binary |-
|
69
|
+
b2Zm
|
70
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
71
|
+
- !binary |-
|
72
|
+
Z3ppcA==
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: !binary |-
|
76
|
+
H4sIAAAAAAAAA+2cCW/byBXHv8pEBRbtxpY4w1vY3cCJvUm3TrKwvbso6kIY
|
77
|
+
kSOZMUUKPGQ7Rfez9w0PkRRJcyRRcQ1YiBRLIuf4z/XTe2/mX/8ZhFHA6GJi
|
78
|
+
+bEXDcbEVLWjgUcXbDAeuM6KTeKQBZPlDfUif+FKgT04GrDFlNn5HYYhHQ1m
|
79
|
+
frCgcHtyC1xhwfUec/NrNFPF8CGN2NwPHuCyOV043hwujJzI5Vn9mmZwDhmg
|
80
|
+
Y/RXLBnSEo2Qos6W4d/Qh9MizcEYymwFjHkTiy4nceBOwgV1XUjkJoqW49Eo
|
81
|
+
jGjkWMeW7Q2/RCvvbuixaLQM2Mphd+GosVLHunSvysMvS16mjdQXzHbixX7J
|
82
|
+
Y1W6xzjPwKXePKZzXm/mlUT4sqrqHMbTQjMvdt1mDdPmYB6duswejKMgZkeD
|
83
|
+
ZeDbscWC/D0XJQ7FlIamjAMo3Yy6ISQVOQv21fd4cX+7HP1KLWfmWFDsRM+8
|
84
|
+
iQeKRlRTNuFzZwF1Sxomcjze2o+1C7RQ1sUci+cajkoaHEMtZo7LJkmSx8TS
|
85
|
+
FdvGFmamjRVDOgZVVWm4THqSA1WXdV0CqY2ii9q81AgeP/jTL8yKUPSwZD9e
|
86
|
+
D+hy6Togru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148
|
+
VVbzQKC1ebRgomoracHBt++YB7Gl/MiTqlXI0HpwyBUCVQGLSPZ0CqfdYlnW
|
149
|
+
LNg13QBYWJIl+P65A9ZagRfCKghrLcrTI1bRQ/tlLOGe3y9kCWe7PWWVJ689
|
150
|
+
MUu4lN+Ws4pidYNWsxq7kZawHDugFo/C6XLNGQYeSnI9pirxcfS8k5EHuut6
|
151
|
+
WxxVcopWK2W1b2MkGE6+HSstx469efMGKrIOA+vvSNv22Kl//w80wmFKg2AA
|
152
|
+
AA==
|
153
|
+
http_version: !binary |-
|
154
|
+
MS4x
|
155
|
+
recorded_at: Thu, 17 Jan 2013 05:40:35 GMT
|
156
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.justin.tv/stream/summary?channel=wingsofdeath
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- application/json
|
12
|
+
user-agent:
|
13
|
+
- Jtv Gem
|
14
|
+
authorization:
|
15
|
+
- OAuth oauth_nonce="ae43109b690d2a5b645a8d4893af919c", oauth_signature="BRkYUrdFelmk9JqzmmKeUBuCByc%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1358401033", oauth_version="1.0"
|
17
|
+
accept-encoding:
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: !binary |-
|
23
|
+
T0s=
|
24
|
+
headers:
|
25
|
+
!binary "c2VydmVy":
|
26
|
+
- !binary |-
|
27
|
+
bmdpbng=
|
28
|
+
!binary "ZGF0ZQ==":
|
29
|
+
- !binary |-
|
30
|
+
VGh1LCAxNyBKYW4gMjAxMyAwNTozNzoxNCBHTVQ=
|
31
|
+
!binary "Y29udGVudC10eXBl":
|
32
|
+
- !binary |-
|
33
|
+
YXBwbGljYXRpb24vanNvbg==
|
34
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
35
|
+
- !binary |-
|
36
|
+
Y2h1bmtlZA==
|
37
|
+
!binary "Y29ubmVjdGlvbg==":
|
38
|
+
- !binary |-
|
39
|
+
Y2xvc2U=
|
40
|
+
!binary "c3RhdHVz":
|
41
|
+
- !binary |-
|
42
|
+
MjAwIE9L
|
43
|
+
!binary "dmlh":
|
44
|
+
- !binary |-
|
45
|
+
VHdpY2UgMC4yIHR3aWNlMzozMzYw
|
46
|
+
!binary "eC1yZXF1ZXN0LWlk":
|
47
|
+
- !binary |-
|
48
|
+
MGFkNWUxY2Y1MDRlY2U2M2FhMTM1OTIwMzkyNGJhNWY=
|
49
|
+
!binary "eC1nZW8=":
|
50
|
+
- !binary |-
|
51
|
+
VVM=
|
52
|
+
!binary "ZXRhZw==":
|
53
|
+
- !binary |-
|
54
|
+
IjA3Yjc3ZmU1MGI4NzdiMGI1MTNjYzExMmE0YzhlZGNiIg==
|
55
|
+
!binary "eC11YS1jb21wYXRpYmxl":
|
56
|
+
- !binary |-
|
57
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
58
|
+
!binary "Y2FjaGUtY29udHJvbA==":
|
59
|
+
- !binary |-
|
60
|
+
bXVzdC1yZXZhbGlkYXRlLCBwcml2YXRlLCBtYXgtYWdlPTA=
|
61
|
+
!binary "eC1yYWNrLWNhY2hl":
|
62
|
+
- !binary |-
|
63
|
+
bWlzcw==
|
64
|
+
!binary "eC1ydW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4wMDgxMDE=
|
67
|
+
!binary "ZnJvbnQtZW5kLWh0dHBz":
|
68
|
+
- !binary |-
|
69
|
+
b2Zm
|
70
|
+
!binary "Y29udGVudC1lbmNvZGluZw==":
|
71
|
+
- !binary |-
|
72
|
+
Z3ppcA==
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: !binary |-
|
76
|
+
H4sIAAAAAAAAA6tWSixLLUpMT41PyiwpSixJVbIy0FEqLilKTcwtjk/OL80r
|
77
|
+
UbIy1FEqy0wtTy2CiygZmhiamyrVAgB6OGUxPwAAAA==
|
78
|
+
http_version: !binary |-
|
79
|
+
MS4x
|
80
|
+
recorded_at: Thu, 17 Jan 2013 05:37:14 GMT
|
81
|
+
recorded_with: VCR 2.4.0
|
data/spec/vcr_config.rb
ADDED
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jtv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0.alpha1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- David Ratajczak
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,63 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
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: vcr
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
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: fakeweb
|
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: faraday
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
25
78
|
- !ruby/object:Gem::Dependency
|
26
79
|
name: json
|
27
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
28
81
|
none: false
|
29
82
|
requirements:
|
30
83
|
- - ! '>='
|
@@ -32,10 +85,15 @@ dependencies:
|
|
32
85
|
version: '0'
|
33
86
|
type: :runtime
|
34
87
|
prerelease: false
|
35
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
36
94
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
requirement:
|
95
|
+
name: simple_oauth
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
39
97
|
none: false
|
40
98
|
requirements:
|
41
99
|
- - ! '>='
|
@@ -43,8 +101,13 @@ dependencies:
|
|
43
101
|
version: '0'
|
44
102
|
type: :runtime
|
45
103
|
prerelease: false
|
46
|
-
version_requirements:
|
47
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: Ruby wrapper for the Justin.tv and Twitch.tv API
|
48
111
|
email:
|
49
112
|
- david@mockra.com
|
50
113
|
executables: []
|
@@ -60,17 +123,26 @@ files:
|
|
60
123
|
- Rakefile
|
61
124
|
- jtv.gemspec
|
62
125
|
- lib/jtv.rb
|
63
|
-
- lib/jtv/
|
64
|
-
- lib/jtv/
|
65
|
-
- lib/jtv/
|
126
|
+
- lib/jtv/client.rb
|
127
|
+
- lib/jtv/configuration.rb
|
128
|
+
- lib/jtv/defaults.rb
|
129
|
+
- lib/jtv/stream.rb
|
66
130
|
- lib/jtv/version.rb
|
67
|
-
- spec/
|
68
|
-
- spec/jtv/
|
69
|
-
- spec/jtv/
|
131
|
+
- spec/features/stream_spec.rb
|
132
|
+
- spec/jtv/client_spec.rb
|
133
|
+
- spec/jtv/configuration_spec.rb
|
134
|
+
- spec/jtv/defaults_spec.rb
|
135
|
+
- spec/jtv/stream_spec.rb
|
70
136
|
- spec/jtv_spec.rb
|
71
137
|
- spec/spec_helper.rb
|
72
|
-
|
73
|
-
|
138
|
+
- spec/vcr_cassettes/Jtv_Stream.yml
|
139
|
+
- spec/vcr_cassettes/Jtv_Stream/_list.yml
|
140
|
+
- spec/vcr_cassettes/Jtv_Stream/_search.yml
|
141
|
+
- spec/vcr_cassettes/Jtv_Stream/_summary.yml
|
142
|
+
- spec/vcr_config.rb
|
143
|
+
homepage: http://mockra.com
|
144
|
+
licenses:
|
145
|
+
- MIT
|
74
146
|
post_install_message:
|
75
147
|
rdoc_options: []
|
76
148
|
require_paths:
|
@@ -81,27 +153,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
153
|
- - ! '>='
|
82
154
|
- !ruby/object:Gem::Version
|
83
155
|
version: '0'
|
84
|
-
segments:
|
85
|
-
- 0
|
86
|
-
hash: -1700366459635922060
|
87
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
157
|
none: false
|
89
158
|
requirements:
|
90
|
-
- - ! '
|
159
|
+
- - ! '>'
|
91
160
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
93
|
-
segments:
|
94
|
-
- 0
|
95
|
-
hash: -1700366459635922060
|
161
|
+
version: 1.3.1
|
96
162
|
requirements: []
|
97
163
|
rubyforge_project:
|
98
|
-
rubygems_version: 1.8.
|
164
|
+
rubygems_version: 1.8.23
|
99
165
|
signing_key:
|
100
166
|
specification_version: 3
|
101
|
-
summary:
|
167
|
+
summary: Justin.tv and Twitch.tv API library
|
102
168
|
test_files:
|
103
|
-
- spec/
|
104
|
-
- spec/jtv/
|
105
|
-
- spec/jtv/
|
169
|
+
- spec/features/stream_spec.rb
|
170
|
+
- spec/jtv/client_spec.rb
|
171
|
+
- spec/jtv/configuration_spec.rb
|
172
|
+
- spec/jtv/defaults_spec.rb
|
173
|
+
- spec/jtv/stream_spec.rb
|
106
174
|
- spec/jtv_spec.rb
|
107
175
|
- spec/spec_helper.rb
|
176
|
+
- spec/vcr_cassettes/Jtv_Stream.yml
|
177
|
+
- spec/vcr_cassettes/Jtv_Stream/_list.yml
|
178
|
+
- spec/vcr_cassettes/Jtv_Stream/_search.yml
|
179
|
+
- spec/vcr_cassettes/Jtv_Stream/_summary.yml
|
180
|
+
- spec/vcr_config.rb
|
181
|
+
has_rdoc:
|