footstats 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 863a18a4f8db935ac7a2e214a49751b2b5b1d3cb
4
+ data.tar.gz: e4ed3b9a978a20c9146d6d7d00f296668fe088d2
5
+ SHA512:
6
+ metadata.gz: 802212e8e0e3d85bb327a1e5f58cb526df4ab046d00178ad2b5f3b377bf1d6328481d783c3875dbae219a8aa23738137121528dcb64d6d256751cbd1d61ef1ed
7
+ data.tar.gz: 9369004ce3fc11d809408a53ed2f9ce3508d613c098e0e9d3ab95fe618c94a8aac22caf4c3fabdebc6c52d0868d2633e6d86ec4f0a55c81e579e0b61b4f732fb
@@ -0,0 +1 @@
1
+ service_name: travis-ci
@@ -0,0 +1,18 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ .*.sw?
16
+ .ruby-version
17
+ .rbenv-gemsets
18
+ .rvmrc
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.1.1
7
+ - 2.1.2
8
+ - 2.1.5
9
+ - jruby
10
+ - ruby-head
11
+
12
+ script: "bundle exec rspec spec/"
13
+
14
+ notifications:
15
+ - paulopatto@gmail.com
16
+
17
+ addons:
18
+ code_climate:
19
+ repo_token:
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in footstats.gemspec
4
+ gemspec
5
+
6
+ gem "codeclimate-test-reporter", group: :test, require: nil
7
+ gem 'coveralls', require: false, group: :test
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Paulo Patto
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,46 @@
1
+ # Footstats (not ready for use)
2
+ [![Build Status](https://travis-ci.org/paulopatto/footstats.svg?branch=master)](https://travis-ci.org/paulopatto/footstats)
3
+ [![Code Climate](https://codeclimate.com/github/paulopatto/footstats/badges/gpa.svg)](https://codeclimate.com/github/paulopatto/footstats)
4
+ [![Coverage Status](https://coveralls.io/repos/paulopatto/footstats/badge.svg)](https://coveralls.io/r/paulopatto/footstats)
5
+
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'footstats'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install footstats
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+
28
+ ```ruby
29
+ require 'footstats'
30
+
31
+ client = Footstats.new
32
+ @drivers = client.racing.drivers
33
+
34
+ racing_client = Footstats::Api::Racing.new
35
+ @drivers = racing_client.drivers
36
+
37
+ @drivers.to_json
38
+ ```
39
+
40
+ ## Contributing
41
+
42
+ 1. Fork it ( https://github.com/[my-github-username]/footstats/fork )
43
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
44
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
45
+ 4. Push to the branch (`git push origin my-new-feature`)
46
+ 5. Create a new Pull Request
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'footstats/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "footstats"
8
+ spec.version = Footstats::VERSION
9
+ spec.authors = ["Paulo Patto"]
10
+ spec.email = ["paulopatto@gmail.com"]
11
+ spec.summary = %q{Gem para acessar a api do footstats.}
12
+ spec.description = %q{Gem não oficial para acessar a api do serviço footstats.}
13
+ spec.homepage = "https://github.com/paulopatto/footstats"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 1.9.3"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0")
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "json"
23
+ spec.add_dependency "httparty"
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.7"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", " ~> 3.1"
28
+ spec.add_development_dependency "simplecov"
29
+ spec.add_development_dependency "pry-nav"
30
+ end
@@ -0,0 +1,21 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ Bundler.setup :default
4
+
5
+ require 'footstats/version'
6
+ require 'footstats/client'
7
+ require 'footstats/resource'
8
+ require 'footstats/request/base'
9
+ require 'footstats/request/request_racing'
10
+
11
+ module Footstats
12
+ class << self
13
+ def included(base)
14
+ base.extend ClassMethods
15
+ end
16
+
17
+ def new
18
+ Client.new
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,25 @@
1
+ require 'footstats/request/request_racing'
2
+
3
+ module Footstats
4
+ module Api
5
+ module Racing
6
+ class << self
7
+ def new
8
+ @request = Footstats::Request::RequestRacing
9
+ end
10
+
11
+ def drivers
12
+ @request.drivers
13
+ end
14
+
15
+ def teams
16
+ @request.teams
17
+ end
18
+
19
+ def gps
20
+ @request.gps
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,6 @@
1
+ require 'footstats/resource'
2
+
3
+ class Footstats::Api::Racing::Championship < Footstats::Resource
4
+ field :drivers, :Pilotos
5
+ field :teams, :Escuderias
6
+ end
@@ -0,0 +1,23 @@
1
+ require 'footstats/resource'
2
+
3
+ module Footstats
4
+ module Api
5
+ module Racing
6
+ class Driver < Footstats::Resource
7
+ field :id, :Id
8
+ field :name, :Nome
9
+ field :brith, :Nascimento
10
+ field :points, :PontosConquistados
11
+ field :podiums, :Podios
12
+ field :first_gp, :PrimeiroGP
13
+ field :nickname, :Apelido
14
+ field :brith_place, :PaisOrigem
15
+ field :nationality, :Nacionalidade
16
+ field :fastest_laps, :VoltasRapidas
17
+ field :word_championships, :Titulos
18
+ field :highest_grid_position, :Vitorias
19
+ field :highest_race_position, :PolesPositions
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,22 @@
1
+ require 'footstats/resource'
2
+ module Footstats
3
+ module Api
4
+ module Racing
5
+ class GP < Footstats::Resource
6
+ field :id, :Id
7
+ field :track_name, :AutodromoName
8
+ field :track_nickname, :AutodromoApelido
9
+ field :distance, :DisatnciaPista
10
+ field :location, :Local
11
+ field :brazilian_time, :DataHoraBrasil
12
+ field :local_time, :DataHoraLocal
13
+ field :laps, :QtdVoltas
14
+ field :status, :Status
15
+ field :atual_lap, :VoltaAtual
16
+ field :active, :Ativo
17
+ field :city, :Cidade
18
+ field :country, :Pais
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,9 @@
1
+ require 'footstats/resource'
2
+
3
+ class Footstats::Api::Racing::Narration < Footstats::Resource
4
+ field :id, :Id
5
+ field :status, :status
6
+ field :current_lap, :VoltaAtual
7
+ field :datetime, :DataHora
8
+ field :comment, :Comentario
9
+ end
@@ -0,0 +1,11 @@
1
+ require 'footstats/resource'
2
+
3
+ class Footstats::Api::Racing::Ranking < Footstats::Resource
4
+ field :position, :Posicao
5
+ field :driver_id, :IdPiloto
6
+ field :driver_name, :NomePiloto
7
+ field :best_lap, :MelhorVolta
8
+ field :team, :Escuderia
9
+ field :acronym, :Sigla
10
+ field :type, :Tipo
11
+ end
@@ -0,0 +1,9 @@
1
+ require 'footstats/resource'
2
+
3
+ class Footstats::Api::Racing::Team < Footstats::Resource
4
+ field :id, :Id
5
+ field :name, :Nome
6
+ field :nickname, :Apelido
7
+ field :site, :Site
8
+ field :country, :SiglaPais
9
+ end
@@ -0,0 +1,17 @@
1
+ require 'footstats/request/auth'
2
+
3
+ module Footstats
4
+ class Client
5
+ attr :auth
6
+
7
+ def racing
8
+ require 'footstats/api/racing'
9
+ Footstats::Api::Racing.new
10
+ end
11
+
12
+ def soccer
13
+ require 'footstats/api/soccer'
14
+ Footstats::Api::Racing.new
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,13 @@
1
+ module Footstats
2
+ module Request
3
+ class Auth
4
+ attr :user,
5
+ :password,
6
+ :token
7
+
8
+ def initialize(options = {})
9
+ @token = options[:token]
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,16 @@
1
+ require 'httparty'
2
+
3
+ module Footstats
4
+ module Request
5
+ class Base
6
+ include HTTParty
7
+
8
+ protected
9
+ def self.request( method = "", api = "", params={} )
10
+ params.merge!({ token: ENV['FOOTSTATS_TOKEN'] })
11
+
12
+ JSON.parse(get("#{api}/#{method}", { query: params }).body)
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,80 @@
1
+ require 'footstats/request/base'
2
+ require 'footstats/api/racing/gp.rb'
3
+ require 'footstats/api/racing/narration.rb'
4
+ require 'footstats/api/racing/ranking.rb'
5
+ require 'footstats/api/racing/team.rb'
6
+ require 'footstats/api/racing/driver.rb'
7
+ require 'footstats/api/racing'
8
+
9
+ module Footstats
10
+ module Request
11
+ class RequestRacing < Base
12
+ API = "http://apicorrida.footstats.com.br/api"
13
+
14
+ def self.drivers
15
+ request("Piloto/ListaPilotos").map { |driver| Footstats::Api::Racing::Driver.new(driver) }
16
+ end
17
+
18
+ def self.teams
19
+ request("Escuderia/ListaEscuderias").map { |team| Footstats::Api::Racing::Team.new(team) }
20
+ end
21
+
22
+ def self.gps
23
+ request("GP/Calendario").map { |gp| Footstats::Api::Racing::GP.new(gp) }
24
+ end
25
+
26
+ # Retorna uma lista com os comentários sobre o GP.
27
+ # :offset (MaxId) é o Id do comentário, quando um valor é passado ele
28
+ # só retorna os comentários posteriores.
29
+ # Quando o valor passado for 0 ele retorna todos os comentários do GP.
30
+ #
31
+ # Latência de chamada:
32
+ # --------------------
33
+ # 1 Minuto enquanto o status do GP for:
34
+ #
35
+ # - Treino Livre 1
36
+ # - Treino Livre 2
37
+ # - Treino Livre 3
38
+ # - Q1
39
+ # - Q2
40
+ # - Q3
41
+ # - Corrida
42
+ def self.narration(gp_id, offset = 0)
43
+ request("GP/Narracao", {idGP: gp_id, MaxId: offset}).map do |narration|
44
+ Footstats::Api::Racing::Narration.new(narration)
45
+ end
46
+ end
47
+
48
+ # Lista as classificações dos
49
+ # - Treinos Livres
50
+ # - Qualify
51
+ # - Corrida
52
+ #
53
+ # Latência de chamada:
54
+ # --------------------
55
+ # 1 Minuto enquanto o status do GP for
56
+ #
57
+ # - Treino Livre 1
58
+ # - Treino Livre 2
59
+ # - Treino Livre 3
60
+ # - Q1
61
+ # - Q2
62
+ # - Q3
63
+ # - Corrida
64
+ def self.rankings(gp_id)
65
+ request("GP/ClassificacaoGP", {idGP: gp_id}).map do |fase|
66
+ fase[1].collect do |ranking_item|
67
+ ranking_item.merge!("Tipo" => fase[0])
68
+
69
+ Footstats::Api::Racing::Ranking.new(ranking_item)
70
+ end
71
+ end
72
+ end
73
+
74
+ protected
75
+ def self.request(method, params = {})
76
+ super(method, API, params)
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,34 @@
1
+ require 'ostruct'
2
+
3
+ module Footstats
4
+ class Resource
5
+ def initialize(attributes={})
6
+ attributes.each do |attr_name, value|
7
+ if self.class.fields.include? attr_name.to_sym
8
+ send("#{self.class.fields[attr_name.to_sym]}=", value)
9
+ end
10
+ end
11
+ end
12
+
13
+ def self.fields
14
+ @fields ||= {}
15
+ end
16
+
17
+ def self.field(internal_key, external_key)
18
+ attr_accessor internal_key
19
+ fields[external_key] = internal_key unless fields.include? external_key
20
+ end
21
+
22
+ def to_hash
23
+ hash = Hash.new
24
+ self.class.fields.values.collect do |key|
25
+ hash[key] = self.send(key)
26
+ end
27
+ hash
28
+ end
29
+
30
+ def to_json(*params)
31
+ self.to_hash.to_json
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ module Footstats
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,18 @@
1
+ require 'spec_helper'
2
+
3
+ describe Footstats::Client do
4
+ describe "#initialize" do
5
+
6
+ let(:token) { "abcd1234"}
7
+
8
+ subject { described_class.new( {token: token} ) }
9
+
10
+ it '' do
11
+ expect(subject.auth).to_not be_nil
12
+ end
13
+
14
+ it '' do
15
+ expect(subject.auth.token).to eq(token)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,38 @@
1
+ require 'spec_helper'
2
+
3
+ describe Footstats::Resource do
4
+ subject { described_class }
5
+
6
+ describe ".field" do
7
+ before do
8
+ subject.field(:test, 'Test')
9
+ end
10
+
11
+ it "adds given attribute a reader" do
12
+ expect(described_class.new).to be_respond_to :test
13
+ end
14
+
15
+ it "adds given attribute a writer" do
16
+ expect(described_class.new).to be_respond_to :test=
17
+ end
18
+ end
19
+
20
+ describe ".new" do
21
+ context "when sends pt-br attributes" do
22
+ let(:name) { "Bruce Wayne" }
23
+ let(:resource) { subject.new({"Nome" => name}) }
24
+
25
+ before do
26
+ subject.field :name, :Nome
27
+ end
28
+
29
+ it "transforms hash key Name in attr name" do
30
+ expect(resource).to be_respond_to :name
31
+ end
32
+
33
+ it "puts value of key Name in attr name" do
34
+ expect(resource.name).to eq name
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,27 @@
1
+ require 'spec_helper'
2
+ require 'footstats/api/racing/driver'
3
+
4
+ describe Footstats::Api::Racing::Driver do
5
+ subject { described_class }
6
+
7
+ describe ".new" do
8
+ let (:attributes) do
9
+ {
10
+ Nome: "Lewis Hamilton",
11
+ Nascimento: "08/03/1987",
12
+ Vitorias: "38"
13
+ }
14
+ end
15
+
16
+ let(:driver) { subject.new(attributes) }
17
+
18
+ it "sets correct name attribute" do
19
+ expect(driver.name).to_not be_nil
20
+ expect(driver.name).to eq("Lewis Hamilton")
21
+ end
22
+
23
+ it "doesn't set incorrect attr" do
24
+ expect(driver).to_not be_respond_to(:Nome)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Footstats::Request::RequestRacing do
4
+ describe ".drivers" do
5
+ subject { described_class.drivers }
6
+
7
+ it "list all drivers as collection :array" do
8
+ expect(subject).to be_kind_of(Array)
9
+ end
10
+
11
+ it "list all drivers as collection Array<Driver>" do
12
+ expect(subject.first).to be_kind_of(Footstats::Racing::Driver)
13
+ end
14
+ end
15
+
16
+ describe ".teams" do
17
+ subject { described_class.teams }
18
+
19
+ it "list all teams as collection Array<Team>" do
20
+ expect(subject.first).to be_kind_of(Footstats::Racing::Team)
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ Bundler.setup(:default, :test)
4
+
5
+ # require 'codeclimate-test-reporter'
6
+ # require 'coveralls'
7
+ # Coveralls.wear!
8
+
9
+ require 'footstats'
10
+
11
+ # CodeClimate::TestReporter.start
12
+
13
+ RSpec.configure do |config|
14
+ config.color = true
15
+ config.default_formatter = 'doc'
16
+ config.order = :rand
17
+ end
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: footstats
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Paulo Patto
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: json
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: httparty
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-nav
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Gem não oficial para acessar a api do serviço footstats.
112
+ email:
113
+ - paulopatto@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".coveralls.yml"
119
+ - ".gitignore"
120
+ - ".travis.yml"
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - footstats.gemspec
126
+ - lib/footstats.rb
127
+ - lib/footstats/api/racing.rb
128
+ - lib/footstats/api/racing/championship.rb
129
+ - lib/footstats/api/racing/driver.rb
130
+ - lib/footstats/api/racing/gp.rb
131
+ - lib/footstats/api/racing/narration.rb
132
+ - lib/footstats/api/racing/ranking.rb
133
+ - lib/footstats/api/racing/team.rb
134
+ - lib/footstats/client.rb
135
+ - lib/footstats/request/auth.rb
136
+ - lib/footstats/request/base.rb
137
+ - lib/footstats/request/request_racing.rb
138
+ - lib/footstats/resource.rb
139
+ - lib/footstats/version.rb
140
+ - spec/footstats/client_spec.rb
141
+ - spec/footstats/resource_spec.rb
142
+ - spec/racing/driver_spec.rb
143
+ - spec/request/request_racing_spec.rb
144
+ - spec/spec_helper.rb
145
+ homepage: https://github.com/paulopatto/footstats
146
+ licenses:
147
+ - MIT
148
+ metadata: {}
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: 1.9.3
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.2.2
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: Gem para acessar a api do footstats.
169
+ test_files:
170
+ - spec/footstats/client_spec.rb
171
+ - spec/footstats/resource_spec.rb
172
+ - spec/racing/driver_spec.rb
173
+ - spec/request/request_racing_spec.rb
174
+ - spec/spec_helper.rb