restpack-web 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,12 +51,24 @@ module RestPack
51
51
  end
52
52
 
53
53
  def debug_info
54
+ user_debug_info = ""
55
+ if is_authenticated?
56
+ user_debug_info = %{
57
+ * **name** : #{@user['name']}
58
+ * **nickname** : #{@user['nickname']}
59
+ * **location** : #{@user['location']}
60
+ * **description** : #{@user['description']}
61
+ * **image** : #{@user['image_url']}
62
+ }
63
+ end
64
+
54
65
  %{
55
66
  ### RestPack Context:
56
67
 
57
68
  #### User:
58
69
 
59
70
  * **is authenticated**: #{is_authenticated?}
71
+ #{user_debug_info}
60
72
 
61
73
  #### Channel:
62
74
 
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: