matrix_qq 0.5.1 → 0.5.2

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
  SHA1:
3
- metadata.gz: 892ed7e1b6878544f693f864c737efcfb268e156
4
- data.tar.gz: c284ef2d32441a7a1e369e2f1f3d5b2a1eaa0445
3
+ metadata.gz: 6657a346b8c6e0ef7527030cd0f91956904e7ebf
4
+ data.tar.gz: fdf67111f9d126598c00af9f6da4bfe25e23b1e3
5
5
  SHA512:
6
- metadata.gz: acfcdfd4cfeedd6f3285b9dfcf15ac3026b4bde5aa37ee19f83c9019a1a8abe56d998c1f613b7dbbb1a1051df9dbee7819e2e40cc55ee2af38c84da39d36343e
7
- data.tar.gz: 24191c99b690d50f487f72773f576bcbfd30f6813da6bfa77366dd6014d15049c856fb7a176089abba1c9d90cb76e58f050d3240f7010f4d09cd02c8e877ae82
6
+ metadata.gz: 0422217e11b6f7fd7290e4031a99d14f2826974e56a130da2da25a7565660109587041d433146c71e4435d7598b2a18f328e2254df8148e789558b13e1c94645
7
+ data.tar.gz: d6cf4a675628ecf6526c16600de735781806b157dce130c947eaf59db64200fac515b4cadcaab6a0427f925c776a6b36500ba329b2e3ae811a28cc9dc1a923f9
@@ -1,5 +1,8 @@
1
1
  # Notice: Incompatible items start with `!`
2
2
 
3
+ 0.5.2:
4
+ Fix:
5
+ - forgot data
3
6
  0.5.1:
4
7
  Fix:
5
8
  - hack in symble to string
@@ -12,9 +12,7 @@ module MatrixQQ
12
12
  def run
13
13
  msg = message @info['message']
14
14
  sender = "[#{user @info['user_id']}] " if @info['print_sender']
15
- MatrixQQ::Matrix::Send.text \
16
- @matrix, @room,
17
- "#{sender}#{msg}"
15
+ MatrixQQ::Matrix::Send.text @matrix, @room, "#{sender}#{msg}"
18
16
  end
19
17
 
20
18
  def message(messages)
@@ -24,7 +22,7 @@ module MatrixQQ
24
22
  end
25
23
 
26
24
  def user(user)
27
- @dbus.get_stranger_info(user_id: user)['nickname']
25
+ @dbus.get_stranger_info(user_id: user)['data']['nickname']
28
26
  end
29
27
  end # Matrix
30
28
 
@@ -1,3 +1,3 @@
1
1
  module MatrixQQ
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.5.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matrix_qq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52