telegram-bot-ruby 0.10.0 → 0.10.1

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
  SHA256:
3
- metadata.gz: 10b08d6e4ab8db2fcd52c26a0bc871a6b6556c66a679975b0cb0c2aff2ec3ec0
4
- data.tar.gz: 71a79a882580cafbfbfff67a1452056d7c408bf1f8c0b63c10e3059699bd2757
3
+ metadata.gz: a87221e415aba44c089fa62eb3d564c3c8bbe8f316e54e3d43d588a63acaff7b
4
+ data.tar.gz: 9684c05063fd9df14820b6b6e38e9de8301588c693ada65cfba718a5a9265f63
5
5
  SHA512:
6
- metadata.gz: 7e8254cb8c082dc59d841245f96de36bc970b28576a484f30382b3098852429442b766c952732485f81cf8f5418d6a3297b2264a7cbafba79712b3d56932df87
7
- data.tar.gz: db7a9f37980757f080a944265ea14f25ec38cbb062df350aad4698ee173893ce95a493bbcd2e74db391f3f08a6b013393b85b2e9f6e46247785ec110df2f5308
6
+ metadata.gz: e352351f200f9b5d868132ba54d82ceb2842ead6383f2bd65a16ce42a895d6b80347273638f812b90842a88f053d93e727af9bed29162fbd3d76798520309694
7
+ data.tar.gz: 659407229bbcfd9e9d30ce5dc202597e6571271883ea0bc83ca7d755092762825e25942d325618f8bcffe75935c703ea2ab5c2a494ec6c1df954508a84197644
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.1
4
+
5
+ - Fix issue #202 with `Poll` messages and logging
6
+
3
7
  ## 0.10.0
4
8
 
5
9
  - Implement [Bot API 4.3](https://core.telegram.org/bots/api#may-31-2019)
@@ -53,7 +53,7 @@ module Telegram
53
53
  end
54
54
 
55
55
  def log_incoming_message(message)
56
- uid = message.from ? message.from.id : nil
56
+ uid = message.respond_to?(:from) && message.from ? message.from.id : nil
57
57
  logger.info(
58
58
  format('Incoming message: text="%s" uid=%s', message, uid)
59
59
  )
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.10.0'.freeze
3
+ VERSION = '0.10.1'.freeze
4
4
  end
5
5
  end
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.10.0
4
+ version: 0.10.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: 2019-06-01 00:00:00.000000000 Z
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday