CQHTTP 1.1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/cqhttp-dbus +10 -10
  3. data/lib/CQHTTP/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b514697c7729bb1c876bc011fd7c7b34de190ea6
4
- data.tar.gz: df5a276ad3f2cb6449c1014d436fc5ad4746036c
3
+ metadata.gz: 25dd1848e39485775e9553c24bf1ff656d9f693d
4
+ data.tar.gz: db96b429faf6faf64f9ea6f01f5ab5dda60cdd64
5
5
  SHA512:
6
- metadata.gz: 2bf83100a7fad7334fc9a435bb56bed12186c3c075d8b8dca37bf0f6940216ee1af0a51e127ded4d8005d4e41f9f7b995a6566efb948dc1017385edefcbc06be
7
- data.tar.gz: 8142dfad6309b2299ce686708b2807f296e315dffefe7bf306d137f76e7b14f9ddccb02a65178bddc542ad107cc3d108518eeefe03fb32a6ab8658cb14cf403f
6
+ metadata.gz: be6732c1ae61c94c24a41da274746d9a6730c04ba4b2dadd9b6180fb763f5767a71b6789806163c11c6b528deb7052b9b9e711c80d60aaa2ba56267c83109daf
7
+ data.tar.gz: 54df1c349a40fbfdf5b890ec0f820788c143384c7ddd245e89a227d918edd06dab6faf4389341fd2c2e159d54a6c112af32c9f8a5f613bd34b379aebab3d7a67
data/exe/cqhttp-dbus CHANGED
@@ -15,25 +15,25 @@ class CQHTTP2DBus < DBus::Object
15
15
  @cqhttp.send func, JSON.parse(args, symbolize_names: true)
16
16
  end
17
17
 
18
- dbus_signal :message, 'message_type:s, json:s'
19
- %i[private group get_group_list].each do |i|
20
- dbus_signal i, 'json:s'
21
- end
22
- dbus_signal :event, 'event:s, json:s'
23
18
  %i[
19
+ message
20
+ private
21
+ group
22
+ get_group_list
23
+ event
24
24
  group_upload
25
25
  group_admin
26
26
  group_decrease
27
27
  group_increase
28
28
  friend_add
29
+ friend_request
30
+ join_request
31
+ invite_request
32
+ all
33
+ unknow
29
34
  ].each do |i|
30
35
  dbus_signal i, 'json:s'
31
36
  end
32
- dbus_signal :friend_request, 'json:s'
33
- dbus_signal :join_request, 'json:s'
34
- dbus_signal :invite_request, 'json:s'
35
- dbus_signal :all, 'json:s'
36
- dbus_signal :unknow, 'json:s'
37
37
  end
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module CQHTTP
2
- VERSION = "1.1.1"
2
+ VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CQHTTP
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52