footstats 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7da40cbbc0ae585c61d324b78676e7d13d4427b2
4
- data.tar.gz: 6accce29d898a4830e15b7b0314c768ca963a571
3
+ metadata.gz: d7e9053e388b175dd088ef7024aae026abfcaffc
4
+ data.tar.gz: 78ac30f11f727d97885d24d702e997317060601e
5
5
  SHA512:
6
- metadata.gz: e48b263800b0b2fbc9cf29296d3fbef17ec34838a40b9737627937846ee67ffa2f1336a72b12d99c6d200ed1c266d62422168330860e0e55d9ec440908c9a0b7
7
- data.tar.gz: 97cdf8d61a375339cc3d13abe65cdd5db8f300db541019297e486e4952efe054bf869cb0cdb89cd9182ad464b33e7c21a3805809a3ffded0f4bd5f46bfe96825
6
+ metadata.gz: 227e4a6527fdfda521ceac5c10c019655b16d7672fb0d9aa3c5ab9654af0ab786aa387d4d3f90c82bda62f1b6f3b74e1d434da214013b23ce03461512a009c1f
7
+ data.tar.gz: e8a267060c89a4fd5b8ff1ee1d571417c0c67142bb6bd3cc4f8a638e910af7304fe96f4f73eb613f2700ddabba0eb851ffadc8c905b74c180f49b8a471e7017e
@@ -9,7 +9,7 @@ require 'footstats/api/racing'
9
9
  module Footstats
10
10
  module Request
11
11
  class RequestRacing < Base
12
- API = "http://apicorrida.footstats.com.br/api"
12
+ API = ENV['FOOTSTATS_ENDPOINT'] || "http://apicorrida.footstats.com.br/api"
13
13
 
14
14
  def self.drivers
15
15
  request("Piloto/ListaPilotos").map { |driver| Footstats::Api::Racing::Driver.new(driver) }
@@ -1,3 +1,3 @@
1
1
  module Footstats
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: footstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Patto