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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 954fd2edd2c5a3c044225a1755471c34de3b2395
4
- data.tar.gz: e13c12a5db4512e0b9dc6fdbf10a4d236a30e538
3
+ metadata.gz: 950ca23ee680e052af8c177ce726371c9ed6fa5d
4
+ data.tar.gz: 4299718e4fd282c10918d5ed13778714a52dfbb0
5
5
  SHA512:
6
- metadata.gz: d30395209e91064172cb269bf7c7f5ecd84a254ef7d9b9c4e53dfaf4575b103f6051332310245141e7636aab9be50a6465e31d11064b92c788ec064cfa2297d7
7
- data.tar.gz: 4445a58e4e91e1a0cc5578eb90fa7d428080526ff4821d2f31743d34e2a78873f719023f5a9de7195d139105e5dd10a70e1c5dfc90419736ee2a546f9b10c1f9
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
@@ -30,4 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "minitest"
31
31
  spec.add_development_dependency "webmock"
32
32
  spec.add_development_dependency "pry"
33
+ spec.add_development_dependency "codeclimate-test-reporter"
33
34
  end
@@ -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: :baseball,
35
+ SPORT: sport,
36
36
  response_format: response_format
37
37
  }
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module CBSSports
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-10 00:00:00.000000000 Z
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