telegram-bot-ruby 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telegram/bot/api.rb +1 -1
- data/lib/telegram/bot/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: 864f978adbd745d97ee13da3c59c4d30a1129f74
|
4
|
+
data.tar.gz: 29369f1b2826ca4da0b597e813e87e41a3686f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f63b965d976674725b4f7dd06b39bb2c21fb8f681ca3a314f59c90063270208f32102656deacb6d5ee54f4084ad078ce4ba64213928b607f934ef1d82d3ccf
|
7
|
+
data.tar.gz: ace8addeb02d5b71f788d68b22405f180b7ff661d89fc737bfdba1bd7dd600f5483f2f869099afcee28cb1855ece2e725fa7f9e2b56eb2af094602721a1b9c90
|
data/lib/telegram/bot/api.rb
CHANGED
@@ -69,7 +69,7 @@ module Telegram
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def jsonify_inline_query_results(value)
|
72
|
-
return value unless Array
|
72
|
+
return value unless value.is_a?(Array) && value.all? { |i| INLINE_QUERY_RESULT_TYPES.include?(i.class) }
|
73
73
|
value.map { |i| i.to_h.select { |_, v| v } }.to_json
|
74
74
|
end
|
75
75
|
|
data/lib/telegram/bot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegram-bot-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tipugin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httmultiparty
|