footstats 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/footstats/request/request_racing.rb +9 -0
- data/lib/footstats/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: 5aa1270d14239de6f0af51265b8f41d33e913d23
|
4
|
+
data.tar.gz: 3041542e8b8b89f14547a62bbad6898213fe1beb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e703a0fb283843fe84d2c34b4e31858373a4d42828a7192c8634e5d2d8d37279fa9ca45baa4157ef9d516a9660d1afc3f51fa96d4df27ccd91637c1ca9df7f4
|
7
|
+
data.tar.gz: 7b42d19f98bf1a80f8a04cffb852f9f726e20fba4c99e04181d5b564e4d6af12ddec27ed24b9e5ede12dcc74ba2a8427fc6ab85ccb6b53f5f793e5514647abb6
|
@@ -71,6 +71,15 @@ module Footstats
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
def self.championship_ranking(gp_id)
|
75
|
+
request("Campeonato/Classificacao").map do |championship|
|
76
|
+
championship[1].collect do |ranking_item|
|
77
|
+
ranking_item.merge!("Tipo" => fase[0])
|
78
|
+
|
79
|
+
Footstats::Api::Racing::Ranking.new(ranking_item)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
74
83
|
protected
|
75
84
|
def self.request(method, params = {})
|
76
85
|
super(method, API, params)
|
data/lib/footstats/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: footstats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paulo Patto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|