telegram_bot 0.0.3 → 0.0.4
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.rb +1 -0
- data/lib/telegram_bot/bot.rb +1 -1
- data/lib/telegram_bot/null_logger.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: 9603d0da9b1504486481aae28108fd3b6d6e1d24
|
4
|
+
data.tar.gz: bebe0f345ad01dfdd47d25287c3ce800f6fc6faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b415a2807339c5e7a291c1cae2824976bba2169dd1e2d3a7c0c14d314c273672ccd134aee7b1d2b9cf77cd97653b8d578e842af5bdfc028c0f341348251655ee
|
7
|
+
data.tar.gz: 75659ae92f5b617ab763c85f638f06bf18f91f2f98fe80e8b05542fe79e718657a7ac917d89715c162e961b786eebcba2db6976bdd29696d9bc6d5fe54f78f71
|
data/lib/telegram_bot.rb
CHANGED
data/lib/telegram_bot/bot.rb
CHANGED
@@ -11,7 +11,7 @@ module TelegramBot
|
|
11
11
|
@token = opts.fetch(:token)
|
12
12
|
@timeout = opts[:timeout] || 50
|
13
13
|
@offset = opts[:offset] || 0
|
14
|
-
@logger = opts[:logger] ||
|
14
|
+
@logger = opts[:logger] || NullLogger.new
|
15
15
|
@connection = Excon.new(ENDPOINT, persistent: true)
|
16
16
|
end
|
17
17
|
|
data/lib/telegram_bot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telegram_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Tomás Albornoz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|