File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11# Unreleased
22
3+ # 0.16.6
4+
5+ - Fix poller rake task for Rails 8.0
6+
37# 0.16.5
48
59- Rails 8.0 support
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ namespace :telegram do
1515 Rails . logger . extend ActiveSupport ::Logger . broadcast console
1616 end
1717 end
18+ # Routes are not loaded by default in Rails >= 8.0.
19+ # Load them explicitly to identify a controller for a bot.
20+ Rails . application . try ( :reload_routes_unless_loaded )
1821 Telegram ::Bot ::UpdatesPoller . start ( ENV [ 'BOT' ] &.to_sym || :default )
1922 end
2023
Original file line number Diff line number Diff line change 22
33module Telegram
44 module Bot
5- VERSION = '0.16.5 '
5+ VERSION = '0.16.6 '
66
77 def self . gem_version
88 Gem ::Version . new VERSION
You can’t perform that action at this time.
0 commit comments