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 +4 -4
- data/lib/xmlstats/endpoints/nba_roster.rb +1 -1
- data/lib/xmlstats/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: 263f1b3a845493ed230644a7c7f0d0a3e5242399
|
4
|
+
data.tar.gz: 6ed9bbcd869414d9cad107ab508a4c4e3a5195c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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
|
data/lib/xmlstats/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|