telegram-bot 0.16.4 → 0.16.5

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: 9d521bd3b1ac9359fdfbf63ba3fc3b3042f1b225dfbd629c07e0a0b99e94495f
4
- data.tar.gz: 3848939aa4edc38938ade25dd96bd8482770af5cc01a81de0c7eaf1990f840aa
3
+ metadata.gz: d432e15939fac4d32da35e08c6d8b48267cd28b3566ec9efdbe82691cfe196e3
4
+ data.tar.gz: fb17a162ca307ae94552d6e7e1743e24dfab80ceb7cbacabde132bdf3808ac83
5
5
  SHA512:
6
- metadata.gz: a225e8163b9e1002f68dd5c94da50afdd8bba2d7cf22040285669bbb21f8b32ad6b802c338fdc4e15b980574f9bff883e0638b8959e0fe44c244dc2426ea9c44
7
- data.tar.gz: 1df1dbb4eb3c24a9e08dc72f36a7caf3672b0c869638fd9e86501584cd8909c6babdc8678b7d2f95945ec62edc7849788fcb4b0553b15cf9892cf5ee027fa62e
6
+ metadata.gz: '0991d40b759b4242572b762033e45572bea5845e3bc258f7463517903c8706156557c1ce4871d8c7a258cb03edb6eed8c387a7e0a036169e44f3adfd81a82eae'
7
+ data.tar.gz: dad6c6119da067507d6d621c3784a214f796acb9e2ca4c595ba3deaa3fc0e080cc5cb194300420884398001831fef6a23a402a5f02e78ce652eac24f94c0187f
@@ -26,6 +26,8 @@ jobs:
26
26
  - gemfiles/rails_51.gemfile
27
27
  include:
28
28
  # ruby 3.x
29
+ - ruby: '3.2'
30
+ gemfile: gemfiles/rails_80.gemfile
29
31
  - ruby: '3.2'
30
32
  gemfile: gemfiles/rails_72.gemfile
31
33
  - ruby: '3.2'
data/Appraisals CHANGED
@@ -1,5 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ appraise 'rails-80' do
4
+ gem 'actionpack', '~> 8.0.0'
5
+ gem 'railties', '~> 8.0.0'
6
+ end
7
+
3
8
  appraise 'rails-72' do
4
9
  gem 'actionpack', '~> 7.2.0'
5
10
  gem 'railties', '~> 7.2.0'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.16.5
4
+
5
+ - Rails 8.0 support
6
+ - Update to Bot API 8.0
7
+
3
8
  # 0.16.4
4
9
 
5
10
  - Rails 7.2 support
@@ -0,0 +1,21 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 8.0.0"
6
+ gem "railties", "~> 8.0.0"
7
+
8
+ group :development do
9
+ gem "appraisal", "~> 2.2"
10
+ gem "debug", "~> 1.9.2"
11
+ gem "sdoc", "~> 2.0.3"
12
+ gem "telegram-bot-types", "~> 0.6.3"
13
+ gem "rspec", "~> 3.12.0"
14
+ gem "rspec-its", "~> 1.3.0"
15
+ gem "rspec-rails", "~> 4.0.2"
16
+ gem "rubocop", "~> 1.59.0"
17
+ gem "rubocop-rails", "~> 2.23.1"
18
+ gem "coveralls", "~> 0.8.23", require: false
19
+ end
20
+
21
+ gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # Generated with bin/fetch-telegram-methods
2
- # Bot API 7.9
2
+ # Bot API 8.0
3
3
 
4
4
  getUpdates
5
5
  setWebhook
@@ -31,6 +31,7 @@ sendDice
31
31
  sendChatAction
32
32
  setMessageReaction
33
33
  getUserProfilePhotos
34
+ setUserEmojiStatus
34
35
  getFile
35
36
  banChatMember
36
37
  unbanChatMember
@@ -118,9 +119,12 @@ setStickerSetTitle
118
119
  setStickerSetThumbnail
119
120
  setCustomEmojiStickerSetThumbnail
120
121
  deleteStickerSet
122
+ getAvailableGifts
123
+ sendGift
121
124
 
122
125
  answerInlineQuery
123
126
  answerWebAppQuery
127
+ savePreparedInlineMessage
124
128
 
125
129
  sendInvoice
126
130
  createInvoiceLink
@@ -128,6 +132,7 @@ answerShippingQuery
128
132
  answerPreCheckoutQuery
129
133
  getStarTransactions
130
134
  refundStarPayment
135
+ editUserStarSubscription
131
136
 
132
137
  setPassportDataErrors
133
138
 
@@ -105,6 +105,7 @@ module Telegram
105
105
  callback_query
106
106
  shipping_query
107
107
  pre_checkout_query
108
+ purchased_paid_media
108
109
  poll
109
110
  poll_answer
110
111
  my_chat_member
@@ -112,7 +113,6 @@ module Telegram
112
113
  chat_join_request
113
114
  chat_boost
114
115
  removed_chat_boost
115
- pre_checkout_query
116
116
  ].freeze)
117
117
 
118
118
  class << self
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Telegram
4
4
  module Bot
5
- VERSION = '0.16.4'
5
+ VERSION = '0.16.5'
6
6
 
7
7
  def self.gem_version
8
8
  Gem::Version.new VERSION
data/telegram-bot.gemspec CHANGED
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.required_ruby_version = '>= 2.4'
27
27
 
28
- spec.add_dependency 'actionpack', '>= 4.0', '< 7.3'
29
- spec.add_dependency 'activesupport', '>= 4.0', '< 7.3'
28
+ spec.add_dependency 'actionpack', '>= 4.0', '< 8.1'
29
+ spec.add_dependency 'activesupport', '>= 4.0', '< 8.1'
30
30
  spec.add_dependency 'httpclient', '~> 2.7'
31
31
 
32
32
  spec.add_development_dependency 'bundler', '> 1.16'
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.4
4
+ version: 0.16.5
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-08-30 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.3'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.3'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.3'
42
+ version: '8.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '4.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7.3'
52
+ version: '8.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: httpclient
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,7 @@ files:
122
122
  - gemfiles/rails_70.gemfile
123
123
  - gemfiles/rails_71.gemfile
124
124
  - gemfiles/rails_72.gemfile
125
+ - gemfiles/rails_80.gemfile
125
126
  - lib/tasks/telegram-bot.rake
126
127
  - lib/telegram/bot.rb
127
128
  - lib/telegram/bot/async.rb
@@ -181,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
182
  - !ruby/object:Gem::Version
182
183
  version: '0'
183
184
  requirements: []
184
- rubygems_version: 3.3.3
185
+ rubygems_version: 3.4.19
185
186
  signing_key:
186
187
  specification_version: 4
187
188
  summary: Library for building Telegram Bots with Rails integration