telegram-bot-types 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +4 -0
  5. data/.travis.yml +6 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +42 -0
  9. data/Rakefile +5 -0
  10. data/bin/console +7 -0
  11. data/bin/git-hooks/pre-commit +14 -0
  12. data/bin/install_git_hooks +8 -0
  13. data/bin/setup +8 -0
  14. data/lib/telegram/bot/types.rb +29 -0
  15. data/lib/telegram/bot/types/audio.rb +14 -0
  16. data/lib/telegram/bot/types/base.rb +11 -0
  17. data/lib/telegram/bot/types/chat.rb +14 -0
  18. data/lib/telegram/bot/types/chosen_inline_result.rb +13 -0
  19. data/lib/telegram/bot/types/contact.rb +12 -0
  20. data/lib/telegram/bot/types/document.rb +13 -0
  21. data/lib/telegram/bot/types/file.rb +11 -0
  22. data/lib/telegram/bot/types/force_reply.rb +10 -0
  23. data/lib/telegram/bot/types/inline_query.rb +14 -0
  24. data/lib/telegram/bot/types/inline_query_result_article.rb +21 -0
  25. data/lib/telegram/bot/types/inline_query_result_gif.rb +19 -0
  26. data/lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb +19 -0
  27. data/lib/telegram/bot/types/inline_query_result_photo.rb +20 -0
  28. data/lib/telegram/bot/types/inline_query_result_video.rb +21 -0
  29. data/lib/telegram/bot/types/location.rb +10 -0
  30. data/lib/telegram/bot/types/message.rb +33 -0
  31. data/lib/telegram/bot/types/photo_size.rb +12 -0
  32. data/lib/telegram/bot/types/reply_keyboard_hide.rb +10 -0
  33. data/lib/telegram/bot/types/reply_keyboard_markup.rb +12 -0
  34. data/lib/telegram/bot/types/sticker.rb +13 -0
  35. data/lib/telegram/bot/types/update.rb +12 -0
  36. data/lib/telegram/bot/types/user.rb +12 -0
  37. data/lib/telegram/bot/types/user_profile_photos.rb +10 -0
  38. data/lib/telegram/bot/types/version.rb +11 -0
  39. data/lib/telegram/bot/types/video.rb +15 -0
  40. data/lib/telegram/bot/types/voice.rb +12 -0
  41. data/telegram-bot-types.gemspec +31 -0
  42. metadata +198 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 255070c993896965d846efc0581ee87b3c07a9c9
