yiffspace 0.0.13 → 0.0.14

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: 104592b1e2e81eff8bad67a171d7505dbe69dfb6abf7789ea7d09dfe5ebc86fe
4
- data.tar.gz: f487adf9203f092ec358d19b54cc0ca789168bef4c3adbbb5d38b2e05c3a2a12
3
+ metadata.gz: 98aa533af69b280415d1d0bdea4653e69ea058fdd10cd826e4d47c5dee07c883
4
+ data.tar.gz: 534b56e9af66e0cd7ba951b4c47ab5dd0a30dbc68a0453381649f4f0d706e5b1
5
5
  SHA512:
6
- metadata.gz: 7a7c147fa2ce7eae8e9bfcd9b84cd0e699839ef07664d9d78587e381c5315fcbfeacbf65fdc7a9812b0ce027a33856a2a4ba46c0c47c82585f56d5d013f61601
7
- data.tar.gz: 176aacd4df5a272fc403377f040ce56edcda0d6da119648caa9a276e6c824bb9386059494b5f1dc6db4d81ccddc627a8bbf613489e811a449565d663cde4679d
6
+ metadata.gz: 690c8f47088aaade9958a2b39e014f94d5a61ae4f0fb1437150ad5fd47ea4c38248d5bf9a78e046ea7ee7675352282a2ab0fd625349fc73129fdf9dc33e4006c
7
+ data.tar.gz: cda63776835628c1a63deb30f264b107d0766884aab61313fa836bdd650d22185fb21aa723c713072a3010e4f9aaed7316347aa6e525d707bca736035fa60bf9
@@ -9,7 +9,7 @@ module YiffSpace
9
9
  @data = Utils::OpenHash.from(data)
10
10
  end
11
11
 
12
- delegate(:id, to: :data)
12
+ delegate(:id, :username, to: :data)
13
13
 
14
14
  def discord_id
15
15
  data.identities.discord.userId
@@ -28,7 +28,7 @@ module YiffSpace
28
28
  end
29
29
 
30
30
  def discord
31
- data.identities.discord.details.blank? ? nil : DiscordInfo.new(data.identities.discord.details.rawData)
31
+ DiscordInfo.new(data.identities.discord.details.rawData)
32
32
  end
33
33
 
34
34
  def avatar
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YiffSpace
4
- VERSION = "0.0.13"
4
+ VERSION = "0.0.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yiffspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donovan_DMC