rubg 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: c40ff2c000d618a71fb0cba213d4fe44c3d7b9f958af6f219b3b52255590b970
4
- data.tar.gz: d8b32768bb46d7e196e8dedabb25098316bf0bd0e44a9be9b46a23c5f440a3f4
3
+ metadata.gz: 69cdabeaf02062b7529c68ba87ca1d5d33ab7ab5aca32f6b9a216a24c2c219b0
4
+ data.tar.gz: ee3a7e7d8d289cf27a95b1503d527369bdcc8fc7a25cafcdbdae27428e1f94e3
5
5
  SHA512:
6
- metadata.gz: 1cf1631cc78707beb6d8bf0c0375c39a4a737f2d06554de2ab22939bd96d6dcf4cd868d9c6f26248fe7f135b7bd703a80a77c410007bda74fd19eb7c868b05a3
7
- data.tar.gz: 4ce9d3142a2d56b8c4dd49d5a683c37da1cc0fd1bf86b03832d7d9c3f8db24536b854ec434fa648a08fad49f4066abcf9c5da3140453b63f2723f8afed407bf7
6
+ metadata.gz: 7fd9b41f24841c07b2c6b030680cc297a39a77028b67d448b885f19a599ae89eb90c97fc6df6d3e072dff2beea5550e883fd607e5760bc0bd60f54f498d25a64
7
+ data.tar.gz: 10e3d388ea9ae690e3f9dce23b646f1267ee9c7f3a8d92e85f598447b6e53fc743d7034fefb794022bd7eacd5a20b2f8aa52c994eb084b9ef318eb9b406ed35e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubg (0.2.2)
4
+ rubg (0.2.3)
5
5
  httparty (~> 0.16.2)
6
6
  json (~> 2.1.0)
7
7
  zlib (~> 1.0.0)
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # RUBG
2
+ [![Gem Version](https://badge.fury.io/rb/rubg.svg)](https://badge.fury.io/rb/rubg)
2
3
 
3
4
  RUBG is an unofficial Ruby PUBG API wrapper.
4
5
 
@@ -310,4 +311,4 @@ Bug reports are welcome on GitHub at https://github.com/dor-edras/rubg. Given th
310
311
 
311
312
  ## License
312
313
 
313
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
314
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -28,8 +28,8 @@ module RUBG
28
28
  @tags = args[:match_data]["attributes"]["tags"]
29
29
  @title_id = args[:match_data]["attributes"]["titleId"]
30
30
  @telemetry_id = args[:match_data]["relationships"]["assets"]["data"][0]["id"]
31
- @rounds = args[:match_data]["relationships"]["rounds"]["data"]
32
- @spectators = args[:match_data]["relationships"]["spectators"]["data"]
31
+ @rounds = args[:match_data]["relationships"]["rounds"]["data"] if args[:match_data]["relationships"]["rounds"]
32
+ @spectators = args[:match_data]["relationships"]["spectators"]["data"] if args[:match_data]["relationships"]["spectators"]
33
33
  @link = args[:match_data]["links"]["self"]
34
34
  @telemetry_link = args[:match_included].detect {|i| i["type"] == "asset" }["attributes"]["URL"]
35
35
 
@@ -1,3 +1,3 @@
1
1
  module RUBG
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-08 00:00:00.000000000 Z
11
+ date: 2018-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler