CQHTTP 1.0.0 → 1.0.1

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: 146a5116dcb1574f2e3174f0431bf10bc3ab166f
4
- data.tar.gz: 5ed3d7d65573dedb7a3af02b257525b5fb968965
3
+ metadata.gz: ff7ce3959ce81bec0e5cb087fd9dd4c36cd6a429
4
+ data.tar.gz: 64c650dab1a39f0d7151449f0a24d189aebc232e
5
5
  SHA512:
6
- metadata.gz: 452782834fe17d3c34ef674bc7c41796764e20fb102a91633cf6c9aa172eba4744cfb5daffd67455ffef2a75093629d52e10375120726ca023b25087379da367
7
- data.tar.gz: 3a0a4f4dbb751921d21a1d3d7ce1ec3eb8dfaca0960f78ab18055684af64336e5470440756514af335699b84e8804f98f429b95f090e95b5e736d3c3df7020ae
6
+ metadata.gz: 5a39b9aa330a92840ca83ccf0c9450ff9b0d077934ad1862a32137ec06ea87d49a401cf43eb35c13e6e1f53ad88f598ca26af2021e9b2fa620b44b10a6671e8c
7
+ data.tar.gz: 047b48e7f38bfe5204bb4a3439aad10007775ce1c6e9226dc5af8709b63f6ff719039a3fc5a19ba2fe383102bcfc1f95cbd4377374ac9700e46de4bb7922352d
data/CQHTTP.gemspec CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'rake', '~> 10.0'
23
23
  spec.add_development_dependency 'rspec', '~> 3.0'
24
24
 
25
- spec.add_dependency 'ruby-dbus', '~> 0.13.0'
25
+ spec.add_dependency 'ruby-dbus', '~> 0.14.0'
26
26
  end
data/exe/cqhttp-dbus CHANGED
@@ -12,8 +12,9 @@ class CQHTTP2DBus < DBus::Object
12
12
  end
13
13
  dbus_interface 'org.dastudio.cqhttp' do
14
14
  dbus_method :call, 'in func:s, in args:s' do |func, args|
15
- @cqhttp.method_missing func.to_sym, JSON.parse(args, symbolize_names: true)
15
+ @cqhttp.send func, JSON.parse(args, symbolize_names: true)
16
16
  end
17
+
17
18
  dbus_signal :message, 'message_type:s, json:s'
18
19
  dbus_signal :event, 'event:s, json:s'
19
20
  dbus_signal :friend_request, 'json:s'
@@ -1,3 +1,3 @@
1
1
  module CQHTTP
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CQHTTP
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-08 00:00:00.000000000 Z
11
+ date: 2017-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.13.0
61
+ version: 0.14.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.13.0
68
+ version: 0.14.0
69
69
  description:
70
70
  email:
71
71
  - DAStudio.71e6fd52@gmail.com