cbs_sports 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cbs_sports/client.rb +3 -3
- data/lib/cbs_sports/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3c65473cca427ce1c3abbedd2c62a518de22e1c
|
4
|
+
data.tar.gz: e4314b1696989894159ebbf05552a97dc3743e77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f3bee6a603027257b54a70fdf640815d16467eed57674cef276887109ef1585bf4cfd9b18c995407e8e1a3c67b8af2a3aca5774f3052160c451a9b2b510c457
|
7
|
+
data.tar.gz: 75dc166b30fd93410192c988be574c9ab07679518cfa8c0c078286976a0cd4643b21d28d555dd05a17a93219bb1b385f485575aa304d597f6746ac90fc203795
|
data/lib/cbs_sports/client.rb
CHANGED
@@ -19,13 +19,13 @@ module CBSSports
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def build_response(response)
|
22
|
-
if json?
|
22
|
+
if json?
|
23
23
|
JSON.parse(response.body, object_class: Hashie::Mash)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
def json?
|
28
|
-
|
27
|
+
def json?
|
28
|
+
response_format == :json
|
29
29
|
end
|
30
30
|
|
31
31
|
def default_options
|
data/lib/cbs_sports/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cbs_sports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Stock
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|