telegram-bot-ruby 0.8.6 → 0.8.6.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
  SHA1:
3
- metadata.gz: 873196b9f0e2e8474dc98df1583f01e744efd85d
4
- data.tar.gz: c24fcc71344050d83ed000408c079575ac8f9b20
3
+ metadata.gz: 5f762a1a969d27d58cd4f82a68f1f8bec3bf2fcb
4
+ data.tar.gz: 7a6956378a145f51f717a623d5e891408f23991e
5
5
  SHA512:
6
- metadata.gz: 5ad05605ea58721b478287e9d908dd78031b64e695df4d7a453c2c91c38e69c5ac2d37e77a41a4b412c4f90f854c01cbd071656a0ab1c69996ae84e4572b8e61
7
- data.tar.gz: 5b9498ff0189fcc397dca228041676cfce0494ce3e8909920940d693e09c01cb7f89db95e13d9bf3eb2de4e1d8c536c6ed10dfee01b4bfe4a7ee438d5588a646
6
+ metadata.gz: 64dba1319e5617384833e2960064954651be9090b2a88a925626a88edf7421e73fc600399b0cdd4f773d5da94d9c83cd4221e868773296473cadb738c0c41427
7
+ data.tar.gz: 3f71875042b1d4dffe0a192817f020d295d69d67f76dddb639a8162d581739785e5eef735db253c56882a2496a9ca398068b0471281ca1ddbb49df6b4d575393
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.6.1
4
+
5
+ - Fix #163
6
+
3
7
  ## 0.8.6
4
8
 
5
9
  - Implement [Bot API 3.5](https://core.telegram.org/bots/api#november-17-2017)
data/LICENSE CHANGED
@@ -1,14 +1,14 @@
1
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2
- Version 2, December 2004
3
-
4
- Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
5
-
6
- Everyone is permitted to copy and distribute verbatim or modified
7
- copies of this license document, and changing it is allowed as long
8
- as the name is changed.
9
-
10
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12
-
13
- 0. You just DO WHAT THE FUCK YOU WANT TO.
14
-
1
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2
+ Version 2, December 2004
3
+
4
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
5
+
6
+ Everyone is permitted to copy and distribute verbatim or modified
7
+ copies of this license document, and changing it is allowed as long
8
+ as the name is changed.
9
+
10
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12
+
13
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
14
+
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Ruby wrapper for [Telegram's Bot API](https://core.telegram.org/bots/api).
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/telegram-bot-ruby.svg)](http://badge.fury.io/rb/telegram-bot-ruby)
6
- [![Code Climate](https://codeclimate.com/github/atipugin/telegram-bot-ruby/badges/gpa.svg)](https://codeclimate.com/github/atipugin/telegram-bot-ruby)
6
+ [![Maintainability](https://api.codeclimate.com/v1/badges/7e61fbf5bec86e118fb1/maintainability)](https://codeclimate.com/github/atipugin/telegram-bot-ruby/maintainability)
7
7
  [![Build Status](https://travis-ci.org/atipugin/telegram-bot-ruby.svg?branch=master)](https://travis-ci.org/atipugin/telegram-bot-ruby)
8
8
  [![Say Thanks!](https://img.shields.io/badge/Say%20Thanks!-🦉-1EAEDB.svg)](https://saythanks.io/to/atipugin)
9
9
 
@@ -67,5 +67,7 @@ require 'telegram/bot/types/labeled_price'
67
67
  require 'telegram/bot/types/shipping_option'
68
68
  require 'telegram/bot/types/chat_member'
69
69
  require 'telegram/bot/types/user_profile_photos'
70
+ require 'telegram/bot/types/input_media_photo'
71
+ require 'telegram/bot/types/input_media_video'
70
72
 
71
73
  Virtus.finalize
@@ -2,7 +2,7 @@ module Telegram
2
2
  module Bot
3
3
  module Types
4
4
  class InputMediaPhoto < Base
5
- attribute :type, String
5
+ attribute :type, String, default: 'photo'
6
6
  attribute :media, String
7
7
  attribute :caption, String
8
8
  end
@@ -2,7 +2,7 @@ module Telegram
2
2
  module Bot
3
3
  module Types
4
4
  class InputMediaVideo < Base
5
- attribute :type, String
5
+ attribute :type, String, default: 'video'
6
6
  attribute :media, String
7
7
  attribute :caption, String
8
8
  attribute :width, Integer
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.8.6'.freeze
3
+ VERSION = '0.8.6.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegram-bot-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tipugin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-23 00:00:00.000000000 Z
11
+ date: 2017-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday