зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
Сравнить коммиты
2 Коммитов
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
225e02abb4 | ||
|
|
084ff3527b |
2
.github/workflows/ci.yml
поставляемый
2
.github/workflows/ci.yml
поставляемый
@@ -26,6 +26,8 @@ jobs:
|
||||
- gemfiles/rails_51.gemfile
|
||||
include:
|
||||
# ruby 3.x
|
||||
- ruby: '3.2'
|
||||
gemfile: gemfiles/rails_72.gemfile
|
||||
- ruby: '3.2'
|
||||
gemfile: gemfiles/rails_71.gemfile
|
||||
- ruby: '3.0'
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
appraise 'rails-72' do
|
||||
gem 'actionpack', '~> 7.2.0'
|
||||
gem 'railties', '~> 7.2.0'
|
||||
end
|
||||
|
||||
appraise 'rails-71' do
|
||||
gem 'actionpack', '~> 7.1.0'
|
||||
gem 'railties', '~> 7.1.0'
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Unreleased
|
||||
|
||||
# 0.16.4
|
||||
|
||||
- Rails 7.2 support
|
||||
- Update to Bot API 7.9
|
||||
|
||||
# 0.16.3
|
||||
|
||||
- Update to Bot API 7.7
|
||||
|
||||
21
gemfiles/rails_72.gemfile
Обычный файл
21
gemfiles/rails_72.gemfile
Обычный файл
@@ -0,0 +1,21 @@
|
||||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "actionpack", "~> 7.2.0"
|
||||
gem "railties", "~> 7.2.0"
|
||||
|
||||
group :development do
|
||||
gem "appraisal", "~> 2.2"
|
||||
gem "debug", "~> 1.9.2"
|
||||
gem "sdoc", "~> 2.0.3"
|
||||
gem "telegram-bot-types", "~> 0.6.3"
|
||||
gem "rspec", "~> 3.12.0"
|
||||
gem "rspec-its", "~> 1.3.0"
|
||||
gem "rspec-rails", "~> 4.0.2"
|
||||
gem "rubocop", "~> 1.59.0"
|
||||
gem "rubocop-rails", "~> 2.23.1"
|
||||
gem "coveralls", "~> 0.8.23", require: false
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
@@ -1,5 +1,5 @@
|
||||
# Generated with bin/fetch-telegram-methods
|
||||
# Bot API 7.7
|
||||
# Bot API 7.9
|
||||
|
||||
getUpdates
|
||||
setWebhook
|
||||
@@ -43,6 +43,8 @@ setChatPermissions
|
||||
exportChatInviteLink
|
||||
createChatInviteLink
|
||||
editChatInviteLink
|
||||
createChatSubscriptionInviteLink
|
||||
editChatSubscriptionInviteLink
|
||||
revokeChatInviteLink
|
||||
approveChatJoinRequest
|
||||
declineChatJoinRequest
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module Telegram
|
||||
module Bot
|
||||
VERSION = '0.16.3'
|
||||
VERSION = '0.16.4'
|
||||
|
||||
def self.gem_version
|
||||
Gem::Version.new VERSION
|
||||
|
||||
@@ -15,7 +15,11 @@ ENV['RAILS_ENV'] = 'test'
|
||||
class TestApplication < Rails::Application
|
||||
config.eager_load = false
|
||||
config.log_level = :debug
|
||||
config.action_dispatch.show_exceptions = false
|
||||
if ActionPack::VERSION::MAJOR >= 7 && ActionPack::VERSION::MINOR >= 2
|
||||
config.action_dispatch.show_exceptions = :none
|
||||
else
|
||||
config.action_dispatch.show_exceptions = false
|
||||
end
|
||||
routes.default_url_options = {host: 'test.rpsec'}
|
||||
|
||||
telegram_config = {
|
||||
|
||||
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
|
||||
|
||||
spec.required_ruby_version = '>= 2.4'
|
||||
|
||||
spec.add_dependency 'actionpack', '>= 4.0', '< 7.2'
|
||||
spec.add_dependency 'activesupport', '>= 4.0', '< 7.2'
|
||||
spec.add_dependency 'actionpack', '>= 4.0', '< 7.3'
|
||||
spec.add_dependency 'activesupport', '>= 4.0', '< 7.3'
|
||||
spec.add_dependency 'httpclient', '~> 2.7'
|
||||
|
||||
spec.add_development_dependency 'bundler', '> 1.16'
|
||||
|
||||
Ссылка в новой задаче
Block a user