easemob 0.3.3 → 0.3.7
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 +5 -5
- checksums.yaml.gz.sig +0 -0
- data/.travis.yml +1 -1
- data/lib/easemob/fileoperation.rb +2 -2
- data/lib/easemob/groups.rb +1 -1
- data/lib/easemob/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +37 -48
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b605a6b95447bf6f26cbe25703b2f1996434da78606cedd2ca52d759071e9d0e
|
|
4
|
+
data.tar.gz: ca28b4cf3b2030e977f64c76a7162129039359a9d0a1a10732de47eebab4126a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcb94e95d6fe7752c124e6cbef317d0db8fb269905235180dcd239d83ef95627888090029be5ebc3180b0b368e6655acef232649a908c64de234ab29d729ef61
|
|
7
|
+
data.tar.gz: b9537f6ed5b661caa2fd0225ae57558814005affe7447577fa5f6211ec1300c72ec89de7038e4c8bbee62091c687ac9f71727dced41c38991868524015859428
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/.travis.yml
CHANGED
|
@@ -3,8 +3,8 @@ module Easemob
|
|
|
3
3
|
module Fileoperation
|
|
4
4
|
def upload_chatfile(file_path, restrict_access: true)
|
|
5
5
|
FileoperationMessage.new request :upload, 'chatfiles', form: { file: HTTP::FormData::File.new(file_path),
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
hack: 'X' }, # Existing here for http-form_data 1.0.1 handle single param improperly, see https://github.com/httprb/form_data.rb/issues/4
|
|
7
|
+
restrict_access: restrict_access
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def download_chatfile(chatfile_uuid, share_secret: nil, thumbnail: false)
|
data/lib/easemob/groups.rb
CHANGED
|
@@ -2,7 +2,7 @@ module Easemob
|
|
|
2
2
|
autoload(:GroupMessage, File.expand_path('message/group_message', __dir__))
|
|
3
3
|
module Groups
|
|
4
4
|
def create_group(groupname, description, owner, members: nil, is_public: true, maxusers: 200, is_approval: false)
|
|
5
|
-
jd = { groupname: groupname, desc: description, public: is_public, owner: owner,
|
|
5
|
+
jd = { groupname: groupname, desc: description, public: is_public, owner: owner, maxusers: maxusers, approval: is_approval }
|
|
6
6
|
jd[:members] = members unless members.nil?
|
|
7
7
|
GroupMessage.new request :post, 'chatgroups', json: jd
|
|
8
8
|
end
|
data/lib/easemob/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easemob
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Guo
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
MIIEODCCAqCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhlcmlj
|
|
14
|
+
L0RDPWNsb3VkLW1lcy9EQz1jb20wHhcNMjEwOTE1MDIxMDM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On
|
|
29
|
+
sANkOvLx8x4RMlmTFe+WkPiV9NasFqNn7EBSpjqQRWRlCuh6rMiYzzxNbbNvbRT4
|
|
30
|
+
WMhBf7eWRpr1TBXDr51E8RtA+LG6wZuJFnKWBisgKOmpUw79f7EvIQAGS3MEWk/g
|
|
31
|
+
fSvIf14zM5Dw0whGa/n60jgSc5yiW3/75GXt8608BK+bs5dViJ/3ofuIhqpOvvdp
|
|
32
|
+
4Oiv2zIXsfUIGAIwHN5mLwAwHty1d0s8Kt0jtJAXDUODgTuXaBj/aOqTZUUgp8Kv
|
|
33
|
+
6SoPdaa0LFPbkI2eiUN1xUPelsgKz0kyRBJtkMnSKFxcCxw7VHGRGFsw0ORZodQ3
|
|
34
|
+
ZM9IDtdMg8E/4ujwilV8HKmgU77vVN6vSMvxx8zQFSz9a6GbdpB4egPZ++peSk/Q
|
|
35
|
+
uaIJtOX6M4VC6u7eZfotARKyUy6EcoN2zNqEAQ==
|
|
32
36
|
-----END CERTIFICATE-----
|
|
33
|
-
date:
|
|
37
|
+
date: 2021-12-12 00:00:00.000000000 Z
|
|
34
38
|
dependencies:
|
|
35
39
|
- !ruby/object:Gem::Dependency
|
|
36
40
|
name: http
|
|
@@ -41,7 +45,7 @@ dependencies:
|
|
|
41
45
|
version: 2.0.3
|
|
42
46
|
- - "<"
|
|
43
47
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: '
|
|
48
|
+
version: '6'
|
|
45
49
|
type: :runtime
|
|
46
50
|
prerelease: false
|
|
47
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -51,7 +55,7 @@ dependencies:
|
|
|
51
55
|
version: 2.0.3
|
|
52
56
|
- - "<"
|
|
53
57
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
58
|
+
version: '6'
|
|
55
59
|
- !ruby/object:Gem::Dependency
|
|
56
60
|
name: connection_pool
|
|
57
61
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,48 +76,34 @@ dependencies:
|
|
|
72
76
|
- - "<"
|
|
73
77
|
- !ruby/object:Gem::Version
|
|
74
78
|
version: '3'
|
|
75
|
-
- !ruby/object:Gem::Dependency
|
|
76
|
-
name: bundler
|
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - "~>"
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: '1.13'
|
|
82
|
-
type: :development
|
|
83
|
-
prerelease: false
|
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - "~>"
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: '1.13'
|
|
89
79
|
- !ruby/object:Gem::Dependency
|
|
90
80
|
name: rake
|
|
91
81
|
requirement: !ruby/object:Gem::Requirement
|
|
92
82
|
requirements:
|
|
93
83
|
- - "~>"
|
|
94
84
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
85
|
+
version: '13.0'
|
|
96
86
|
type: :development
|
|
97
87
|
prerelease: false
|
|
98
88
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
89
|
requirements:
|
|
100
90
|
- - "~>"
|
|
101
91
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '
|
|
92
|
+
version: '13.0'
|
|
103
93
|
- !ruby/object:Gem::Dependency
|
|
104
94
|
name: rspec
|
|
105
95
|
requirement: !ruby/object:Gem::Requirement
|
|
106
96
|
requirements:
|
|
107
97
|
- - "~>"
|
|
108
98
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '3.
|
|
99
|
+
version: '3.9'
|
|
110
100
|
type: :development
|
|
111
101
|
prerelease: false
|
|
112
102
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
103
|
requirements:
|
|
114
104
|
- - "~>"
|
|
115
105
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '3.
|
|
106
|
+
version: '3.9'
|
|
117
107
|
description: Helping rubyist integration with Easemob IM service (环信 - 即时通讯云) easier.
|
|
118
108
|
email:
|
|
119
109
|
- eric.guocz@gmail.com
|
|
@@ -146,24 +136,23 @@ homepage: https://github.com/bayetech/easemob
|
|
|
146
136
|
licenses:
|
|
147
137
|
- MIT
|
|
148
138
|
metadata: {}
|
|
149
|
-
post_install_message:
|
|
139
|
+
post_install_message:
|
|
150
140
|
rdoc_options: []
|
|
151
141
|
require_paths:
|
|
152
142
|
- lib
|
|
153
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
144
|
requirements:
|
|
155
|
-
- - "
|
|
145
|
+
- - ">="
|
|
156
146
|
- !ruby/object:Gem::Version
|
|
157
|
-
version: '2.
|
|
147
|
+
version: '2.5'
|
|
158
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
149
|
requirements:
|
|
160
150
|
- - ">="
|
|
161
151
|
- !ruby/object:Gem::Version
|
|
162
152
|
version: '0'
|
|
163
153
|
requirements: []
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
signing_key:
|
|
154
|
+
rubygems_version: 3.2.33
|
|
155
|
+
signing_key:
|
|
167
156
|
specification_version: 4
|
|
168
157
|
summary: An unofficial Easemob IM(instant message) service integration gem
|
|
169
158
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|