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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 346a299cac50693e640fa05f84230a3b287b8d5e
4
- data.tar.gz: 72b1b56a15773f289c294f7c511e75feb5e3560d
3
+ metadata.gz: 9603d0da9b1504486481aae28108fd3b6d6e1d24
4
+ data.tar.gz: bebe0f345ad01dfdd47d25287c3ce800f6fc6faa
5
5
  SHA512:
6
- metadata.gz: 7bae1c4f717dfdb9f858ef37f14b96c2b09f4386eea894d4b204188cc1dc00c597d5daf32465356f16155fa105343d89ce7a63a4c32b01e730c58251a11fbe9e
7
- data.tar.gz: 38a2b016b63e6a24f3d5a2b608dfde18f5d91662d478e3de3fc15f6095215e20be60e844dd3b7fc1335b376deb404c128031281467c00d0c41922f184a36fd4c
6
+ metadata.gz: b415a2807339c5e7a291c1cae2824976bba2169dd1e2d3a7c0c14d314c273672ccd134aee7b1d2b9cf77cd97653b8d578e842af5bdfc028c0f341348251655ee
7
+ data.tar.gz: 75659ae92f5b617ab763c85f638f06bf18f91f2f98fe80e8b05542fe79e718657a7ac917d89715c162e961b786eebcba2db6976bdd29696d9bc6d5fe54f78f71
@@ -3,6 +3,7 @@ require 'virtus'
3
3
  require 'json'
4
4
 
5
5
  require "telegram_bot/version"
6
+ require "telegram_bot/null_logger"
6
7
  require "telegram_bot/user"
7
8
  require "telegram_bot/group_chat"
8
9
  require "telegram_bot/channel"
@@ -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] || NullLoger.new
14
+ @logger = opts[:logger] || NullLogger.new
15
15
  @connection = Excon.new(ENDPOINT, persistent: true)
16
16
  end
17
17
 
@@ -1,7 +1,7 @@
1
1
  require 'logger'
2
2
 
3
3
  module TelegramBot
4
- class NullLoger < Logger
4
+ class NullLogger < Logger
5
5
  def initialize(*args)
6
6
  end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module TelegramBot
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-01 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon