CQHTTP 2.0.0 → 2.1.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: 25dd1848e39485775e9553c24bf1ff656d9f693d
4
- data.tar.gz: db96b429faf6faf64f9ea6f01f5ab5dda60cdd64
3
+ metadata.gz: fda5003ae12830faaad8db07015447e79c0406c6
4
+ data.tar.gz: 32d4e6795fe561e82a95fc582147639f8b80fe4f
5
5
  SHA512:
6
- metadata.gz: be6732c1ae61c94c24a41da274746d9a6730c04ba4b2dadd9b6180fb763f5767a71b6789806163c11c6b528deb7052b9b9e711c80d60aaa2ba56267c83109daf
7
- data.tar.gz: 54df1c349a40fbfdf5b890ec0f820788c143384c7ddd245e89a227d918edd06dab6faf4389341fd2c2e159d54a6c112af32c9f8a5f613bd34b379aebab3d7a67
6
+ metadata.gz: b5f6c1140fa860ea92ee44a2969bb5e2c660192fdc51dd19a0c87eeec8ebc81d8bdb61537450c8a9d3e79fd29e1f28a045a1e1e466aa0ea4ce967b35dff322c6
7
+ data.tar.gz: 629def00cd4fcae3afb12eee7a03910395f222e35ebc585b4f556b8df800c6d463f857853b5805504bd037f55a8abdb8881ab4120894f1b1e9f15e6d4197a887
data/exe/cqhttp-dbus CHANGED
@@ -68,12 +68,12 @@ class Case
68
68
  end
69
69
 
70
70
  def message
71
- @obj.message @info['message_type'], @json
71
+ send_json :message
72
72
  send_json @info['message_type']
73
73
  end
74
74
 
75
75
  def event
76
- @obj.event @info['event'], @json
76
+ send_json :event
77
77
  send_json @info['event']
78
78
  end
79
79
 
@@ -1,3 +1,3 @@
1
1
  module CQHTTP
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.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.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52