xmlstats 1.5.0 → 1.6.0

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: 16e0a06c391faa97124db7596ea774b197f20fb8
4
- data.tar.gz: ea2a8dbca069123f9abf3fe72d2b42dae2189399
3
+ metadata.gz: 263f1b3a845493ed230644a7c7f0d0a3e5242399
4
+ data.tar.gz: 6ed9bbcd869414d9cad107ab508a4c4e3a5195c6
5
5
  SHA512:
6
- metadata.gz: 990af66a2f5000db70ccf5b51a34093e53e9df7ebb8a3734bd45b98876e09de8003366c56b0557646d045d59d2ceb1a0d77befdfa1b971ba864d3de168e62cb7
7
- data.tar.gz: c2169a29ffd8830e3e00b7c39b199c0e084e5db182e7fc365efd1556188f50036863cb24e50a06cafecfa0312c1421f003d3193d13782b3081d0d4e6f593c9f0
6
+ metadata.gz: 13f3de3dcbae29d1ba75d4d694b915b896e0973ac0ec72d5f943ce3d15404bc384fa264ce9c08f22999c512a8d71e1350525a530aad179eade25d096327e4b2c
7
+ data.tar.gz: 2c21397d46de4c7d00e346b3ad1d34fb85a9e1b4200c40d9b4f0d9a525108089e3fc8abbd23177a18dd51842573373e6f86babb2a4c10692f2554961ac0a2f77
@@ -4,7 +4,7 @@ class Xmlstats::Endpoints::NbaRoster
4
4
 
5
5
  def self.fetch(team_id = nil)
6
6
  raise "please specify team_id as detailed in https://erikberg.com/api/issues/135" unless team_id
7
- response = fetch_json("nba/team/#{team_id}/roster")
7
+ response = fetch_json("nba/roster/#{team_id}")
8
8
  [ response ].flatten.map do |result|
9
9
  Xmlstats::Objects::Player.new result["player"]
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Xmlstats
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmlstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex McHale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2013-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler