atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 218 forks source link

/home/pi/.gem/gems/telegram-bot-ruby-0.11.0/lib/telegram/bot/client.rb:40: warning: constant ::TimeoutError is deprecated #210

Closed phykos closed 4 years ago

phykos commented 4 years ago

I developed a bot for dumping what the bot sees and send it as a JSON file into a chat, and then delete it. when I runned ruby -C bot.rb it says:

Traceback (most recent call last):
/snap/ruby/168/bin/ruby: Can't chdir to bot.rb (fatal)

that may be because Ruby 2.7.0 installed from Snap may have a little bit of bugs, but on my phone (Ruby 2.6.5, Termux) it's fine.

that being said, it seems like a Faraday has upgraded its modules and stuff and the library won't actually work

ivanovaleksey commented 4 years ago

@phykos what is the version of Faraday in your project?

atipugin commented 4 years ago

Message in the title only warns about deprecated const usage. Btw it's been fixed in v0.12.

phykos commented 4 years ago

Message in the title only warns about deprecated const usage. Btw it's been fixed in v0.12.

Thx!