telegram-bot 0.16.5 → 0.16.6

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: d432e15939fac4d32da35e08c6d8b48267cd28b3566ec9efdbe82691cfe196e3
4
- data.tar.gz: fb17a162ca307ae94552d6e7e1743e24dfab80ceb7cbacabde132bdf3808ac83
3
+ metadata.gz: d3042f396a1305e21433237a6818cc0e107f729346473b7a995dde67ed13a195
4
+ data.tar.gz: 1352209b4426de4d58b9f794ca5e9be379a585a103be2d2327da621b9d1a4105
5
5
  SHA512:
6
- metadata.gz: '0991d40b759b4242572b762033e45572bea5845e3bc258f7463517903c8706156557c1ce4871d8c7a258cb03edb6eed8c387a7e0a036169e44f3adfd81a82eae'
7
- data.tar.gz: dad6c6119da067507d6d621c3784a214f796acb9e2ca4c595ba3deaa3fc0e080cc5cb194300420884398001831fef6a23a402a5f02e78ce652eac24f94c0187f
6
+ metadata.gz: 302326bdcfbc79773c29d3c2cc07db1cbcfeee64907fa8f326e511f45095a52ac4119467f5d931bcbf7f869730882070238675da29f552c9fa1f7dd08c4b16eb
7
+ data.tar.gz: 0d1d00a26453f03b77d27687b521450774ea2ae383384203ba14451cde1d1aa10dde46e3e0ad705043fa09d0d4fdf2a22dd617d9baf1fb0c12b0b00e7d9cdc72
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.16.6
4
+
5
+ - Fix poller rake task for Rails 8.0
6
+
3
7
  # 0.16.5
4
8
 
5
9
  - Rails 8.0 support
@@ -15,6 +15,9 @@ namespace :telegram do
15
15
  Rails.logger.extend ActiveSupport::Logger.broadcast console
16
16
  end
17
17
  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)
18
21
  Telegram::Bot::UpdatesPoller.start(ENV['BOT']&.to_sym || :default)
19
22
  end
20
23
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Telegram
4
4
  module Bot
5
- VERSION = '0.16.5'
5
+ VERSION = '0.16.6'
6
6
 
7
7
  def self.gem_version
8
8
  Gem::Version.new VERSION
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.16.5
4
+ version: 0.16.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Melentiev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2025-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack