1
0
Fork 0

Add Telegram Bot API client

This commit is contained in:
Alex Kotov 2018-12-07 19:23:19 +05:00
parent 3435539d23
commit 7226ef163b
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
3 changed files with 35 additions and 0 deletions

View File

@ -98,6 +98,12 @@ gem 'rack-attack', '~> 5.4'
# Simple, efficient background processing for Ruby.
gem 'sidekiq', '~> 5.2'
# Library for building Telegram Bots with Rails integration.
gem 'telegram-bot', '~> 0.14'
# Virtus types for Telegram Bot API.
gem 'telegram-bot-types', '~> 0.6'
group :development, :test do
# factory_bot provides a framework and DSL for defining and using factories.
gem 'factory_bot_rails', '~> 4.10'

View File

@ -50,6 +50,10 @@ GEM
ast (2.4.0)
autoprefixer-rails (9.4.2)
execjs
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
backports (3.11.4)
bcrypt (3.1.12)
bindex (0.5.0)
@ -97,6 +101,8 @@ GEM
json
choice (0.2.0)
coderay (1.1.2)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
concurrent-ruby (1.1.3)
connection_pool (2.2.2)
coveralls (0.8.22)
@ -129,6 +135,8 @@ GEM
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1)
database_cleaner (1.7.0)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.5.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
@ -141,6 +149,7 @@ GEM
docile (1.3.1)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
equalizer (0.0.11)
erubi (1.7.1)
execjs (2.7.0)
factory_bot (4.11.1)
@ -161,8 +170,10 @@ GEM
hashie (3.5.7)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.1.1)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
interactor (3.1.1)
jaro_winkler (1.5.1)
jquery-rails (4.3.3)
@ -366,6 +377,12 @@ GEM
net-ssh (>= 2.8.0)
sshkit-interactive (0.3.0)
sshkit (~> 1.12)
telegram-bot (0.14.1)
actionpack (>= 4.0, < 6.0)
activesupport (>= 4.0, < 6.0)
httpclient (~> 2.7)
telegram-bot-types (0.6.1)
virtus (~> 1.0)
term-ansicolor (1.7.0)
tins (~> 1.0)
thor (0.19.4)
@ -383,6 +400,11 @@ GEM
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.4.0)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warden (1.2.8)
rack (>= 2.0.6)
web-console (3.7.0)
@ -448,6 +470,8 @@ DEPENDENCIES
simplecov (~> 0.16)
spring
spring-watcher-listen (~> 2.0.0)
telegram-bot (~> 0.14)
telegram-bot-types (~> 0.6)
turbolinks (~> 5)
uglifier (>= 1.3.0)
web-console (>= 3.3.0)

View File

@ -0,0 +1,5 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Telegram::Bot::Client.typed_response!