matrix_sdk 2.3.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +2 -0
- data/lib/matrix_sdk/api.rb +52 -18
- data/lib/matrix_sdk/client.rb +41 -27
- data/lib/matrix_sdk/mxid.rb +41 -1
- data/lib/matrix_sdk/protocols/cs.rb +134 -108
- data/lib/matrix_sdk/protocols/msc.rb +5 -0
- data/lib/matrix_sdk/room.rb +106 -39
- data/lib/matrix_sdk/rooms/space.rb +79 -0
- data/lib/matrix_sdk/user.rb +4 -4
- data/lib/matrix_sdk/util/events.rb +4 -6
- data/lib/matrix_sdk/util/extensions.rb +13 -19
- data/lib/matrix_sdk/util/tinycache.rb +31 -7
- data/lib/matrix_sdk/util/tinycache_adapter.rb +5 -0
- data/lib/matrix_sdk/util/uri.rb +101 -0
- data/lib/matrix_sdk/version.rb +1 -1
- data/lib/matrix_sdk.rb +10 -0
- metadata +5 -3
data/lib/matrix_sdk.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'matrix_sdk/util/extensions'
|
4
|
+
require 'matrix_sdk/util/uri'
|
4
5
|
require 'matrix_sdk/version'
|
5
6
|
|
6
7
|
require 'json'
|
@@ -18,10 +19,19 @@ module MatrixSdk
|
|
18
19
|
|
19
20
|
autoload :MatrixError, 'matrix_sdk/errors'
|
20
21
|
autoload :MatrixRequestError, 'matrix_sdk/errors'
|
22
|
+
autoload :MatrixNotAuthorizedError, 'matrix_sdk/errors'
|
23
|
+
autoload :MatrixForbiddenError, 'matrix_sdk/errors'
|
24
|
+
autoload :MatrixNotFoundError, 'matrix_sdk/errors'
|
25
|
+
autoload :MatrixConflictError, 'matrix_sdk/errors'
|
26
|
+
autoload :MatrixTooManyRequestsError, 'matrix_sdk/errors'
|
21
27
|
autoload :MatrixConnectionError, 'matrix_sdk/errors'
|
22
28
|
autoload :MatrixTimeoutError, 'matrix_sdk/errors'
|
23
29
|
autoload :MatrixUnexpectedResponseError, 'matrix_sdk/errors'
|
24
30
|
|
31
|
+
module Rooms
|
32
|
+
autoload :Space, 'matrix_sdk/rooms/space'
|
33
|
+
end
|
34
|
+
|
25
35
|
module Util
|
26
36
|
autoload :Tinycache, 'matrix_sdk/util/tinycache'
|
27
37
|
autoload :TinycacheAdapter, 'matrix_sdk/util/tinycache_adapter'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matrix_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Olofsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mocha
|
@@ -105,11 +105,13 @@ files:
|
|
105
105
|
- lib/matrix_sdk/protocols/ss.rb
|
106
106
|
- lib/matrix_sdk/response.rb
|
107
107
|
- lib/matrix_sdk/room.rb
|
108
|
+
- lib/matrix_sdk/rooms/space.rb
|
108
109
|
- lib/matrix_sdk/user.rb
|
109
110
|
- lib/matrix_sdk/util/events.rb
|
110
111
|
- lib/matrix_sdk/util/extensions.rb
|
111
112
|
- lib/matrix_sdk/util/tinycache.rb
|
112
113
|
- lib/matrix_sdk/util/tinycache_adapter.rb
|
114
|
+
- lib/matrix_sdk/util/uri.rb
|
113
115
|
- lib/matrix_sdk/version.rb
|
114
116
|
homepage: https://github.com/ananace/ruby-matrix-sdk
|
115
117
|
licenses:
|
@@ -130,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
132
|
- !ruby/object:Gem::Version
|
131
133
|
version: '0'
|
132
134
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
135
|
+
rubygems_version: 3.3.8
|
134
136
|
signing_key:
|
135
137
|
specification_version: 4
|
136
138
|
summary: SDK for applications using the Matrix protocol
|