matrix_dbus 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34a06bdd17ff5495bd6f395c91aafe73fe979cbf
4
- data.tar.gz: 29a80193755243a51d93c9c35f67e26f8fb386c4
3
+ metadata.gz: 9e8d59e1aae0ef1adb5d6503419464d528989d77
4
+ data.tar.gz: bc13d22f6a4cc92c89d8ba60c78c7034902a4222
5
5
  SHA512:
6
- metadata.gz: cf3d41ae8519bb9f8c181ac953539fa66077587accdb30dcc4761e07d49bcbcabd35db136c119a68a3e766aab22892df05d58e3ea692232c6f67e01f580ff893
7
- data.tar.gz: bda57a35eb3d4cac50fcf2a4b4ab1b634bbfc03ccd2b8723f23889b69ecef1ddec6a02a5a868199602bb8966aed39046c1c42520b8d93efda17c2c951d33456f
6
+ metadata.gz: a64ada02b1dd2a71fc361805d4d0f04caffee9e184cfec5db33f3d7cbc1b267f0fd7b42d54fe12058ef5b98869fa905f51d6df5de9b7ed095db18ddc1f9c239a
7
+ data.tar.gz: b953569bcd9297b9c17b2947dbe56d125dabeb33e4c309d606294e25451368a6e8995b7307338f383ae3b869b4bba8b8c6680cba6a486f4513b929390d0ad59b
@@ -20,9 +20,9 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- Service: `org.dastudio.qq`
24
- Object path: `/org/dastudio/qq`
25
- Interface: `org.dastudio.cqhttp`
23
+ Service: `org.dastudio.matrix`
24
+ Object path: `/org/dastudio/matrix`
25
+ Interface: `org.dastudio.matrix`
26
26
 
27
27
  TODO: Write usage instructions here
28
28
 
data/README.md CHANGED
@@ -20,9 +20,9 @@ gem 'matrix_dbus'
20
20
 
21
21
  ## 使用
22
22
 
23
- Service: `org.dastudio.qq`
24
- Object path: `/org/dastudio/qq`
25
- Interface: `org.dastudio.cqhttp`
23
+ Service: `org.dastudio.matrix`
24
+ Object path: `/org/dastudio/matrix`
25
+ Interface: `org.dastudio.matrix`
26
26
 
27
27
  TODO: 写使用说明
28
28
 
@@ -1,5 +1,5 @@
1
1
  module MatrixDBus
2
- #
2
+ # TODO
3
3
  class Matrix
4
4
  attr_reader :json, :access_token, :network
5
5
 
@@ -71,7 +71,7 @@ module MatrixDBus
71
71
  end
72
72
 
73
73
  def init_batch
74
- json = get "/sync?access_token=#{@access_token}"
74
+ json = @network.get "/sync?access_token=#{@access_token}"
75
75
  @next_batch = json['next_batch']
76
76
  save_batch
77
77
  end
@@ -1,3 +1,3 @@
1
1
  module MatrixDBus
2
- VERSION = '2.0.4'.freeze
2
+ VERSION = '2.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matrix_dbus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-02 00:00:00.000000000 Z
11
+ date: 2017-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler