matrix_dbus 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.en.md +3 -3
- data/README.md +3 -3
- data/lib/matrix_dbus/matrix.rb +2 -2
- data/lib/matrix_dbus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e8d59e1aae0ef1adb5d6503419464d528989d77
|
4
|
+
data.tar.gz: bc13d22f6a4cc92c89d8ba60c78c7034902a4222
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64ada02b1dd2a71fc361805d4d0f04caffee9e184cfec5db33f3d7cbc1b267f0fd7b42d54fe12058ef5b98869fa905f51d6df5de9b7ed095db18ddc1f9c239a
|
7
|
+
data.tar.gz: b953569bcd9297b9c17b2947dbe56d125dabeb33e4c309d606294e25451368a6e8995b7307338f383ae3b869b4bba8b8c6680cba6a486f4513b929390d0ad59b
|
data/README.en.md
CHANGED
@@ -20,9 +20,9 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
Service: `org.dastudio.
|
24
|
-
Object path: `/org/dastudio/
|
25
|
-
Interface: `org.dastudio.
|
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.
|
24
|
-
Object path: `/org/dastudio/
|
25
|
-
Interface: `org.dastudio.
|
23
|
+
Service: `org.dastudio.matrix`
|
24
|
+
Object path: `/org/dastudio/matrix`
|
25
|
+
Interface: `org.dastudio.matrix`
|
26
26
|
|
27
27
|
TODO: 写使用说明
|
28
28
|
|
data/lib/matrix_dbus/matrix.rb
CHANGED
@@ -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
|
data/lib/matrix_dbus/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|