зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
Add rails 6.1 support
Этот коммит содержится в:
@@ -4,6 +4,7 @@ rvm:
|
||||
- 2.6
|
||||
- 2.5
|
||||
gemfile:
|
||||
- gemfiles/rails_61.gemfile
|
||||
- gemfiles/rails_60.gemfile
|
||||
- gemfiles/rails_52.gemfile
|
||||
matrix:
|
||||
@@ -20,12 +21,5 @@ matrix:
|
||||
gemfile: gemfiles/rails_52.gemfile
|
||||
- rvm: 2.3
|
||||
gemfile: gemfiles/rails_52.gemfile
|
||||
# future rails
|
||||
- rvm: 2.5
|
||||
gemfile: gemfiles/rails_61.gemfile
|
||||
# Allow rails 6.1 to fail while master branch is used
|
||||
allow_failures:
|
||||
- rvm: 2.5
|
||||
gemfile: gemfiles/rails_61.gemfile
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
appraise 'rails-61' do
|
||||
git 'https://github.com/rails/rails.git' do
|
||||
gem 'actionpack', '~> 6.1.0.alpha'
|
||||
gem 'railties', '~> 6.1.0.alpha'
|
||||
end
|
||||
gem 'actionpack', '~> 6.1.0'
|
||||
gem 'railties', '~> 6.1.0'
|
||||
end
|
||||
|
||||
appraise 'rails-60' do
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
git "https://github.com/rails/rails.git" do
|
||||
gem "actionpack", "~> 6.1.0.alpha"
|
||||
gem "railties", "~> 6.1.0.alpha"
|
||||
end
|
||||
gem "actionpack", "~> 6.1.0"
|
||||
gem "railties", "~> 6.1.0"
|
||||
|
||||
group :development do
|
||||
gem "appraisal", "~> 2.2"
|
||||
|
||||
@@ -49,7 +49,7 @@ module Telegram
|
||||
private
|
||||
|
||||
# A hook invoked every time a before callback is halted.
|
||||
def halted_callback_hook(filter)
|
||||
def halted_callback_hook(filter, *)
|
||||
Instrumentation.instrument(:halted_callback, filter: filter)
|
||||
end
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
||||
|
||||
spec.required_ruby_version = '~> 2.0'
|
||||
|
||||
spec.add_dependency 'actionpack', '>= 4.0', '< 6.1'
|
||||
spec.add_dependency 'activesupport', '>= 4.0', '< 6.1'
|
||||
spec.add_dependency 'actionpack', '>= 4.0', '< 6.2'
|
||||
spec.add_dependency 'activesupport', '>= 4.0', '< 6.2'
|
||||
spec.add_dependency 'httpclient', '~> 2.7'
|
||||
|
||||
spec.add_development_dependency 'bundler', '> 1.16'
|
||||
|
||||
Ссылка в новой задаче
Block a user