4
+ data.tar.gz: 9d952c8ce6d299f505bdbe7353384ebce5357060
5
+ SHA512:
6
+ metadata.gz: 2697c41c1ddb8fe1e2e7448049f14ccd29a82b396cfc24e3ecc9a127c37d5b2ba5748e9cb2e39e217287ef3b671eeee68951956af14988f0ef74e513033c3949
7
+ data.tar.gz: 108f81b906a8fbcb49379f9d3ffbf5c0bcb8b3c0b70f4ddcd20b36a0ee60fb38d8dfe387803415821e1c49fe78f5bdfc62a12bc5b46591950f0b06ab770e0a99
@@ -0,0 +1,5 @@
1
+ Gemfile.lock
2
+
3
+ .bundle/
4
+ pkg/
5
+ vendor/bundle/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -0,0 +1,4 @@
1
+ Metrics/LineLength: {Max: 100}
2
+ Style/Alias: {EnforcedStyle: prefer_alias_method}
3
+ Style/Documentation: {Enabled: false}
4
+ Style/TrailingCommaInLiteral: {EnforcedStyleForMultiline: comma}
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ cache: bundler
3
+ rvm:
4
+ - 2.2.3
5
+ notifications:
6
+ email: false
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Max Melentiev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,42 @@
1
+ # Telegram::Bot::Types
2
+
3
+ Virtus types for Telegram Bot API.
4
+
5
+ [![Gem Version](https://badge.fury.io/rb/telegram-bot-types.svg)](http://badge.fury.io/rb/telegram-bot-types)
6
+ [![Build Status](https://travis-ci.org/telegram-bot-rb/telegram-bot-types.svg)](https://travis-ci.org/telegram-bot-rb/telegram-bot-types)
7
+
8
+ ## Installation
9
+
10
+ Add following line to your Gemfile:
11
+
12
+ ```ruby
13
+ gem 'telegram-bot-types'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ ```shell
19
+ $ bundle
20
+ ```
21
+
22
+ Or install it system-wide:
23
+
24
+ ```shell
25
+ $ gem install telegram-bot-types
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```ruby
31
+ updates = bot.get_updates.map do |x|
32
+ Telegram::Bot::Types::Update.new(x)
33
+ end
34
+ ```
35
+
36
+ ## Contributing
37
+
38
+ 1. Fork it
39
+ 2. Create your feature branch (git checkout -b my-new-feature)
40
+ 3. Commit your changes (git commit -am 'Add some feature')
41
+ 4. Push to the branch (git push origin my-new-feature)
42
+ 5. Create new Pull Request
@@ -0,0 +1,5 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'telegram/bot/types'
5
+
6
+ require 'pry'
7
+ Pry.start
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ pattern=$(echo -n '\.rb
4
+ \.gemspec
5
+ \.jbuilder
6
+ \.rake
7
+ config\.ru
8
+ Gemfile
9
+ Rakefile' | tr "\\n" '|')
10
+
11
+ files=`git diff --cached --name-status | grep -E "^[AM].*($pattern)$" | cut -f2-`
12
+ if [ -n "$files" ]; then
13
+ bundle exec rubocop $files --force-exclusion
14
+ fi
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ root = File.expand_path('../../', __FILE__)
4
+ hooks_dir = "#{root}/bin/git-hooks"
5
+
6
+ `ls -1 #{hooks_dir}`.each_line.map(&:strip).each do |file|
7
+ `ln -sf #{hooks_dir}/#{file} #{root}/.git/hooks/#{file}`
8
+ end
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+ bin/install_git_hooks
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,29 @@
1
+ %w(
2
+ base
3
+ user
4
+ audio
5
+ photo_size
6
+ user_profile_photos
7
+ document
8
+ sticker
9
+ video
10
+ voice
11
+ contact
12
+ location
13
+ chat
14
+ message
15
+ inline_query
16
+ inline_query_result_article
17
+ inline_query_result_photo
18
+ inline_query_result_gif
19
+ inline_query_result_mpeg4_gif
20
+ inline_query_result_video
21
+ chosen_inline_result
22
+ update
23
+ reply_keyboard_markup
24
+ reply_keyboard_hide
25
+ force_reply
26
+ file
27
+ ).each do |type|
28
+ require "telegram/bot/types/#{type}"
29
+ end
@@ -0,0 +1,14 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Audio < Base
5
+ attribute :file_id, String
6
+ attribute :duration, Integer
7
+ attribute :performer, String
8
+ attribute :title, String
9
+ attribute :mime_type, String
10
+ attribute :file_size, Integer
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,11 @@
1
+ require 'virtus'
2
+
3
+ module Telegram
4
+ module Bot
5
+ module Types
6
+ class Base
7
+ include Virtus.model
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Chat < Base
5
+ attribute :id, Integer
6
+ attribute :type, String
7
+ attribute :title, String
8
+ attribute :username, String
9
+ attribute :first_name, String
10
+ attribute :last_name, String
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,13 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class ChosenInlineResult < Base
5
+ attribute :result_id, String
6
+ attribute :from, User
7
+ attribute :query, String
8
+
9
+ alias_method :to_s, :query
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Contact < Base
5
+ attribute :phone_number, String
6
+ attribute :first_name, String
7
+ attribute :last_name, String
8
+ attribute :user_id, Integer
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Document < Base
5
+ attribute :file_id, String
6
+ attribute :thumb, PhotoSize
7
+ attribute :file_name, String
8
+ attribute :mime_type, String
9
+ attribute :file_size, Integer
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class File < Base
5
+ attribute :file_id, String
6
+ attribute :file_size, Integer
7
+ attribute :file_path, String
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class ForceReply < Base
5
+ attribute :force_reply, Boolean
6
+ attribute :selective, Boolean, default: false
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,14 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQuery < Base
5
+ attribute :id, String
6
+ attribute :from, User
7
+ attribute :query, String
8
+ attribute :offset, String
9
+
10
+ alias_method :to_s, :query
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,21 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQueryResultArticle < Base
5
+ attribute :type, String, default: 'article'
6
+ attribute :id, String
7
+ attribute :title, String
8
+ attribute :message_text, String
9
+ attribute :parse_mode, String
10
+ attribute :parse_mode, String
11
+ attribute :disable_web_page_preview, Boolean
12
+ attribute :url, String
13
+ attribute :hide_url, Boolean
14
+ attribute :description, String
15
+ attribute :thumb_url, String
16
+ attribute :thumb_width, Integer
17
+ attribute :thumb_height, Integer
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQueryResultGif < Base
5
+ attribute :type, String, default: 'gif'
6
+ attribute :id, String
7
+ attribute :gif_url, String
8
+ attribute :gif_width, Integer
9
+ attribute :gif_height, Integer
10
+ attribute :thumb_url, String
11
+ attribute :title, String
12
+ attribute :caption, String
13
+ attribute :message_text, String
14
+ attribute :parse_mode, String
15
+ attribute :disable_web_page_preview, Boolean
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQueryResultMpeg4Gif < Base
5
+ attribute :type, String, default: 'mpeg4_gif'
6
+ attribute :id, String
7
+ attribute :mpeg4_url, String
8
+ attribute :mpeg4_width, Integer
9
+ attribute :mpeg4_height, Integer
10
+ attribute :thumb_url, String
11
+ attribute :title, String
12
+ attribute :caption, String
13
+ attribute :message_text, String
14
+ attribute :parse_mode, String
15
+ attribute :disable_web_page_preview, Boolean
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQueryResultPhoto < Base
5
+ attribute :type, String, default: 'photo'
6
+ attribute :id, String
7
+ attribute :photo_url, String
8
+ attribute :photo_width, Integer
9
+ attribute :photo_height, Integer
10
+ attribute :thumb_url, String
11
+ attribute :title, String
12
+ attribute :description, String
13
+ attribute :caption, String
14
+ attribute :message_text, String
15
+ attribute :parse_mode, String
16
+ attribute :disable_web_page_preview, Boolean
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,21 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class InlineQueryResultVideo < Base
5
+ attribute :type, String, default: 'video'
6
+ attribute :id, String
7
+ attribute :video_url, String
8
+ attribute :mime_type, String
9
+ attribute :message_text, String
10
+ attribute :parse_mode, String
11
+ attribute :disable_web_page_preview, Boolean
12
+ attribute :video_width, Integer
13
+ attribute :video_height, Integer
14
+ attribute :video_duration, Integer
15
+ attribute :thumb_url, String
16
+ attribute :title, String
17
+ attribute :description, String
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Location < Base
5
+ attribute :longitude, Float
6
+ attribute :latitude, Float
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,33 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Message < Base
5
+ attribute :message_id, Integer
6
+ attribute :from, User
7
+ attribute :date, Integer
8
+ attribute :forward_from, User
9
+ attribute :forward_date, Integer
10
+ attribute :reply_to_message, Message
11
+ attribute :text, String
12
+ attribute :audio, Audio
13
+ attribute :document, Document
14
+ attribute :photo, [PhotoSize]
15
+ attribute :sticker, Sticker
16
+ attribute :video, Video
17
+ attribute :voice, Voice
18
+ attribute :caption, String
19
+ attribute :contact, Contact
20
+ attribute :location, Location
21
+ attribute :new_chat_participant, User
22
+ attribute :left_chat_participant, User
23
+ attribute :new_chat_title, String
24
+ attribute :new_chat_photo, [PhotoSize]
25
+ attribute :delete_chat_photo, Boolean
26
+ attribute :group_chat_created, Boolean
27
+ attribute :chat, Chat
28
+
29
+ alias_method :to_s, :text
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class PhotoSize < Base
5
+ attribute :file_id, String
6
+ attribute :width, Integer
7
+ attribute :height, Integer
8
+ attribute :file_size, Integer
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class ReplyKeyboardHide < Base
5
+ attribute :hide_keyboard, Boolean
6
+ attribute :selective, Boolean, default: false
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class ReplyKeyboardMarkup < Base
5
+ attribute :keyboard, [[String]]
6
+ attribute :resize_keyboard, Boolean, default: false
7
+ attribute :one_time_keyboard, Boolean, default: false
8
+ attribute :selective, Boolean, default: false
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Sticker < Base
5
+ attribute :file_id, String
6
+ attribute :width, Integer
7
+ attribute :height, Integer
8
+ attribute :thumb, PhotoSize
9
+ attribute :file_size, Integer
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Update < Base
5
+ attribute :update_id, Integer
6
+ attribute :message, Message
7
+ attribute :inline_query, InlineQuery
8
+ attribute :chosen_inline_result, ChosenInlineResult
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class User < Base
5
+ attribute :id, Integer
6
+ attribute :first_name, String
7
+ attribute :last_name, String
8
+ attribute :username, String
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class UserProfilePhotos < Base
5
+ attribute :total_count, Integer
6
+ attribute :first_name, [[PhotoSize]]
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ VERSION = '0.2.0'.freeze
5
+
6
+ def self.gem_version
7
+ Gem::Version.new VERSION
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,15 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Video < Base
5
+ attribute :file_id, String
6
+ attribute :width, Integer
7
+ attribute :height, Integer
8
+ attribute :duration, Integer
9
+ attribute :thumb, PhotoSize
10
+ attribute :mime_type, String
11
+ attribute :file_size, Integer
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,12 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class Voice < Base
5
+ attribute :file_id, String
6
+ attribute :duration, Integer
7
+ attribute :mime_type, String
8
+ attribute :file_size, Integer
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,31 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'telegram/bot/types/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'telegram-bot-types'
8
+ spec.version = Telegram::Bot::Types::VERSION
9
+ spec.authors = ['Alexander Tipugin', 'Max Melentiev']
10
+ spec.email = ['atipugin@gmail.com', 'melentievm@gmail.com']
11
+
12
+ spec.summary = 'Virtus types for Telegram Bot API'
13
+ spec.homepage = 'https://github.com/telegram-bot-rb/telegram-bot-types'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'virtus', '~> 1.0'
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.9'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rspec', '~> 3.3'
26
+ spec.add_development_dependency 'rspec-its', '~> 1.1'
27
+ spec.add_development_dependency 'activesupport', '~> 4.0'
28
+
29
+ spec.add_development_dependency 'pry', '~> 0.10'
30
+ spec.add_development_dependency 'rubocop', '~> 0.37.0'
31
+ end
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: telegram-bot-types
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Tipugin
8
+ - Max Melentiev
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2016-02-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: virtus
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.9'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.9'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rake
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '10.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '10.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rspec
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.3'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec-its
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.1'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.1'
84
+ - !ruby/object:Gem::Dependency
85
+ name: activesupport
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '4.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '4.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: pry
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '0.10'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.10'
112
+ - !ruby/object:Gem::Dependency
113
+ name: rubocop
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: 0.37.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: 0.37.0
126
+ description:
127
+ email:
128
+ - atipugin@gmail.com
129
+ - melentievm@gmail.com
130
+ executables: []
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - ".gitignore"
135
+ - ".rspec"
136
+ - ".rubocop.yml"
137
+ - ".travis.yml"
138
+ - Gemfile
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - bin/console
143
+ - bin/git-hooks/pre-commit
144
+ - bin/install_git_hooks
145
+ - bin/setup
146
+ - lib/telegram/bot/types.rb
147
+ - lib/telegram/bot/types/audio.rb
148
+ - lib/telegram/bot/types/base.rb
149
+ - lib/telegram/bot/types/chat.rb
150
+ - lib/telegram/bot/types/chosen_inline_result.rb
151
+ - lib/telegram/bot/types/contact.rb
152
+ - lib/telegram/bot/types/document.rb
153
+ - lib/telegram/bot/types/file.rb
154
+ - lib/telegram/bot/types/force_reply.rb
155
+ - lib/telegram/bot/types/inline_query.rb
156
+ - lib/telegram/bot/types/inline_query_result_article.rb
157
+ - lib/telegram/bot/types/inline_query_result_gif.rb
158
+ - lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb
159
+ - lib/telegram/bot/types/inline_query_result_photo.rb
160
+ - lib/telegram/bot/types/inline_query_result_video.rb
161
+ - lib/telegram/bot/types/location.rb
162
+ - lib/telegram/bot/types/message.rb
163
+ - lib/telegram/bot/types/photo_size.rb
164
+ - lib/telegram/bot/types/reply_keyboard_hide.rb
165
+ - lib/telegram/bot/types/reply_keyboard_markup.rb
166
+ - lib/telegram/bot/types/sticker.rb
167
+ - lib/telegram/bot/types/update.rb
168
+ - lib/telegram/bot/types/user.rb
169
+ - lib/telegram/bot/types/user_profile_photos.rb
170
+ - lib/telegram/bot/types/version.rb
171
+ - lib/telegram/bot/types/video.rb
172
+ - lib/telegram/bot/types/voice.rb
173
+ - telegram-bot-types.gemspec
174
+ homepage: https://github.com/telegram-bot-rb/telegram-bot-types
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubyforge_project:
194
+ rubygems_version: 2.4.6
195
+ signing_key:
196
+ specification_version: 4
197
+ summary: Virtus types for Telegram Bot API
198
+ test_files: []