sportradar-api 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sportradar/api/version.rb +1 -1
- data/lib/sportradar/api.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5f42d83eacff90ed56c31c549c276a6836e9876e0703e3ea4864bea23b9ae43
|
4
|
+
data.tar.gz: 56ad3cde33943d0fe4155c9dd44f757b4d98577912c4f5cecf0f3f644723f0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e987eb4aea1b86d63026fff8873d4cf016a49bcde7c009653279bbdb9a5ed9ef6d2756a9848e914d5cb59208f5fcaec947c3f13a8431af1b3a4f82e404ad47b
|
7
|
+
data.tar.gz: a07583a6397240bffc8fbd8c4f02d5cecd38d2c95da30a117a336fe2c83ef8b9e3e96467fa94dd9cabda6f0ee569f4ae9466cf4615a59a1f9806565d16b9e4a1
|
data/Gemfile.lock
CHANGED
data/lib/sportradar/api.rb
CHANGED
@@ -85,7 +85,9 @@ module Sportradar
|
|
85
85
|
def self.api_key(api, access_level = 'trial')
|
86
86
|
ENV.fetch("SPORTRADAR_#{api.to_s.upcase.gsub('-', '_')}#{"_#{access_level.upcase}" if access_level != 'trial'}",
|
87
87
|
ENV.fetch("SPORTRADAR_#{api.to_s.upcase}_API_KEY",
|
88
|
-
"
|
88
|
+
ENV.fetch("SPORTRADAR_#{api.to_s.upcase}",
|
89
|
+
"api_key missing for #{api}"
|
90
|
+
)
|
89
91
|
)
|
90
92
|
)
|
91
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportradar-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Eggett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|