telegram-bot 0.15.0 → 0.15.1

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: 36fa85feb323b053ce1768ed84b40d1c69d0e8fc78b5dc7aee1f699462f3b4d2
4
- data.tar.gz: 56b342a641205785fecf430bdde6601b7105f5ec3446e45f7388fe8312f77b24
3
+ metadata.gz: 113ad4cfd9374055cf8da30c1628d50929f4142177755fbeae9bff8d96381996
4
+ data.tar.gz: b161be1ea1c8509998b1421b86c96db9e8a1b6c10b6630f0bc9eea6adb806310
5
5
  SHA512:
6
- metadata.gz: cfca483374037e8bc4fdd70dd0c321c3b5bf37ac877a905acae8d93befd9c9ecdf8f537357852bbb095efbb247db9408d4cad78893fb245c0c0c8278b02463f4
7
- data.tar.gz: 39f34eda4df97c673f2f482290642a5ec186d2b0017f95f4edef28a8adef055db8f1e47504c849556b0f6ab0167326ea5fc29009279442705840afb490838bee
6
+ metadata.gz: 72d227b63dcdfb7d95fcafbb5fa564688a62433916ddad105b7a0784a65a053ddd379aac943645b1ab592ea02b3023577d15a187cbee3d3216e9227bae027405
7
+ data.tar.gz: a7449ef3e57885b7e7aa1be9ce32a2c05907401619727fe4a5acada4ace148d0bb0c7590837c8e62531daa8e1bdd2930b172ca6c566100cab6eedb4df3eac896
@@ -4,6 +4,7 @@ rvm:
4
4
  - 2.6
5
5
  - 2.5
6
6
  gemfile:
7
+ - gemfiles/rails_61.gemfile
7
8
  - gemfiles/rails_60.gemfile
8
9
  - gemfiles/rails_52.gemfile
9
10
  matrix:
@@ -20,12 +21,5 @@ matrix:
20
21
  gemfile: gemfiles/rails_52.gemfile
21
22
  - rvm: 2.3
22
23
  gemfile: gemfiles/rails_52.gemfile
23
- # future rails
24
- - rvm: 2.5
25
- gemfile: gemfiles/rails_61.gemfile
26
- # Allow rails 6.1 to fail while master branch is used
27
- allow_failures:
28
- - rvm: 2.5
29
- gemfile: gemfiles/rails_61.gemfile
30
24
  notifications:
31
25
  email: false
data/Appraisals CHANGED
@@ -1,8 +1,6 @@
1
1
  appraise 'rails-61' do
2
- git 'https://github.com/rails/rails.git' do
3
- gem 'actionpack', '~> 6.1.0.alpha'
4
- gem 'railties', '~> 6.1.0.alpha'
5
- end
2
+ gem 'actionpack', '~> 6.1.0'
3
+ gem 'railties', '~> 6.1.0'
6
4
  end
7
5
 
8
6
  appraise 'rails-60' do
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.15.1
4
+
5
+ - Rails 6.1 support.
6
+
3
7
  # 0.15.0
4
8
 
5
9
  - Add `:path` option to `telegram_webhook` route helper.
@@ -2,10 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- git "https://github.com/rails/rails.git" do
6
- gem "actionpack", "~> 6.1.0.alpha"
7
- gem "railties", "~> 6.1.0.alpha"
8
- end
5
+ gem "actionpack", "~> 6.1.0"
6
+ gem "railties", "~> 6.1.0"
9
7
 
10
8
  group :development do
11
9
  gem "appraisal", "~> 2.2"
@@ -49,7 +49,7 @@ module Telegram
49
49
  private
50
50
 
51
51
  # A hook invoked every time a before callback is halted.
52
- def halted_callback_hook(filter)
52
+ def halted_callback_hook(filter, *)
53
53
  Instrumentation.instrument(:halted_callback, filter: filter)
54
54
  end
55
55
 
@@ -1,6 +1,6 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.15.0'.freeze
3
+ VERSION = '0.15.1'.freeze
4
4
 
5
5
  def self.gem_version
6
6
  Gem::Version.new VERSION
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.required_ruby_version = '~> 2.0'
21
21
 
22
- spec.add_dependency 'actionpack', '>= 4.0', '< 6.1'
23
- spec.add_dependency 'activesupport', '>= 4.0', '< 6.1'
22
+ spec.add_dependency 'actionpack', '>= 4.0', '< 6.2'
23
+ spec.add_dependency 'activesupport', '>= 4.0', '< 6.2'
24
24
  spec.add_dependency 'httpclient', '~> 2.7'
25
25
 
26
26
  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.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Melentiev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-07 00:00:00.000000000 Z
11
+ date: 2020-12-20 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: '6.1'
22
+ version: '6.2'
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: '6.1'
32
+ version: '6.2'
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: '6.1'
42
+ version: '6.2'
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: '6.1'
52
+ version: '6.2'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: httpclient
55
55
  requirement: !ruby/object:Gem::Requirement