telegram-bot 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +7 -7
- data/Rakefile +14 -14
- data/lib/tasks/telegram-bot.rake +5 -1
- data/lib/telegram/bot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f0e613a4546cd530c2abf33c26521740b2210ad1a4d1fedf1fc9b46be804ef
|
4
|
+
data.tar.gz: 623c0f1bfc57ce2d021be33237df291e93cde17573cbce64cf04ab53c83b14f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04aefa97d17e5d67881e9be5e291464bd04c933ff53d8b9daadd43a87d30387b38c14bf97567affe4b4ec9ef9292e7402d437aa5545bd87e6d3a833212e1d223
|
7
|
+
data.tar.gz: d279d8954013c7b6a2e6f7e923bef162f389751f5ce3e0672fc2ec7d9b8622c79125870fbc69043488e9d9933ef6967b2629c17c28321d786046109b18216fe6
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -6,15 +6,15 @@ group :development do
|
|
6
6
|
|
7
7
|
gem 'pry', '~> 0.14.1'
|
8
8
|
gem 'pry-byebug', '~> 3.10.1'
|
9
|
-
|
9
|
+
gem 'sdoc', '~> 2.0.3'
|
10
10
|
|
11
|
-
|
11
|
+
gem 'telegram-bot-types', '~> 0.6.3'
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
gem 'rspec', '~> 3.12.0'
|
14
|
+
gem 'rspec-its', '~> 1.3.0'
|
15
|
+
gem 'rspec-rails', '~> 4.0.2'
|
16
16
|
|
17
|
-
|
17
|
+
gem 'rubocop', '~> 0.52.1'
|
18
18
|
|
19
|
-
|
19
|
+
gem 'coveralls', '~> 0.8.23', require: false
|
20
20
|
end
|
data/Rakefile
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
|
-
|
2
|
+
require 'rspec/core/rake_task'
|
3
3
|
|
4
|
-
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
5
5
|
|
6
6
|
task default: :spec
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
require 'sdoc'
|
9
|
+
RDoc::Task.new(:doc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'doc'
|
11
11
|
|
12
|
-
|
12
|
+
rdoc.title = 'RailsStuff'
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
rdoc.options << '--markup' << 'markdown'
|
15
|
+
rdoc.options << '-e' << 'UTF-8'
|
16
|
+
rdoc.options << '--format' << 'sdoc'
|
17
|
+
rdoc.options << '--template' << 'rails'
|
18
|
+
rdoc.options << '--all'
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
rdoc.rdoc_files.include('README.md')
|
21
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
+
end
|
data/lib/tasks/telegram-bot.rake
CHANGED
@@ -7,7 +7,11 @@ namespace :telegram do
|
|
7
7
|
Rake::Task['environment'].invoke
|
8
8
|
if ENV.fetch('LOG_TO_STDOUT') { Rails.env.development? }.present?
|
9
9
|
console = ActiveSupport::Logger.new(STDERR)
|
10
|
-
Rails.logger.
|
10
|
+
if ::Rails.logger.respond_to?(:broadcast_to)
|
11
|
+
::Rails.logger.broadcast_to(console)
|
12
|
+
else
|
13
|
+
Rails.logger.extend ActiveSupport::Logger.broadcast console
|
14
|
+
end
|
11
15
|
end
|
12
16
|
Telegram::Bot::UpdatesPoller.start(ENV['BOT'].try!(:to_sym) || :default)
|
13
17
|
end
|
data/lib/telegram/bot/version.rb
CHANGED
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
|
+
version: 0.16.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: 2023-
|
11
|
+
date: 2023-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
182
|
+
rubygems_version: 3.3.3
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Library for building Telegram Bots with Rails integration
|