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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -1
- data/lib/rubg/match.rb +2 -2
- data/lib/rubg/version.rb +1 -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: 69cdabeaf02062b7529c68ba87ca1d5d33ab7ab5aca32f6b9a216a24c2c219b0
|
|
4
|
+
data.tar.gz: ee3a7e7d8d289cf27a95b1503d527369bdcc8fc7a25cafcdbdae27428e1f94e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fd9b41f24841c07b2c6b030680cc297a39a77028b67d448b885f19a599ae89eb90c97fc6df6d3e072dff2beea5550e883fd607e5760bc0bd60f54f498d25a64
|
|
7
|
+
data.tar.gz: 10e3d388ea9ae690e3f9dce23b646f1267ee9c7f3a8d92e85f598447b6e53fc743d7034fefb794022bd7eacd5a20b2f8aa52c994eb084b9ef318eb9b406ed35e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# RUBG
|
|
2
|
+
[](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).
|
data/lib/rubg/match.rb
CHANGED
|
@@ -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
|
|
data/lib/rubg/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|