cbs_sports 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/cbs_sports.gemspec +1 -0
- data/lib/cbs_sports/client.rb +2 -2
- data/lib/cbs_sports/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 950ca23ee680e052af8c177ce726371c9ed6fa5d
|
4
|
+
data.tar.gz: 4299718e4fd282c10918d5ed13778714a52dfbb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85f3827054021d3bb485a71ace9dce7b4f2cdd2e8a41c59ea03bf7da441345328e517f4806a13cf06b6fd1dfdc6565fa91e5dbbac7cfcfb6cab028eaf13dee02
|
7
|
+
data.tar.gz: d58c6628138be410a02f29980287354d34692aa8638b541a34c5809827f301ba2e76d7c8adbe56f307199dd90e2d963e54e0c5e097b23f51de3607231a12e85a
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# CBSSports
|
2
2
|
[![Circle CI](https://circleci.com/gh/mikeastock/cbs_sports/tree/master.svg?style=svg)](https://circleci.com/gh/mikeastock/cbs_sports/tree/master)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/mikeastock/cbs_sports/badges/gpa.svg)](https://codeclimate.com/github/mikeastock/cbs_sports)
|
4
|
+
[![Test Coverage](https://codeclimate.com/github/mikeastock/cbs_sports/badges/coverage.svg)](https://codeclimate.com/github/mikeastock/cbs_sports/coverage)
|
3
5
|
|
4
6
|
This gem is a Ruby wrapper around the CBSSports API
|
5
7
|
|
data/cbs_sports.gemspec
CHANGED
data/lib/cbs_sports/client.rb
CHANGED
@@ -6,7 +6,7 @@ module CBSSports
|
|
6
6
|
class Client
|
7
7
|
include CBSSports::Client::Players
|
8
8
|
|
9
|
-
attr_reader :response_format
|
9
|
+
attr_reader :response_format, :sport
|
10
10
|
|
11
11
|
def initialize(response_format: :json, sport:)
|
12
12
|
@response_format = response_format
|
@@ -32,7 +32,7 @@ module CBSSports
|
|
32
32
|
def default_options
|
33
33
|
{
|
34
34
|
version: 3.0,
|
35
|
-
SPORT:
|
35
|
+
SPORT: sport,
|
36
36
|
response_format: response_format
|
37
37
|
}
|
38
38
|
end
|
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.3
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: codeclimate-test-reporter
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
description: This gem is a Ruby wrapper around the CBSSports API
|
154
168
|
email:
|
155
169
|
- mikeastock@gmail.com
|