telegram-ruby 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/telegram/bot/client.rb +1 -1
- data/lib/telegram/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7533e24832aa9f7ec818f5536f1bf8c8b0957dd712ad8e92b9e90860ff21c8bf
|
4
|
+
data.tar.gz: cb7e6877c72be165e5042c0f3198c228c939ed7995b0d985e8ed179dcee6a9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 672c7a66b3a9859852194daf1c0ed7da7009c0aaced7109becb81352ad8bbf9928ac94a023c6c864361b8e5d64f23a379d19dbf9dfb01ff4874d3e83426c9063
|
7
|
+
data.tar.gz: 306ef69d1c49f3dde32b597ea3676cb14050e558bdc4ec6807416cc313416bfcadf213e27ab0ae87fdf74f58dd032cc4b15f14bd824c545176e7f93679611352
|
data/CHANGELOG.md
CHANGED
data/lib/telegram/bot/client.rb
CHANGED
@@ -48,7 +48,7 @@ module Telegram::Bot
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def pull_command(text)
|
51
|
-
text = text.gsub(Telegram::Bot.configuration.name, '') if Telegram::Bot.configuration.name
|
51
|
+
text = text.gsub(Telegram::Bot.configuration.name, '') if Telegram::Bot.configuration.name && !text.nil?
|
52
52
|
!text.nil? && text.index('/') == 0 ? text.downcase.split(' ').first.gsub('/', '') : nil
|
53
53
|
end
|
54
54
|
end
|
data/lib/telegram/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegram-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Belenky
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|