CQHTTP 2.1.0 → 2.2.0

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: fda5003ae12830faaad8db07015447e79c0406c6
4
- data.tar.gz: 32d4e6795fe561e82a95fc582147639f8b80fe4f
3
+ metadata.gz: 65528cc8abd63e473e547caef95648ea0d440540
4
+ data.tar.gz: 4722139402d52e5db822a9a475dd9a97a21d43b8
5
5
  SHA512:
6
- metadata.gz: b5f6c1140fa860ea92ee44a2969bb5e2c660192fdc51dd19a0c87eeec8ebc81d8bdb61537450c8a9d3e79fd29e1f28a045a1e1e466aa0ea4ce967b35dff322c6
7
- data.tar.gz: 629def00cd4fcae3afb12eee7a03910395f222e35ebc585b4f556b8df800c6d463f857853b5805504bd037f55a8abdb8881ab4120894f1b1e9f15e6d4197a887
6
+ metadata.gz: dd633ca9de40e980d1999d99311d5ed39869aeb31fd476bb2ad689dc9c58caaf3e50b36e1dab6fd8a5ac4877c5943024f7ca15ff5e1964a1185ad0f87ffa6606
7
+ data.tar.gz: 92a0ee773955512a458ae283ae3d2bd0ab3eab0908fadab91b9e7ba44bb05abd46d4c0fa77ecc726836bd3342ae8235f199b51ff82c48d892eeaba0f8734d33a
data/exe/cqhttp-dbus CHANGED
@@ -11,8 +11,11 @@ class CQHTTP2DBus < DBus::Object
11
11
  super
12
12
  end
13
13
  dbus_interface 'org.dastudio.cqhttp' do
14
- dbus_method :call, 'in func:s, in args:s' do |func, args|
15
- @cqhttp.send func, JSON.parse(args, symbolize_names: true)
14
+ dbus_method :call, 'in func:s, in args:s, out json:s' do |func, args|
15
+ JSON.pretty_generate @cqhttp.send func, JSON.parse(
16
+ args,
17
+ symbolize_names: true
18
+ )
16
19
  end
17
20
 
18
21
  %i[
@@ -1,3 +1,3 @@
1
1
  module CQHTTP
2
- VERSION = "2.1.0"
2
+ VERSION = "2.2.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: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52