fortniteapi 0.0.8 → 1.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fortniteapi/api.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95d4ea682d6bc5a5ff7ea20199d1673ab345d4963dafd51a97d9493a41fdf2dd
4
- data.tar.gz: 0baa96aa1ad2be13693afd532a6543046971dbc364c5b283ccf1117d4fb2ace6
3
+ metadata.gz: 700b4681c3729c4f8bdaa005fe2c7d3f134836a125ce417fd8abd049f66f927f
4
+ data.tar.gz: 41a5a06a220b73cd5a0cbbeb0be7e425b5d755a3b8282ab7710576b4f2bc9d32
5
5
  SHA512:
6
- metadata.gz: 48cbe7422262184aa5567c331db116e483cbcd825c42efdcc5611f5b0e704e3d1e8668eb7cdac65636c6f6a6a61677cf7cbb00bf5db666a02c4c48864d28a5b4
7
- data.tar.gz: 1ee4c625d434e0e04f301ed7f2fc74d4dcb56d6b6735fb0598e37ad028ad5587e16482a6404e0df0a47cd0e42fb6968ffbd5de7d94cb66132e127e6428b872ba
6
+ metadata.gz: 750d663bb67afca3f214d53ff14037b3f3cb701327c8f4424f9e74ae276048b173f7b69f871b2812ecd5748f9694083488eeb5556af09b44ff350d153866c43d
7
+ data.tar.gz: 4fc8f8a77b38fa497f005f55e50faceddcbec3b25a5c38c438a9c537a8813da8075b8bdf229483d5533b68a4d5f752e3e29c2da14716f5738b04a8d73a21374e
@@ -12,8 +12,8 @@ class FortniteAPI
12
12
  @apikey = apikey
13
13
  @headers = {"x-api-key" => @apikey}
14
14
 
15
- if @apikey == nil
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.')
15
+ if apikey == nil
16
+ puts 'Warning: Next monday (Dec. 9th) at 8 PM (UTC) every endpoint will require an API-Key, you can get one at: fortnite-api.com.'
17
17
  end
18
18
  end
19
19
 
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.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - xMistt