rubyhexagon 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1be6d059e334103bb28e5cbff3c4978cb0cdd202e7f5bb095a189efc8af300b0
4
- data.tar.gz: b928803e414e4a98922ccd5326f20db0daaaa39c23f8223669259ad91a72df1b
3
+ metadata.gz: 5fd5fb58b75d8d6efb6bed84b2f2392c690290653f12ace6b2e705338759b50a
4
+ data.tar.gz: aa5c46fb02c632101624b5f96237b1cb28ce3d56c4810f801bb33aeebf4641f6
5
5
  SHA512:
6
- metadata.gz: 14f25709d60914cc9c7a63bfabc1d4e7fb4deff7aa856f51415f56605423b5d45a75f23130adead64174924a5e273b8747bbb7d6df8778d72be3340b1a5cd42a
7
- data.tar.gz: 7f15aaf02b37d6481ae8447635687caf018132f3b3b06a064438208fb7e40048fa40bd8df7c906ceccebfd550bdef52abccd5619bf9449ec3a6efece3e171192
6
+ metadata.gz: 9a3f900193d3d7311a7fb47273db5ac527d02b0d8750c4d2d0969921d6718db4f03d20580427a2b7f9b68c391ff6d60c774616c627fe7718af77485aec897285
7
+ data.tar.gz: 5c16e10e06ba7ff0810f91e77b35dee2ac3f58f0e625fe38e7f0aae24cd1e157f29e02cccfa7ab9d11d81f7add45b6c2e47753168a4784a1278bade0699f36d3
@@ -46,7 +46,7 @@ require_relative 'rubyhexagon/search/tag_history'
46
46
  module Rubyhexagon
47
47
  MAJOR = 1
48
48
  MINOR = 6
49
- PATCH = 2
49
+ PATCH = 3
50
50
  NAME = 'rubyhexagon'
51
51
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
52
52
  end
@@ -53,6 +53,8 @@ module Rubyhexagon
53
53
  # Fill this object with user data.
54
54
  def show!
55
55
  user = API.new.fetch('user', 'show', id: @id)
56
+ @id = user[:id].to_i
57
+ @name = user[:name]
56
58
  @level = Level.new(user[:level].to_i)
57
59
  @created_at = Time.parse(user[:created_at])
58
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyhexagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxine Michalski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json