easemob 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +1 -1
- data/lib/easemob/messages.rb +1 -1
- data/lib/easemob/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4267d61dfcf4fa3d80d0787340a8af8677f6ebb3
|
4
|
+
data.tar.gz: 7ec3ea9fe9d611da2601175712970b6930fc445f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9978bc99d78089d76bb8008459ab0fedde2158cb220be5c85375f19dcd22e0cc28d67a4c30d83b201c7ae0e3d78f83797d5a51d0a52abc6e0f6c99cad2f0b375
|
7
|
+
data.tar.gz: 25be45a7c31ad2bfb7eadf137e060b67bd8334a5f3fc699f0b101f357d5f51d51fa8dbbe43e3705517f23594846da98dc5df24e52e2fe53445d595bf8c151587
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
data/lib/easemob/messages.rb
CHANGED
@@ -4,7 +4,7 @@ module Easemob
|
|
4
4
|
def message_to(target, target_type: :users, text:,
|
5
5
|
from: nil, ext: nil)
|
6
6
|
jd = { target_type: target_type, target: [*target],
|
7
|
-
msg: { type: :txt,
|
7
|
+
msg: { type: :txt, msg: text } }
|
8
8
|
jd[:from] = from unless from.nil?
|
9
9
|
jd[:ext] = ext unless ext.nil?
|
10
10
|
ChatMessage.new request :post, 'messages', json: jd
|
data/lib/easemob/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Guo
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
R5k6Ma92sW8jupX4cqbSu9rntdVQkNRpoHIrfU0MZT0cKsg/D1zMteylxrO3KMsz
|
31
31
|
SPQRv+nrI1J0zevFqb8010heoR8SDyUA0Mm3+Q==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: http
|
metadata.gz.sig
CHANGED
Binary file
|