fortniteapi 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fortniteapi/api.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62a6991c2fda2616a8d6e5a9c8388e3379799a9c757b03d7473573b3b9bb8714
4
- data.tar.gz: 571e3a0030fa7e5ee5816d19ace61b33b48f844342112264064783ed05dceea1
3
+ metadata.gz: 95d4ea682d6bc5a5ff7ea20199d1673ab345d4963dafd51a97d9493a41fdf2dd
4
+ data.tar.gz: 0baa96aa1ad2be13693afd532a6543046971dbc364c5b283ccf1117d4fb2ace6
5
5
  SHA512:
6
- metadata.gz: 86c226d70a95af3371bf6f6786f27e5266098d3bcaa6c937e2c47744c4523c4b9fb28bef48f00164ce933eb985deb865c8e5903aded19a63233c7d2ef33a52b3
7
- data.tar.gz: 8ddfab84bf0eb5310c3a534836440c90524ac7f6559773ba3afc5e7130735508eb6686ca9631de6d3489aaa473bb154a0d05e2f505311a111f42131ffd1202f1
6
+ metadata.gz: 48cbe7422262184aa5567c331db116e483cbcd825c42efdcc5611f5b0e704e3d1e8668eb7cdac65636c6f6a6a61677cf7cbb00bf5db666a02c4c48864d28a5b4
7
+ data.tar.gz: 1ee4c625d434e0e04f301ed7f2fc74d4dcb56d6b6735fb0598e37ad028ad5587e16482a6404e0df0a47cd0e42fb6968ffbd5de7d94cb66132e127e6428b872ba
@@ -12,8 +12,9 @@ class FortniteAPI
12
12
  @apikey = apikey
13
13
  @headers = {"x-api-key" => @apikey}
14
14
 
15
- if @apikey == nil:
15
+ if @apikey == nil
16
16
  warn('FortniteAPI.apikey.warn: Next monday (Dec. 9th) at 8 PM (UTC) every endpoint will require an API-Key, you can get one at: fortnite-api.com.')
17
+ end
17
18
  end
18
19
 
19
20
  def search_cosmetic(searchQuery, tag='name', language='en', searchLanguage='en')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortniteapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - xMistt